NetXMS agent temperature readouts

Started by xenth, April 17, 2008, 04:55:15 PM

Previous topic - Next topic

xenth

Would this be possible to implement?  I know you are probably getting the
temperature for the HDD from S.M.A.R.T. but is it possible to get a processor temp readout for example?

Or even other components, chipset, VGA ?


Alex Kirhenshtein

#2
Yes, it is possible (at least I know how to do it on Linux).

As temporary workaround (linux only?) you can use lmsensors wrapped with some script.

Something like this:

sensors -A -u coretemp-isa-0000|grep 'temp1_input'|awk '{print $2;}' - this will report temperature of the first core in my workstation.

sensors -A -u coretemp-isa-0001|grep 'temp1_input'|awk '{print $2;}' - another core.

sensors -A -u coretemp-isa-0002|grep 'temp1_input'|awk '{print $2;}' - 3rd, etc.


Update:
GPU temperature for nVidia cards:
nvclock -T|grep temperature|awk '{print $4;}'|cut -dC -f1

xenth

Hello,

Thank you for this, unfortunately the most of all my monitoring is on windows nodes  :( Thanks anyway.