Author Topic: NetXMS agent temperature readouts  (Read 4070 times)

xenth

  • Full Member
  • ***
  • Posts: 130
    • View Profile
NetXMS agent temperature readouts
« on: April 17, 2008, 04:55:15 pm »
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 ?

xenth

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: NetXMS agent temperature readouts
« Reply #1 on: April 28, 2008, 02:01:43 pm »
Bump

Alex Kirhenshtein

  • Team Member
  • Administrator
  • Hero Member
  • *****
  • Posts: 970
    • View Profile
Re: NetXMS agent temperature readouts
« Reply #2 on: April 28, 2008, 07:59:14 pm »
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:

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

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

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


Update:
GPU temperature for nVidia cards:
Code: [Select]
nvclock -T|grep temperature|awk '{print $4;}'|cut -dC -f1
« Last Edit: April 28, 2008, 08:05:59 pm by Alex Kirhenshtein »

xenth

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: NetXMS agent temperature readouts
« Reply #3 on: May 02, 2008, 03:05:52 pm »
Hello,

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