Hi all,
I run snmpwalk to get lmTemSensorsValue, it return:
LM-SENSORS-MIB::lmTempSensorsValue.1 = Gauge32: 43000
LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 34000
LM-SENSORS-MIB::lmTempSensorsValue.3 = Gauge32: 36000
LM-SENSORS-MIB::lmTempSensorsValue.4 = Gauge32: 32000
LM-SENSORS-MIB::lmTempSensorsValue.5 = Gauge32: 35000
LM-SENSORS-MIB::lmTempSensorsValue.6 = Gauge32: 36000
LM-SENSORS-MIB::lmTempSensorsValue.7 = Gauge32: 37000
LM-SENSORS-MIB::lmTempSensorsValue.8 = Gauge32: 35000
LM-SENSORS-MIB::lmTempSensorsValue.9 = Gauge32: 34000
LM-SENSORS-MIB::lmTempSensorsValue.10 = Gauge32: 37000
Then i check with "sensors" command,
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +43.0°C (high = +83.0°C, crit = +105.0°C)
Core 0: +38.0°C (high = +83.0°C, crit = +105.0°C)
Core 1: +37.0°C (high = +83.0°C, crit = +105.0°C)
Core 2: +38.0°C (high = +83.0°C, crit = +105.0°C)
Core 3: +36.0°C (high = +83.0°C, crit = +105.0°C)
Core 4: +41.0°C (high = +83.0°C, crit = +105.0°C)
Core 5: +39.0°C (high = +83.0°C, crit = +105.0°C)
Core 6: +38.0°C (high = +83.0°C, crit = +105.0°C)
Core 7: +43.0°C (high = +83.0°C, crit = +105.0°C)
coretemp-isa-0008
Adapter: ISA adapter
Physical id 1: +37.0°C (high = +83.0°C, crit = +105.0°C)
Core 0: +34.0°C (high = +83.0°C, crit = +105.0°C)
Core 1: +36.0°C (high = +83.0°C, crit = +105.0°C)
Core 2: +32.0°C (high = +83.0°C, crit = +105.0°C)
Core 3: +35.0°C (high = +83.0°C, crit = +105.0°C)
Core 4: +36.0°C (high = +83.0°C, crit = +105.0°C)
Core 5: +37.0°C (high = +83.0°C, crit = +105.0°C)
Core 6: +36.0°C (high = +83.0°C, crit = +105.0°C)
Core 7: +35.0°C (high = +83.0°C, crit = +105.0°C)
So, how to convert snmp value to celsius value?
Thanks.
Hi,
it seems that lmTempSensorsValue returns temperaure mesaured in 1/1000th of centigrade. The following simple transformation script on DCI will convert it:
return $1 / 1000;
Best regards,
Victor
Thanks Victor. :)