check_snmp swap on solaris always returns error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ChathamDaleJ
Posts: 55
Joined: Tue Jul 02, 2013 10:44 am

check_snmp swap on solaris always returns error

Post by ChathamDaleJ »

I cannot set the range correct so that I don't get an error. It seems always to check for something greater than the numbers I give it. To wit:

[nagios@nap11rh6it04 ~]$ /usr/local/nagios/libexec/check_snmp -H arsenic --invert-search -vo .1.3.6.1.4.1.2021.4.4.0 -w 0,2
/usr/bin/snmpget -Le -t 1 -r 5 -m '' -v 1 [authpriv] arsenic:161 .1.3.6.1.4.1.2021.4.4.0
iso.3.6.1.4.1.2021.4.4.0 = INTEGER: 2106424
SNMP WARNING - *2106424* | iso.3.6.1.4.1.2021.4.4.0=2106424;0;;
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_snmp swap on solaris always returns error

Post by rkennedy »

What are you trying to set the warning range to?
Former Nagios Employee
Locked