NetXMS Support Forum

English Support => General Support => Topic started by: alfmira on November 26, 2009, 07:37:58 PM

Title: CPU HEAT MONITORING DCI PARAMETERS
Post by: alfmira on November 26, 2009, 07:37:58 PM
HI, i am really new at this, i am trying to get the cpu heat of one of my servers witch has the agent, but i dont know the parameters to use.
Title: Re: CPU HEAT MONITORING DCI PARAMETERS
Post by: Alex Kirhenshtein on November 30, 2009, 03:32:07 PM
It's not supported "out of the box", but you can install lm_sensors (http://www.lm-sensors.org/) and setup custom parameter in agent configuration.

Example for Core0:
ExternalParameter = CPU.Temperature:/usr/bin/sensors|egrep 'Core\s*0'|cut -d: -f2|awk '{gsub("[^0-9\\.]", "", $1); print $1;}'

Unfortunately, lm_sensors output can differ from system to system (however this one works on two of my test servers), so you should check and probably adjust my sample.

More information on ExternalParemeter is available in documentation (we will upload updated version in a few days) or in the forum: link (https://www.netxms.org/forum/index.php/topic,643.msg3136.html#msg3136)