Check_snmp problems after upgrade

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Check_snmp problems after upgrade

Post by uidaho »

After upgrading to XI 2014 (which also updated core), several of my snmp checks are broken. Before the upgrade I was able to have a check as follows:
"check_snmp -H $HOSTADDRESS$ $ARG1$ -o <OID1> -o <OID2> -o <OID3> -c <CRITRANGE1> -c <CRITRANGE2> -c <CRITRANGE3>"
This would return all three values evaluated against their respective ranges.
After the upgrade, I still get all three values, but only the first value is compared to any range. The range that it compares to is always the last one, in this case <CRITRANGE3>.
I can create a unique check for each OID but it will more than triple the number that I have. I was wondering if this behavior was expected and, if not, if there is a way that it can be fixed.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check_snmp problems after upgrade

Post by tmcdonald »

From the check_snmp help output:
- When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20'
http://support.nagios.com/forum/viewtop ... f=7&t=2343
Former Nagios employee
Locked