VMware Cloud Community
ParseMeHard
Contributor
Contributor
Jump to solution

CIM Monitoring for Temperature ESXi 5.x

Hey Guys,

I am trying to monitor the Temperature Sensors via CIM Monitoring. I have been looking around the Class Hierarchy list (https://www.vmware.com/support/developer/cim-sdk/smash/u2/ga/apirefdoc/CIM_ManagedElement.html) but it's not really getting me anywhere.

My namespace is root/cimv2, and my Class is VMware_DiscreteSensor.

What Property do I need to be looking in? HealthState? OperatingStatus?

If I could just get a exact text dump of the Sensor Reading (shown below) I would be set.

vmscap.PNG

Tags (2)
1 Solution

Accepted Solutions
ParseMeHard
Contributor
Contributor
Jump to solution

I figured it out guys.

I set my CIM Target Namespace to root/cimv2

Class: CIM_NumericSensor

Property: CurrentReading

Then I spent the last two hours testing each Instance. I'm pretty sure the instance's are based upon the Motherboard, but for the Intel S5520UR, here are my results:

OMC_NumericSensor;DeviceID='16.0.32.99' system board 1 bb +1.1v IOH

OMC_NumericSensor;DeviceID='17.0.32.99' system board 1 bb +1.1v p2 vccp

OMC_NumericSensor;DeviceID='18.0.32.99' power supply 2 ps2 power in

OMC_NumericSensor;DeviceID='19.0.32.99' system board 2 mem p1 therm margin

OMC_NumericSensor;DeviceID='20.0.32.99' system board 1 bb +1.5 p2 ddr3

OMC_NumericSensor;DeviceID='21.0.32.99' system board 1 bb +1.8v aux

OMC_NumericSensor;DeviceID='22.0.32.99' ???

OMC_NumericSensor;DeviceID='23.0.32.99' System board 1 bb +3.3v stby

OMC_NumericSensor;DeviceID='24.0.32.99' system board 1 bb +3.3v+

OMC_NumericSensor;DeviceID='25.0.32.99' system board 1 bb +5.0v

OMC_NumericSensor;DeviceID='26.0.32.99' ???

OMC_NumericSensor;DeviceID='27.0.32.99' system board 1 bb +12.0v

OMC_NumericSensor;DeviceID='28.0.32.99' system board 1 bb -12.0v

OMC_NumericSensor;DeviceID='32.0.32.99' system board 1 basebnoard temp

OMC_NumericSensor;DeviceID='33.0.32.99' front panel board 1 front panel temp

OMC_NumericSensor;DeviceID='34.0.32.99' system board 1 IOH therm margin

OMC_NumericSensor;DeviceID='35.0.32.99' system board 1 mem p1 therm margin

OMC_NumericSensor;DeviceID='36.0.32.99' system board 2 mem p2 therm margin

OMC_NumericSensor;DeviceID='49.0.32.99' fan device 2 system fan 2

OMC_NumericSensor;DeviceID='51.0.32.99' fan device 4 system fan 4

OMC_NumericSensor;DeviceID='56.0.32.99' fan device 5 system fan 5

OMC_NumericSensor;DeviceID='82.0.32.99' power supply 1 ps1 power in

OMC_NumericSensor;DeviceID='83.0.32.99' ??? power supply 2 ps2 curr out

OMC_NumericSensor;DeviceID='84.0.32.99' ??? system board 1 mem p1 therm margn

OMC_NumericSensor;DeviceID='85.0.32.99' ??? system board 2 mem p2 therm margn

OMC_NumericSensor;DeviceID='86.0.32.99' power supply 1 ps1 temprature

OMC_NumericSensor;DeviceID='87.0.32.99' power supply 2 ps2 temprature

OMC_NumericSensor;DeviceID='98.0.32.99' processor 1 p1 therm margin

OMC_NumericSensor;DeviceID='99.0.32.99' processor 2 p2 therm margin

Figured I'd post in case someone was searching Google.

View solution in original post

Reply
0 Kudos
4 Replies
DavoudTeimouri
Virtuoso
Virtuoso
Jump to solution

Hi,

What type or brand of server is using by you?

BR

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
Reply
0 Kudos
JarryG
Expert
Expert
Jump to solution

"...If I could just get a exact text dump of the Sensor Reading..."

IIRC, ESXi is using lm_sensors, so you can get the same reading as text...

_____________________________________________ If you found my answer useful please do *not* mark it as "correct" or "helpful". It is hard to pretend being noob with all those points! 😉
Reply
0 Kudos
ParseMeHard
Contributor
Contributor
Jump to solution

We build our own servers. This specific server:

Intel S5520UR Motherboard

2x Intel Xeon E5 CPUs

Intel RS2BL080 RAID Card

Everything is on the HCL, It's just not an HP/Dell/Lenovo.

Reply
0 Kudos
ParseMeHard
Contributor
Contributor
Jump to solution

I figured it out guys.

I set my CIM Target Namespace to root/cimv2

Class: CIM_NumericSensor

Property: CurrentReading

Then I spent the last two hours testing each Instance. I'm pretty sure the instance's are based upon the Motherboard, but for the Intel S5520UR, here are my results:

OMC_NumericSensor;DeviceID='16.0.32.99' system board 1 bb +1.1v IOH

OMC_NumericSensor;DeviceID='17.0.32.99' system board 1 bb +1.1v p2 vccp

OMC_NumericSensor;DeviceID='18.0.32.99' power supply 2 ps2 power in

OMC_NumericSensor;DeviceID='19.0.32.99' system board 2 mem p1 therm margin

OMC_NumericSensor;DeviceID='20.0.32.99' system board 1 bb +1.5 p2 ddr3

OMC_NumericSensor;DeviceID='21.0.32.99' system board 1 bb +1.8v aux

OMC_NumericSensor;DeviceID='22.0.32.99' ???

OMC_NumericSensor;DeviceID='23.0.32.99' System board 1 bb +3.3v stby

OMC_NumericSensor;DeviceID='24.0.32.99' system board 1 bb +3.3v+

OMC_NumericSensor;DeviceID='25.0.32.99' system board 1 bb +5.0v

OMC_NumericSensor;DeviceID='26.0.32.99' ???

OMC_NumericSensor;DeviceID='27.0.32.99' system board 1 bb +12.0v

OMC_NumericSensor;DeviceID='28.0.32.99' system board 1 bb -12.0v

OMC_NumericSensor;DeviceID='32.0.32.99' system board 1 basebnoard temp

OMC_NumericSensor;DeviceID='33.0.32.99' front panel board 1 front panel temp

OMC_NumericSensor;DeviceID='34.0.32.99' system board 1 IOH therm margin

OMC_NumericSensor;DeviceID='35.0.32.99' system board 1 mem p1 therm margin

OMC_NumericSensor;DeviceID='36.0.32.99' system board 2 mem p2 therm margin

OMC_NumericSensor;DeviceID='49.0.32.99' fan device 2 system fan 2

OMC_NumericSensor;DeviceID='51.0.32.99' fan device 4 system fan 4

OMC_NumericSensor;DeviceID='56.0.32.99' fan device 5 system fan 5

OMC_NumericSensor;DeviceID='82.0.32.99' power supply 1 ps1 power in

OMC_NumericSensor;DeviceID='83.0.32.99' ??? power supply 2 ps2 curr out

OMC_NumericSensor;DeviceID='84.0.32.99' ??? system board 1 mem p1 therm margn

OMC_NumericSensor;DeviceID='85.0.32.99' ??? system board 2 mem p2 therm margn

OMC_NumericSensor;DeviceID='86.0.32.99' power supply 1 ps1 temprature

OMC_NumericSensor;DeviceID='87.0.32.99' power supply 2 ps2 temprature

OMC_NumericSensor;DeviceID='98.0.32.99' processor 1 p1 therm margin

OMC_NumericSensor;DeviceID='99.0.32.99' processor 2 p2 therm margin

Figured I'd post in case someone was searching Google.

Reply
0 Kudos