...
Code Block |
---|
|
./opCharts-3.4.0.run -- -t /opt/opmantek/omk -x /opt/opmantek/nmis |
Proceed through the install as you would regularly.
...
Code Block |
---|
|
systemctl daemon-reload
systemctl restart omkd
systemctl restart opchartsd |
TopN
This plugin helps opCharts calculate TopN, you will need to change the exportprogram to your OMK install dir
Code Block |
---|
language | bash |
---|
title | /opt/opmantek/nmis/conf/plugins/TopNExport.pm |
---|
|
my $exportprogram="/opt/opmantek/omk/bin/nmis_topn_export.exe"; |
InterfacesExport
This plugin helps keep opCharts updated with the latest interface information, its currently hard coded to use /usr/local/omk, you will need to change this to your OMK install dir.
Code Block |
---|
language | bash |
---|
title | /opt/opmantek/nmis/conf/plugins/InterfaceExport.pm |
---|
|
my $exportprogram="/usr/local/omk/bin/opcharts-cli.pl"; |
NMISLogs
opCharts and opEvents make use of events generated by NMIS, we need to tell it the base dir of where these logs are currently being written to. Note this location is configurable in NMIS Conf so your location may differ from our example.
Code Block |
---|
language | bash |
---|
title | /opt/opmantek/nmis/conf/plugins/InterfaceExport.pm |
---|
|
/opt/opmantek/omk/bin/patch_config.pl ../conf/opCommon.nmis /nmis/'<nmis_logs>'=/opt/opmantek/nmis/log |