ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieve information from iLo using HPQLOCFG

Bashm
Visitor

Retrieve information from iLo using HPQLOCFG

I am currently trying to retrieve information from the iLO using HPQLOCFG.exe v.1.0.0

The details I am after are

  • Fan Speed
  • Ambient Temperature
  • Physical Disk Status

 

Using the following script provided by HP in the Scripting guide

 

<RIBCL VERSION="2.22">
<LOGIN USER_LOGIN="login" PASSWORD="password">
<SERVER_INFO MODE="read">
<GET_EMBEDDED_HEALTH/>
</SERVER_INFO>
</LOGIN>
</RIBCL>

 

retrieves quite a bit of detail including the first 2 bits of information which I should be able to extract using VBScript the thing it does not give me is the disk status

 

The following is also in the guide

 

An expanded version is also available (see example below). Not all tags are required, however
if no tags are specified then the command operates as if all the tags are listed and outputs all of
the embedded health data&colon;

 

<RIBCL VERSION="2.22">
<LOGIN USER_LOGIN="login" PASSWORD="password">
<SERVER_INFO MODE="read">
<GET_EMBEDDED_HEALTH>
<GET_ALL_FANS/>
<GET_ALL_TEMPERATURES/>
<GET_ALL_POWER_SUPPLIES/>
<GET_ALL_VRM/>
<GET_ALL_PROCESSORS/>
<GET_ALL_MEMORY/>
<GET_ALL_NICS/>
<GET_ALL_STORAGE/>
<GET_ALL_HEALTH_STATUS/>
</GET_EMBEDDED_HEALTH>
</SERVER_INFO>
</LOGIN>
</RIBCL>

 

When I try to run this XML I get a <RESPONSE STATUS="0X0001" MESSAGE='Error: Line #3: syntax error near ">".'

 

Any help would be appreciated as I think the <GET_ALL_STORAGE> tag will pass me the information I need

6 REPLIES
Bashm
Visitor

Re: Retrieve information from iLo using HPQLOCFG

Thanks for the suggestion I have tried with v.1.2.0.0 but get the same result

 

<GET_EMBEDDED_HEALTH/> works fine

 

changing it to

<GET_EMBEDDED_HEALTH>

<GET_ALL_STORAGE />

</GET_EMBEDDED_HEALTH>

 

Errors with 'Error: Line #3: syntax error near ">".'

 

Jimmy Vance
HPE Pro

Re: Retrieve information from iLo using HPQLOCFG

What server and disk controller are you working with?




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
Bashm
Visitor

Re: Retrieve information from iLo using HPQLOCFG

Hi Jimmy

 

It is a DL360 G7 however you have got me wondering, I logged onto the ILO and no drive information was showing I suspect the ILO firmware so will give this a try.  Many thanks

Jimmy Vance
HPE Pro

Re: Retrieve information from iLo using HPQLOCFG

On a G7 I think you need the health agents loaded before iLO can get the information




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
Bashm
Visitor

Re: Retrieve information from iLo using HPQLOCFG

After updating the iLo 3 Firmware I am able to get the required information. iLo 4 seems to just work although the tags are slighly different for the storage.  My next issue is iL02 which I have updated one of my servers to the latest firmware 2.25 but HPQLOCFG just seems to crash with the following errors

 

ERROR:Parameter count mismatch

 

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
   at HPQLOCFG.Program.Main(String[] args)

 

Anyone had any issues with HPQLOCFG and iLo2?