Search All Sites
Nagios Live WebinarsLet our experts show you how Nagios can help your organization.
Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.
Only bash and snmpwalk or snmpbulkwalk are required.
WARNING: All PSUs are present (Nexus 5010 PSU module, 110-208VAC 550w). Status PSU-1:(offDenied) PSU-2:(on).
WARNING: Only one PSU is present.
Unknown: More than 2 PSUs detected. Confused. Aborting.
OK: All PSUs are present (Nexus 5010 PSU module, 110-208VAC 550w). Status PSU-1:(on) PSU-2:(on).
OK: All PSUs are present (6000.00W 220v AC). Status PSU-1:(on) PSU-2:(on) PSU-3:(on).
$ ./check_switch_psu -h
check_switch_psu - Switch PSU checker.
Usage: check_switch_psu [-h] [-l] [-n
-h : Display this help text.
-v : Display the version of this script.
-l : List hardware.
-C SECRET : Community string.
Check that NUM power supplies are working.
List device hardware info:
check_switch_psu -l -c secret 126.96.36.199
Check number of PSUs on device:
check_switch_psu -c secret 188.8.131.52