I am monitoring an APC UPS’ Basic Output Status (on-line / off-line - using battery)
Here is a copy of my command:
snmp_ups_stat $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.318.1.1.1.4.1.1.0 -w 3 -c 4 -l ‘UPS Status’
I can unplug the UPS and the status will change from 2 (on-line) to 3 (off-line):
iso.3.6.1.4.1.318.1.1.1.4.1.1.0=3 (from Nagios’ service detail webpage)
but the status remains OK:
Current Status: OK (for 0d 17h 4m 48s)
Status Information: UPS Status OK - 3
Performance Data: iso.3.6.1.4.1.318.1.1.1.4.1.1.0=3
Am I doing something wrong here?