Network Connections, Stats and Bandwidth

check_switch_psu

Description:

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

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Photos
Project Notes
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
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
50,208