Getting hp-snmp-agents on HP ProLiant DL360 on Lenny working

Posted by mark on Server Fault See other posts from Server Fault or by mark
Published on 2010-07-13T10:04:41Z Indexed on 2012/04/07 17:34 UTC
Read the original article Hit count: 864

Filed under:
|
|
|
|

After receiving our HP ProLiant DL360 I'd like to integrate the machine into our Munin system and thus enable ProLiant specific information to be exposed via SNMP.

I'm running Debian Lenny with kernel 2.6.26-2-vserver-amd64 . I've followed http://downloads.linux.hp.com/SDR/getting_started.html and the HP repository has been added to /etc/apt/sources.list.d/HP-ProLiantSupportPack.list .

Setting up Lenny SNMP itself is not a problem, I configure it to have a public v1 community string to read all data and it works. I install hp-snmp-agents and run hpsnmpconfig and it adds additional lines to the top of /etc/snmp/snmpd.conf :

dlmod cmaX /usr/lib64/libcmaX64.so

snmpd gets restarted.

Via lsof I can see that libcmaX64 was loaded and is used by snmpd, put I do not get any additional information out of snmp. I use snmpwalk -v 1 -c public ... and I can see many OIDs but I do not see the new ones I'd expect, most notably temperatures, fan speed and such.

The OIDs I'm expecting are e.g. 1.3.6.1.4.1.232.6.2.6.8.1.4.1 , this is from the existing munin plugins from http://exchange.munin-monitoring.org/plugins/snmp__hp_temp/version/1 .

snmpd[19007]: cmaX: Parsing shared as a type was unsucessful
snmpd[19007]: cmaX: listening for subagents on port 25375
snmpd[19007]: cmaX: subMIB 1 handler has disconnected
snmpd[19007]: cmaX: subMIB 2 handler has disconnected
snmpd[19007]: cmaX: subMIB 3 handler has disconnected
snmpd[19007]: cmaX: subMIB 5 handler has disconnected
snmpd[19007]: cmaX: subMIB 6 handler has disconnected
snmpd[19007]: cmaX: subMIB 8 handler has disconnected
snmpd[19007]: cmaX: subMIB 9 handler has disconnected
snmpd[19007]: cmaX: sent ColdStarts on ports 25376 to 25393
snmpd[19007]: cmaX: subMIB 10 handler has disconnected
snmpd[19007]: cmaX: subMIB 11 handler has disconnected
snmpd[19007]: cmaX: subMIB 14 handler has disconnected
snmpd[19007]: cmaX: subMIB 15 handler has disconnected
snmpd[19007]: cmaX: subMIB 16 handler has disconnected
snmpd[19007]: cmaX: subMIB 21 handler has disconnected
snmpd[19007]: cmaX: subMIB 22 handler has disconnected
snmpd[19007]: cmaX: subMIB 23 handler has disconnected
snmpd[19007]: cmaX: subMIB  1 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB  2 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB  3 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB  5 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB  6 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB  8 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB  9 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 10 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 11 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 14 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 15 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 16 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 21 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 22 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 23 will be sent on port 25376 to hp Advanced Server Management_Peer
snmpd[19007]: cmaX: subMIB 18 handler has disconnected
snmpd[19007]: cmaX: subMIB 18 will be sent on port 25393 to cpqnicd
snmpd[19007]: NET-SNMP version 5.4.1

This doesn't look particular bad for me, it's just informational I guess.

I've compared the walking OID output with and without the module and there's no difference in the OID served back at all. Are there any other prerequisites I'm missing?

I've also noticed that from the time I installed hp-snmp-agents it adds a lot of additional daemons and that my load suddenly jumps to 1. I've uninstalled the package for now. Is this expected behavior?

Load spike

© Server Fault or respective owner

Related posts about debian

Related posts about hp