Nagios check fails
Posted: Wed Jun 27, 2018 3:15 pm
Hello Guys,
I have a nagios check configured like this.
I am expecting the return value of 1 from the device. But when I check the GUI, I see that the check fails. The aguement that I am passing the the switch num.
This is what I see in the GUI
Manual check is working as expected.
Anyone see this before? Any help would be appreciated!
I have a nagios check configured like this.
Code: Select all
$USER1$/check_snmp -H $HOSTADDRESS$ -C "$_HOSTSNMP_COMMUNITY$" -o .1.3.6.1.4.1.2636.3.40.1.4.1.1.1.3.$ARG1$ -s 1 -c 6
This is what I see in the GUI
Code: Select all
SNMP CRITICAL - *1*
Code: Select all
[root@server plugins]# ./check_snmp -H 10.10.x.x -o .1.3.6.1.4.1.2636.3.40.1.4.1.1.1.3.0 -C xxxxxx
SNMP OK - 3 | iso.3.6.1.4.1.2636.3.40.1.4.1.1.1.3.0=1