Random Project

Really awesome – tiny bug

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.