The HP to HPE transition has left those of us with home labs and no support contracts in the lurch - you can't download Service Pack for Proliant and new iLO images anymore without providing a contract number - this would be less of a problem if ciphers for TLS weren't currently getting deprecated in browsers, but it's annoying regardless.
With that as background, it's surprising to discover that one isn't hosed when it comes to the system monitoring tools that let you see if your hard drives and power supplies are healthy or not. For some reason they're still downloadable for free (shhh, don't tell HPE).
It appears that HP only supports LTS releases on Ubuntu. So be it. Choose one of these:
echo 'deb http://downloads.linux.hpe.com/SDR/repo/mcp xenial/current non-free' > /etc/apt/sources.list.d/hp.list
#echo 'deb http://downloads.linux.hpe.com/SDR/repo/mcp trusty/current non-free' >> /etc/apt/sources.list.d/hp.list
#echo 'deb http://downloads.linux.hpe.com/SDR/repo/mcp precise/current non-free' >> /etc/apt/sources.list.d/hp.list
Or maybe you're running Debian Jessie (or proxmox 4):
echo 'deb http://downloads.linux.hpe.com/SDR/repo/mcp/Debian/ jessie/current non-free' >> /etc/apt/sources.list.d/hp.list
Regardless, we need to import all the potential signing keys for the binaries. Wish these were https://
curl http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | apt-key add -
curl http://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | apt-key add -
Then install some stuff:
apt-get -y install aptitude
apt-get -y install hpacucli
apt-get -y install hp-health
Here are some sample commands for each:
hpacucli ctrl all show config detail
hpacucli ctrl all show status
hpacucli ctrl slot=0 show status
hpacucli ctrl slot=0 pd all show status
hpasmcli -s "show powersupply"
hpasmcli -s "show fan"
hpasmcli -s "show powermeter"