ILO4 Firmware 1.20 changed the XML output

Written by - 3 comments

Published on - Listed in Nagios Hardware Monitoring

I've been using successfully for a couple of months now to monitor HP server hardware. Even though it cannot be used with ILO1 (who uses that still?) and many hardware checks are missing in ILO2, it works very well with newer ILO3 and ILO4 servers. Yes, I'd prefer to use check_hpasm but this would require to install additional HP software on the servers which is not wanted/possible at my employer. So check_ilo2_health is a great alternative.

Yesterday I came across a newer ILO4 firmware version (1.20) which I updated on two Gen8 servers. As soon as that was done, the Icinga monitoring making the hardware checks with the mentioned check_ilo2_health, sent a warning notification:

 ILO2_HEALTH WARNING - Power_Supply_1: Good, In Use, Power_Supply_2: Unknown

I was aware that this particular server only had one power supply. That's why I didn't use the "-o" parameter to not check the power redundancy. But the plugin still decided to exit with a warning. The reason for this must come from the ILO firmware upgrade. check_ilo2_health queries an xml file retrieved by https from the ILO IP. Maybe the output has changed in the new version...

To be sure I contacted the maintainer of the plugin, Alexander Greiner-Bär, and sent him the verbose output. He quickly responded to me, that the output indeed has changed. Here's the relevant output comparing from version 1.10 to 1.20:


               <LABEL VALUE = "Power Supply 1"/>
               <STATUS VALUE = "OK"/>
               <LABEL VALUE = "Power Supply 2"/>
               <STATUS VALUE = "Not Installed"/>


                <PRESENT_POWER_READING VALUE = "100 Watts"/>
                <POWER_SYSTEM_REDUNDANCY VALUE = "Not Redundant"/>
                <HIGH_EFFICIENCY_MODE VALUE = "N/A"/>
               <LABEL VALUE = "Power Supply 1"/>
               <PRESENT VALUE = "Yes"/>
               <STATUS VALUE = "Good, In Use"/>
               <PDS VALUE = "Yes"/>
               <HOTPLUG_CAPABLE VALUE = "Yes"/>
               <MODEL VALUE = "656362-B21"/>
               <SPARE VALUE = "660184-001"/>
               <CAPACITY VALUE = "460 Watts"/>
               <FIRMWARE_VERSION VALUE = "1.03"/>
               <LABEL VALUE = "Power Supply 2"/>
               <PRESENT VALUE = "No"/>
               <STATUS VALUE = "Unknown"/>
               <PDS VALUE = "Other"/>
               <HOTPLUG_CAPABLE VALUE = "Yes"/>
               <MODEL VALUE = "N/A"/>
               <SPARE VALUE = "N/A"/>
               <SERIAL_NUMBER VALUE = "N/A"/>
               <CAPACITY VALUE = "N/A Watts"/>
               <FIRMWARE_VERSION VALUE = "N/A"/>

Not only does version 1.20 contain a lot of more information about the power supplies, the "Status Value" also changed from "Not Installed" to "Unknown" which caused the plugin to fail.

Alexander made an immediate fix in the newest version 1.56 of check_ilo2_health considering the new status values (thanks!!). And now it works:

./ -H ILOIP -u USER -p XXX -3 -a -c -n -t 120
ILO2_HEALTH-156 OK - No faults detected version 1.56 can be downloaded here.

Add a comment

Show form to leave a comment

Comments (newest first)

Rainer E. from wrote on Apr 24th, 2013:

Thanks, this blog solved the iLO issue that caused me sleepless nights for weeks already ;-)

Claudio from Switzerland wrote on Mar 21st, 2013:

I know its not easy to find the new versions or an official download website for check_ilo2_health. Besides there seems to be no download possibility. I'll add a download link at the bottom of my post.

Osvaldo from Chile wrote on Mar 20th, 2013:

Where i can download version 1.56?