By "what 4-6 means" I'm refering to the translation which is obtained from the MIB file, which thankfully you pointed me to.
I tried moving -c and -w before -m but still received the same results. Quite weird. Seems like a small bug to me as -c and -w just changes the flag that Nagios will see in the "Status" column and shouldn't affect the SNMP integer return variable.
Yes, I do have Net::SNMP installed. That shouldn't be the issue as I've proved previously that it is reading the MIB file.
Just to clarify and make sure we are on the same page, the usual return results of check_snmp are:
[blockquote]SNMP - [/blockquote]
e.g. SNMP OK - 5
If I don't include -w or -c option it translates the integer.
e.g. SNMP OK - critical(5)
If I include -w or -c option it does NOT translate the integer.
e.g. SNMP CRITICAL - 5
(with -c 6:4 option)
The above example should return with:
SNMP CRITICAL - critical(5)
I'm trying to figure out why it's not translating the integer with the -w or -c option, when it translates just fine with out those two switches.
Thanks again for your time spent on this!
Edited Mon Aug 01 2005, 03:26PM ]