Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
Showing results for 
Search instead for 
Do you mean 

Get C-Class Blade Location Programatically

Advisor

Get C-Class Blade Location Programatically

Hi,
I am trying to find a way to get the physical location (rack, enclosure, and slot) from an ilo2 in my c-class blades. I have looked at the sample scripts from the website but the only "get location" ones refer to P-Class. What I ultimately want to do is populate the location field in my windows snmp service automatically in my build.
Anyone do this or have any ideas where to point me?

Much appreciated,

Jim

4 REPLIES
Honored Contributor

Re: Get C-Class Blade Location Programatically

That information is not held by iLO but in the Onboard Administrator. The easiest way to get the information is by parsing the XML that returns when you access the OA with the following statement. No authentication is necessary:

http://OA_IP_ADDRESS_OR_DNS_NAME/xmldata?item=all
Advisor

Re: Get C-Class Blade Location Programatically

Thanks, david, but that query is not returning the system name (as you would see if you click the device bay button in the OA gui). this is ideally what I am looking for:

Thanks,

Jim
Advisor

Re: Get C-Class Blade Location Programatically

I'm essentially looking for the same thing. I can parse out the XML if I can at least get the servername and bay info.

Is there more specific xmldata available?
Honored Contributor

Re: Get C-Class Blade Location Programatically

I do not believe that better data is available for C-Class via a scripting interface to iLO today.