Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a couple of HP servers with iLO interfaces. do you have any idea of how can i get status data of the server via an XML or something like that ?

update: i want to be able to get the server temperature via a script running on a linux machine in order to monitor our windows HP iLO servcers.

share|improve this question
up vote 4 down vote accepted

You asked a similar question last month, and I provided instructions on where to go on HP's Web site to get the tools you needed. Here are exact links:

  • You can get CPQLOCFG.EXE (as suggested by sleske) here.
  • You can get HPLOCFG.EXE (a similar tool) here.
  • You can get sample XML files and the Perl utility here.

I suggest also looking over the documentation on HP's Web site (at the link provided by sleske) as there is a wealth of information available.

share|improve this answer
These links no longer work :-( – Peter Jenkins Nov 27 '14 at 13:37

I know this is old, bur someone addressed your question as if you were trying this from a windows box. In Linux , (NOT WINDOWS...everyone) you can do this without an EXE tool. You need to use Net::ILO perl module. This will enable you to write a script that logs in to your ILO servers and interact with them.

  1. download from (
  2. after downloading :

    • tar -zxvf Net-ILO-0.54.tar.gz
    • cd Net-ILO
    • perl
    • make install

3) after compiled and installed, write a little perl script: (here is one that just prints out the temps:


# FILE:     /home/myuser/
# CREATED:  07:22:37 07/11/2011
# MODIFIED: 07:46:30 07/11/2011
use Net::ILO

my $ilo = Net::ILO->new(
#address of your system
    address     => '',
    username    => 'Administrator',
    password    => 'yourpassword',

my $temperatures = $ilo->temperatures;

foreach my $sensor (@$temperatures) {

    print "    Name: ", $sensor->{name},     "\n";
    print "Location: ", $sensor->{location}, "\n";
    print "   Value: ", $sensor->{value},    "\n";
    print "    Unit: ", $sensor->{unit},     "\n";
    print " Caution: ", $sensor->{caution},  "\n";
    print "Critical: ", $sensor->{critical}, "\n";
    print "  Status: ", $sensor->{status},   "\n\n";

#---------end script

4) run the script - perl

share|improve this answer

Your question is rather vague. What status data do you want? Please provide some examples.

That said, iLO offers scripting interfaces (via HP's tool CPQLOCFG.EXE, or via Perl). See the HP documentation on iLO for details.

share|improve this answer
what do i need CPQLOCFG.EXE for ? can't i just fire a perl script from a linux machine ? – s.mihai Jul 30 '09 at 18:25
where on earth can i find CPQLOCFG.EXE ? :-w – s.mihai Jul 30 '09 at 19:16
CPQLOCFG.EXE is HP's tool for managing iLO. It's available from HP, just googl it. As far as I understand, you do not really need it, you can also access the same functionality (and more) from perl, actually from any language, as the iLO is managed by sending XML files via HTTPS. – sleske Jul 31 '09 at 1:26

Again, see your earlier question, and my recent answer to it.

I wonder if you could merge this question into your previous one...

share|improve this answer

Wanted to see if James' links were still working, and they seem to be - after selecting "For products such as servers, storage, and networking, go to HP Support Center - Hewlett Packard Enterprise" on a pop-up that announces that the impending split between HP Inc. and HP Enterprise will mean different support sites. Anyhow...

Utility aka CPQLOCFG.EXE can be found here

HP Lights-Out Online Configuration Utility for Linux aka hponcfg-1.9.0-3.noarch.rpm is available here

HP Lights-Out XML PERL Scripting Sample for Linux is also found by following the link that James posted years ago - however, I am new to this community so I can only post two links per post.

The imminent HP company split may cause some disruption with links, so it may be worthwhile to get updated links on your favorite topics if you are the bookmark using type.



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.