I am trying to use the check_snmp_int.pl script to monitor an isdn line. We want to be alerted when the line comes up instead of the usual notification when the interface goes down.
The check_snmp_int.pl script has an invert option but when invoked on the Dialer interface I get the following message:
./check_snmp_int.pl -H 192.168.xxx.xx -C xxxxxx -n Dialer12 -i
Use of uninitialized value in sprintf at ./check_snmp_int.pl line 500.
Dialer12:: 1 int NOK : CRITICAL
The invert option doesn’t seem to have an effect, the ouput is the same when run without the -i
The rub is that the script works fine when run against a serial interface.
Anyone have any sugesstion?
Thanks for your help