Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_proliant.py

Rating
1 vote
Favoured:
0
Current Version
1.4
Last Release Date
2013-10-26
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
Hits
103264
Files:
FileDescription
check_proliant.pyversion 1.3, 2013-10-01
check_proliant.pyversion 1.4, 2013-10-26
Nagios CSP

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!
Plugin to check Proliant hardware using only Python and HPASMCLI.
check_proliant.py is a check plugin to check hardware status of HP/Compaq Proliant servers using only the /sbin/hpasmcli binary. It is written in Python and depends on the pexpect package (http://www.noah.org/wiki/Pexpect) which is a purely Python implementation of Expect (and allowing your nagios user passwordless root rights to the hpasmcli binary via sudoers). The plugin checks only the local machine (no SNMP required).

It is capable of checking the status of fans, power supplies, temperatures, DIMMs and processors. For most of these it just checks the "status" line, but for fans it parses out the current temperature and threshold and compares them, giving a critical if the temperature is over the threshold, and a warning if the temperature is within a given percentage of the threshold.

Usage is very simple:
check_proliant.py --type={fan|ps|temp|dimm|proc}
For fans and power supplies, it will also return critical if any of them are listed as not redundant, but this can be overridden by adding a "--ignore-redundant" argument.

Tested on:
OpenSuSE 11.1, hp-health-8.1.1-14.sles10 (rpm), DL380 G3
OpenSuSE 10.1, hpasm-7.7.0-115.sles10 (rpm), DL380 G1
OpenSuSE 10.1, hpasm-7.7.0-115.sles10 (rpm), ML370 G1
OpenSuSE 10.2, hpasm-7.7.0-115.sles10 (rpm), DL360 G1
OpenSuSE 10.2, hpasm-7.7.0-115.sles10 (rpm), DL320 G1
Reviews (1)
bykluchtman, March 8, 2013
This worked perfectly. On a DL380 G3 Cent OS 6.3. I wish it would give more information like the actual temp but I am sure I can find something else for that.