Check snmp not showing warning or critical thresholds


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 . -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. (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.

Am I doing something wrong here?


I figured it out. SNMP has an offset of -1