HP iLO – Automatically Get Server Temperature

hpilophysical-environment

I have a couple of HP servers in 2 offices. They have iLO interfaces and i can read the temperature from there.
How can i read this temperature automaticaly over the network ? does iLO have any sort of API ??

best regards.

Best Answer

HP makes a lot of software available for managing their servers, you just have to look a bit for it. They used to have a page where all of their Linux software was in one place, but they seem to have rearranged their site a bit. I found the software by going to their support site and drilling down to the server model I was looking for (though most of the software you're looking for will work on any ProLiant server, which I'm assuming you have).

  1. Go to their software and drivers download page.
  2. Click on Servers.
  3. Click on ProLiant/tc Series Servers.
  4. Drill down to your series (DL/ML/etc.), model (360/380/etc.) and generation (G3/G4/etc.).
  5. Click on the OS closest to what you have. For Ubuntu, choose Debian. For CentOS, choose RedHat.

You'll see tons of software. Most of it was probably included on one or more CDs that came with the server if you bought it new. At my company, we use HP System Health Application and Insight Management Agents, also known as hpasm. It provides agents that can poke the hardware sensors directly, so we can see things like temperature, fan status, power supplies, and disk failures from inside the OS. It's integrated into Net-SNMP (or Windows SNMP) as a subagent, which we monitor with Nagios. On Linux, it's just an RPM/DEB package you install.

To control the iLO directly over the network, look on the software page for HP Lights-Out Configuration Utility. I've never used it, so I don't know what level of control it gives you, but this is the only software I'm aware of for remotely controlling the iLO. Short of that, there is also an XML interface that you can access locally on the same server that the iLO is in.