Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Check that 2 (or more) PSUs are present and working in a Cisco switch. Usually a removed PSU won't be noticed since there is no error to report (and someone might forget to replace it etc.)
Current Version
0.12
Last Release Date
2013-01-29
Owner
Mark Clarkson
Download URL
https://github.com/mclarkson/check_switch_psu
License
GPL
Compatible With
Uses ENTITY-MIB and CISCO-ENTITY-FRU-CONTROL-MIB. Only bash and snmpwalk or snmpbulkwalk are required.
EXAMPLE OUTPUT
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).
USAGE
$ ./check_switch_psu -h
check_switch_psu - Switch PSU checker.
Usage: check_switch_psu [-h] [-l] [-n <NUM>] [-c SECRET] <host|IP>
-h : Display this help text. -v : Display the version of this script. -l : List hardware. -n <NUM> : Number of PSUs to check for (default is 2). -C SECRET : Community string.
Check that NUM power supplies are working.
Examples
List device hardware info: check_switch_psu -l -c secret 1.2.3.4
Check number of PSUs on device: check_switch_psu -c secret 1.2.3.4
You must be logged in to submit a review.
To:
From: