Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@stevegoossens
Favorites0
Views
Projects0
Have spent most of the day trying to get various bandwidth monitors working for a linux machine, and this is excellent. Just one small bug. The following line is executed without debug mode being requested: print "$ifdescr = $key / $snmpkey n"; #debug For me, this results in the first line of the status text to be: eth0 = 1.3.6.1.2.1.2.2.1.2.2 / 2 and the following actual lines aren't displayed in the host service list (Service Status Details For Host), only when drilling down to the specific service (Service State Information). I've just commented out the line above, and the script no longer outputs the interface name and OID.
Reviewed 12 years ago
The script fails for me, like others, with no response. This is due to the hard-coding of exim's location, which is incorrect on cPanel servers and probably other servers too: I commented out the EXIM= line: # default hard-coded # EXIM=/usr/local/exim/bin/exim and replaced it with one that checks the location of exim: EXIM=$(which exim) and now the script works
Reviewed 11 years ago