1

I need to check the status of power supply units Cisco 7604 using Nagios. I decided to use the plugin check_snmp:

/usr/local/libexec/nagios/check_snmp -H 192.168.150.200 -o 1.3.6.1.4.1.9.9.91.1.1.1.1.4.13
SNMP OK - 1 | iso.3.6.1.4.1.9.9.91.1.1.1.1.4.13=1

wherein:

#show environment alarm threshold
environmental alarm thresholds:

power-supply 1 fan-fail: OK
  threshold #1 for power-supply 1 fan-fail:
    (sensor value != 0 ) is system minor alarm

How to set the CRITICAL for Nagios (CRITICAL=0, OK=1)?

masegaloeh
  • 18,498

3 Answers3

1

You can do this easily with the negate plugin.

(It's exactly what negate is for.)

Keith
  • 4,637
0

To check the power supply into the Cisco 7604 you can use the plugin

0

Use -r 1 if value 1 is OK. Everything else is then critical. "/usr/local/libexec/nagios/check_snmp -H 192.168.150.200 -o 1.3.6.1.4.1.9.9.91.1.1.1.1.4.13 -r 1"

PedroS
  • 1