HP ProLiant Management Component Pack on Ubuntu

HP ProLiant Management Component Pack on Ubuntu
  • 0.00 / 5 5
0 votes, 0.00 avg. rating (0% score)

HP seems to have set up a package repository for Ubuntu 12.04, which is an improvement since I last checked a few years ago. To use the repo, add the following line to /etc/apt/sources.list:

Run “sudo apt-get update”.

You can install a number of software packages from the repository:

  • hpsmh: HP System Management Homepage
  • hp-smh-template: HP System Management Homepage Templates
  • cpqacuxe: HP Array Configuration Utility, web-based
  • hp-snmp-agents: Insight Management SNMP Agents for HP ProLiant Systems
  • hponcfg: RILOE II/iLO online configuration utility
  • hp-health: HP System Health Application and Command line Utility Package
  • hpacucli: HP Command Line Array Configuration Utility
  • ams: Agentless Monitoring Service for HP ProLiant Gen8 Systems

I installed the iLO configuration utility, System Health App and Array Configuration command line utility.

I couldn’t find a working GPG key so you need to press y or force package installation.

Useful Commands

You can blink the UID light with the hpuid command.

The hpasmcli is a tool to show and set various system parameters.

A command called “hplog” can be used to view the log:

And show system health information (fans, power supplies, temperatures):

Array Configuration Utility

The “hpacucli” is a Smart Array configuration tool. Some examples (the prompt is the =>):

The utility also understands commands directly from the command line:

E-mail Alerts

To get e-mail out of the system, I installed Postfix.

Select “Internet Site”. After installation, do a reconfiguration:

Select “Internet Site” again. Give your username as the recipient for root and postmaster.

Use the default destination list. No forcing of synchronous updates.

Next question is about where to accept mail from. The default is localhost only, which is good for my purposes, because this is not a proper mail server.

For the rest of the questions I just use defaults. For additional security, you can edit the /etc/postfix/main.cf and change the line


Restart Postfix. To forward all important mail from the system to yourself, edit /etc/aliases:

Run command

Now you will get all root mail. I also like to change root full name, which will show up as the sender of the e-mail. This way I can see which host’s root is sending me mail.

 Hardware Health Check Script

For Smart Array checking, I wrote this little script and put it in /usr/local/sbin/smart_array_check:

For other hardware health checks I wrote this one and put it in /usr/local/sbin/hw_health_check:

Add both scripts to crontab with “crontab -e”:

That will run the checks four times a day and e-mail every time there is a failure.


Leave a Reply