Hardware monitoring on HP Proliant DL380 Gx servers

Download the following files:

After installation the hp-agents and hp-snmp-agents services must be inserted into the system’s boot sequence. The hp-snmp-agents package also suggests that you run /sbin/hpsnmpconfig. This is not strictly necessary. Provided that you know how to set up net-snmp when it comes to configuring eg. write access, it is sufficient to add a line dlmod cmaX /usr/lib/libcmaX.so.

You should now be able to see output from snmpwalk -v2c -c public localhost 1.3.6.1.4.1.232. However, these are “naked” OIDs. The so-called “MIBs” in /opt/hp/hp-snmp-agents/mibs are of the form

1.1.1                INTEGER              READONLY
1.1.2                INTEGER              READONLY

ie. they do not label the OIDs, leaving them without an interpretable meaning. A blog post by Kristopher Bash points out that one has to look for Compaq MIBs, not HP MIBs, since HP bought Compaq and they apparantly never got around to release their “own” MIBs. However, even with CPQHLTH, CPQHOST, CPQIDA, CPQSCSI, CPQSTDEQ, CPQSTDINFO, CPQSTDSYS and CPQTHRSH MIBs copied manually to /usr/share/snmp/mibs, one still has plenty of unresolved MIBs as snmpwalk -v 2c -c public localhost 1.3.6.1.4.1.232 -m ALL | less will show.

Links: Additional information on monitoring HP servers under Linux is available in the document Managing ProLiant servers with Linux HOWTO.

Leave a comment