Hi,
I want to share a learning with montoring DELL servers with ESXi 6.5.
The check_vmware_esx
script did’nt return any temperature sensor values when calling with -S runtime -s temp
. It looks only for sensors of type “temperature”, but these report their temperatures with type “other”.
Workaround:
there is a program block starting with if ($subselect eq "temp")
where sensors are selected in a loop.
Wrong sensor types are skipped by checking for sensor type not equal temperature.
I changed
if (lc($_->sensorType) ne 'temperature')
to
if (lc($_->baseUnits) !~ m/^degrees.*/)
and everything works - now looks for all sensor readings with base unit “degrees”.
Greetings,
Manfred