...
The NOC team of a service provider needed to get very specific alerts sent to their instance of NetCool from NMIS.
This solution leverages the nocSyslog.nmis from the related solution.
Requirement
- every X period of time, 5-15 minutes they want to collect the average interface utilisation for every interface being collected
- the average input and output interface utilisation will be calculated for the last X period of time 5 mins to X hours
- the highest utilisation of input or output will be selected, this is the interface utilisation
- the interface utilisation will be compared to a threshold level (should this be static or multi-level, e.g. just use the existing NMIS threshold values or other values)
- if the interface utilisation exceeds the threshold a special NOC event will be created.
- this can be the same as the existing NMIS events, but it needs to include the group name for the node
- all the regular features of NMIS interface alerts are excepted, which would include adding the interface description, bandwidth of the interface and the values of the threshold.
...
A good option to install is to create a util folder e.g. /usr/local/nmis9/util and then create a symbolic link so the file will run with the correct paths, and copy the nocSyslog.nmis to the NMIS9 conf folder
Some handy commands (sudo might be required):
Code Block |
---|
sudo mkdir /usr/local/nmis9/util sudo ln -s /usr/local/nmis9/contrib/interface_util_alerts/interface_util_alerts.pl /usr/local/nmis9/util/interface_util_alerts.pl lnsudo -s cp /usr/local/nmis9/contrib/interfacenoc_utilnetcool_alertssyslog/nocSyslog.nmis /usr/local/nmis9/conf sudo /usr/local/nmis9/bin/nmis-cli act=fixperms |
Update nocSyslog.nmis with your needed config, the options should be self explanatory except for extra_logging, which if enabled will give you some logging to nmis.log with when events are sent over syslog to NetCool.
...