Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_switch_psu
Current Version
0.12
Last Release Date
2013-01-29
Compatible With
- Nagios 2.x
- Nagios 3.x
Owner
Download URL
License
GPL
Hits
50470
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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] [-c SECRET]
-h : Display this help text.
-v : Display the version of this script.
-l : List hardware.
-n : 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
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
-h : Display this help text.
-v : Display the version of this script.
-l : List hardware.
-n
-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
Reviews (0)
Be the first to review this listing!