Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

CIM numericSensorInfo

$
0
0

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;


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>