Hello!! Everyone.
I coded the below by C#. But, the C# code cannot get the CIM sensors infomation.
*CIM (Common Information Model)
I found Numberofsensorsis 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#.
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;