HP ProLiant Fan & Temperature Monitoring

If you have the hpasmcli command installed on your ProLiant server (available from the HP ProLiant Support Pack), you can display the speed of fans and the temperature of different parts of your server and use collectd to store the values. The following has been tested on a ProLiant ML350 G6 server.

On Debian you can add the following line to eg. /etc/apt/sources.list.d/hp.list and install the hp-health package:

# cat /etc/apt/sources.list.d/hp.list 
deb http://downloads.linux.hp.com/SDR/repo/mcp wheezy/current non-free

# apt-get update
# apt-get install hp-health

Example output of running the hpasmcli command directly (to verify that it actually works):

# /sbin/hpasmcli -s "show temp"

Sensor   Location              Temp       Threshold
------   --------              ----       ---------
#1        AMBIENT              26C/78F    42C/107F 
#2        CPU#1                40C/104F   82C/179F 
#3        CPU#2                 -         82C/179F 
#4        MEMORY_BD            37C/98F    87C/188F 
#5        MEMORY_BD            34C/93F    87C/188F 
#6        MEMORY_BD            33C/91F    87C/188F 
#7        MEMORY_BD            33C/91F    87C/188F