NetXMS Support Forum

English Support => General Support => Topic started by: ArnaHud on June 25, 2015, 10:49:54 AM

Title: Server temperature
Post by: ArnaHud on June 25, 2015, 10:49:54 AM
Hi there !
Here's my problem : I want to get the temperature of my servers.
For this, I use :
"Temperature of CPU's thermal zone:
WMI.Query(root\WMI,"select * from MSAcpi_ThermalZoneTemperature",CurrentTemperature)
This temperature is in tenths of degrees Kelvin, so you need to add transformation script:
for Celsius:
($1-2730)/10"

The problem is, with that WMI query + transformation script, I always get 8 degrees ...
Is someone got this problem already ? Or is there another solution to get the temperature ?

Thanks,
Arnaud
Title: Re: Server temperature
Post by: Alex Kirhenshtein on June 25, 2015, 12:44:58 PM
I think I've seen only one server where this query was working properly.
Check this thread for another solution: https://www.netxms.org/forum/general-support/windows-temperature-monitoring-solution/