This is an update from a previous post:
https://bitcointalksearch.org/topic/m.35830295The previous post has broken links whereas this one works now and in the future.
For those here who are running Ubuntu Linux on HP Servers here is how to install HP Health Software and access very useful data from those servers:
Open Shellinabox to the Server (or do this locally from a terminal screen):
// Get the latest version of hp-health from here:
https://downloads.linux.hpe.com/SDR/repo/mcp/Ubuntu/pool/non-freewget
http://downloads.linux.hpe.com/SDR/repo/mcp/Ubuntu/pool/non-free/hp-health_10.62-2_amd64.deb //
https://www.tecmint.com/install-local-deb-packages-in-debian-ubuntu-linux-mint// gdebi is a tiny command-line tool for installing local deb packages. It resolves and installs package dependencies on the fly.
// get the deb installer
sudo apt install gdebi
// Install HP-Health
sudo gdebi hp-health_10.62-2_amd64.deb
Answer y to install
---------------------
Now you can access server data using the HPASMCLI Commands
HP ProLiant Servers - HPASMCLI Commands
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03474917To access the power consumption readings on a server running a Linux operating system (OS), sum the “Power” data from all power supplies that are present. The Linux command below will return the power supply data needed:
sudo hpasmcli -s "show powersupply"
This is an example from an HP DL580 G7 Server:
miner@DL580-G7-7:~$ sudo hpasmcli -s "show powersupply"
Power supply #1
Present : Yes
Redundant: Yes
Condition: Ok
Hotplug : Supported
Power : 360 Watts
Power supply #2
Present : Yes
Redundant: Yes
Condition: Ok
Hotplug : Supported
Power : 380 Watts
Power supply #3
Power Supply not present
Power supply #4
Power Supply not present
Other interesting HP Health commands:
sudo hpasmcli -s "show temp"
sudo hpasmcli -s "show IML"
sudo hpasmcli -s "show fans"
sudo hpasmcli -s "show server"
sudo hpasmcli -s "show dimm"
sudo hpasmcli -s "set uid on"
sudo hpasmcli -s "set uid off"
HP ProLiant Servers - HPASMCLI Commands
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03474917sudo hpasmcli -s "clear IML"
Clearing the log is useful if you purchased the system used. That way any issues that get logged now are from when you were using the system and not stale issues from before you had the system.