Hello!! Everyone.
I coded the below by C# on WebService SDK ver.5.1.
But, the C# code cannot get the CIM sensors infomation.
*CIM (Common Information Model)
I found Number of sensors is different between vCenter and ESXi.
Please see attached image.
The below three sensors are maybe CIM sensors.
System Event Log
Baseboard Management Controller
Other
I want to get THE CIM SENSORS numericSensorInfo by C#.
(especcially Baseboard Management Controller)
Please advice me.
Thanks.
H.N.
//healthstatus
ArrayList morlist = GetDecendentMoRefs(null, "HostSystem");
mor = (ManagedObjectReference)((object[])morlist[j])[0];
Object cmobj = ecb.getServiceUtilV25().GetDynamicProperty(mor, "configManager");
HostRuntimeInfo runtimeInfo2 = (HostRuntimeInfo)getObjectProperty(mor, "runtime");
HealthSystemRuntime hrun = runtimeInfo2.healthSystemRuntime;
HostNumericSensorInfo[] snm = hrun.systemHealthInfo.numericSensorInfo;
This can help (the PowerCLI way):