VMware {code} Community
jauling
Enthusiast
Enthusiast

vSphere Perl SDK - querying Baseboard Management Controller address

Does anyone know if its possible to query the Baseboard Management Controller object using the vSphere Perl SDK? This is the object that is defined under the Hardware Status tab for an ESXi host.

All my Dell servers have DRAC modules installed, which come up as a baseboard management controller in vCenter. I'd like to programmatically query these ESXi hosts and return the Management Controller IP Interface of this device.

Based on the SDK, I'd assume this data would be under HostNumericSensorInfo, but when I query that object's name and currentReading properties, I don't get anything close to resembling DRAC/BMC data.

Am I looking at the wrong data object? FYI, the data I'm looking for is not the same as what's in HostIpmiInfo, as that's a user configurable option for DPM.

0 Kudos
1 Reply
natxoasenjo
Enthusiast
Enthusiast

As far as I can see this info is available using cim (https://www.vmware.com/support/developer/cim-sdk/) I found this reference in the virtually ghetto blog (http://www.virtuallyghetto.com/2011/05/cim-monitoring-caveat-with-esxi.html) : "there is also a Perl SDK for CIM/WSMAN as part of the vCLI installation and if you are using vMA, you can find some great examples under /usr/share/doc/vmware-vcli/samples/WSMan" You can also take a look at the checksensorhealth.pl script in vmware-vsphere-cli-distrib/doc/samples/WSMan/checksensorhealth.pl If I get some free cycles I will try to get this working, nice to have indeed, but I cannot give you any time path, sorry.

0 Kudos