Hoping someone can help.
I am using check_snmp to return values from a Colour Printer (in this example, however it is relevant to UPS's and potentially many devices) the check_snmp is returning a numeric value no problems, however I am struggling getting it to return what that value means, ie printer status I am using the following command:
Code: Select all
./check_snmp -H xxx.xxx.xxx.xxx -C public -o .1.3.6.1.2.1.25.3.2.1.5.1
Code: Select all
SNMP OK - 2 | iso.3.6.1.2.1.25.3.2.1.5.1=2
Code: Select all
./check_snmp -H xxx.xxx.xxx.xxx -C public -o .1.3.6.1.2.1.25.3.2.1.5.1 -m HOST-RESOURCES-MIB
Code: Select all
SNMP OK - 2 | HOST-RESOURCES-MIB::hrDeviceStatus.1=2
It's probably comething I'm doing wrong, but I would appreciate any input or comments.
TIA
MadAsToast