Issue when using check_snmp and multiple entries in the -c o


#1

It seems that when I attempt to check an oid and have multiple entries in the -c or -w it only tests for first value.

Here is an example

/usr/local/nagios/libexec/check_snmp -H XX.XX.XX.XX -o 1.3.6.1.4.1.5591.1.4.2.1.24 -C XXXXXX -c 1,3,5 -P 1
SNMP CRITICAL - 5 | iso.3.6.1.4.1.5591.1.4.2.1.24=5

also tried -c 1:1,3:3,5:5 and still the same

I was using 2.5 upgraded to 2.8 and upgraded the plugins to 1.4.7. I would be grateful for any help!

Scott