In order to install the HP Health CLI on Debian Wheezy you must connect with PuTTy or login to the terminal on the desired Debian Server. Next you will run the commands below to add the Debian HP/Proliant repository to your system and install hpasmcli.
#!/bin/bash # download the GPG key of the repository: wget http://downloads.linux.hpe.com/SDR/downloads/ManagementComponentPack/GPG-KEY-mcp -O /tmp/proliant.gpg # add downloaded key to apt apt-key add /tmp/proliant.gpg # create apt sources file for HP/Proliant repo echo -e "deb http://downloads.linux.hpe.com/SDR/repo/mcp/ wheezy/current non-free" > /etc/apt/sources.list.d/proliant.sources.list # update apt & install hpasmcli package apt-get update && apt-get install hp-health
To access the hpasmcli shell simply run hpasmcli in terminal. Please see our HP Health Command Line Reference for details on usage. Information on the Debain ProLiant HP repository can be found here.
The URLs have changed once again. The Domain is now downloads.linux.hpe.com (hp[+e].com).
Also, for a recent Installation , one wants to replace wheezy with stretch.
Thanks for the update Peter
Hello,
thanks for this tip.
The GPG key link has changend … the mentionned key above doesn’t work:
Here’s the new link:
wget http://downloads.linux.hp.com/SDR/downloads/ManagementComponentPack/GPG-KEY-mcp -O /tmp/proliant.gpg
Best regards, Dieter
Thanks for the update Dieter