Check_linux_interface
Posted: Mon Jan 02, 2017 9:00 am
Hi,
we used this command to check the status of linux interfaces but always request to put the value of index ,i tried many values but the command not recognized any of them
/usr/local/nagios/libexec/check_ifoperstatus -H 10.x.x.x -C jawwal-snmp -k 5 -v 2
[root@nms libexec]# /usr/local/nagios/libexec/check_ifoperstatus -H 10.x.x.x -C jawwal-snmp -k 5 -v 2
Use of uninitialized value in sprintf at /usr/local/nagios/libexec/check_ifoperstatus line 160.
Argument "noSuchObject" isn't numeric in numeric eq (==) at /usr/local/nagios/libexec/check_ifoperstatus line 186.
WARNING: Interface noSuchObject (index 5) is administratively down.
thanks
we used this command to check the status of linux interfaces but always request to put the value of index ,i tried many values but the command not recognized any of them
/usr/local/nagios/libexec/check_ifoperstatus -H 10.x.x.x -C jawwal-snmp -k 5 -v 2
[root@nms libexec]# /usr/local/nagios/libexec/check_ifoperstatus -H 10.x.x.x -C jawwal-snmp -k 5 -v 2
Use of uninitialized value in sprintf at /usr/local/nagios/libexec/check_ifoperstatus line 160.
Argument "noSuchObject" isn't numeric in numeric eq (==) at /usr/local/nagios/libexec/check_ifoperstatus line 186.
WARNING: Interface noSuchObject (index 5) is administratively down.
thanks