<p> 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).</p><p> 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.</p><p> Usage is very simple:</p><p> check\_proliant.py --type={fan|ps|temp|dimm|proc}</p><p> 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.</p><p> Tested on:</p><p> OpenSuSE 11.1, hp-health-8.1.1-14.sles10 (rpm), DL380 G3</p><p> OpenSuSE 10.1, hpasm-7.7.0-115.sles10 (rpm), DL380 G1</p><p> OpenSuSE 10.1, hpasm-7.7.0-115.sles10 (rpm), ML370 G1</p><p> OpenSuSE 10.2, hpasm-7.7.0-115.sles10 (rpm), DL360 G1</p><p> OpenSuSE 10.2, hpasm-7.7.0-115.sles10 (rpm), DL320 G1</p>