Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
Plugin to check Proliant hardware using only Python and HPASMCLI.
Current Version
1.4
Last Release Date
2013-10-26
Owner
Jason Antman
Website
https://github.com/jantman/nagios-scripts/blob/master/check_proliant.py
Download URL
https://raw.github.com/jantman/nagios-scripts/master/check_proliant.py
Compatible With
version 1.3, 2013-10-01
version 1.4, 2013-10-26
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
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.
You must be logged in to submit a review.
To:
From: