- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Retrieve information from iLo using HPQLOCFG
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2014 02:42 AM
09-18-2014 02:42 AM
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:
<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
- Tags:
- iLO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2014 08:02 AM
09-18-2014 08:02 AM
Re: Retrieve information from iLo using HPQLOCFG
You can also grab the XML scripting examples which contains many useful commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 03:19 AM - edited 09-19-2014 03:20 AM
09-19-2014 03:19 AM - edited 09-19-2014 03:20 AM
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 ">".'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 03:43 AM
09-19-2014 03:43 AM
Re: Retrieve information from iLo using HPQLOCFG
What server and disk controller are you working with?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 07:54 AM - edited 09-19-2014 08:53 AM
09-19-2014 07:54 AM - edited 09-19-2014 08:53 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2014 01:52 PM
09-19-2014 01:52 PM
Re: Retrieve information from iLo using HPQLOCFG
On a G7 I think you need the health agents loaded before iLO can get the information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2014 08:15 AM
09-24-2014 08:15 AM
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?