Ad Widget

Collapse

Retrieving raw sensor readings from VMware hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mikalcarbine
    Junior Member
    • Jun 2025
    • 3

    #1

    Retrieving raw sensor readings from VMware hosts

    I have a 3 node cluster under a vCenter installation that I've added into my Zabbix 7.4.1 installation using the vCenter template. I have set {$VMWARE.HV.SENSOR.DISCOVERY} to true and it's discovering and pulling in all of my sensor states but it is only reporting their generic state (e.g. Green, Yellow or Red). Is it possible to pull in the raw sensor readings as well?

    I browsed my vCenter MOB and the data for each sensor numeric reading is all available under runtime.healthSystemRuntime.systemHealthInfo.numer icSensorInfo. I tried creating an item vmware.hv.hw.sensors.get[{$VMWARE.URL},{$VMWARE.HV.UUID}] to inspect the JSON but it's only reporting back sensor states here as well. The AI gods suggested trying vmware.hv.property[{$VMWARE.URL},{$VMWARE.HV.UUID}runtime.healthSyste mRuntime.systemHealthInfo] but I'm not seeing anything return. Going one directory further here in the key to runtime.healthSystemRuntime.systemHealthInfo.numer icSensorInfo gives me the error: Custom query error: only scalar values can be returned.

    Is there a way I can adjust the key to return the numericSensorInfo back as a JSON blob? Here's a snapshot of the beginning of my numericSensorInfo under the VMWare MOB:

    Click image for larger version

Name:	image.png
Views:	63
Size:	88.7 KB
ID:	508701

Working...