Ad Widget

Collapse

About CPU temperature monitoring

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • helder
    Junior Member
    • Feb 2025
    • 2

    #1

    About CPU temperature monitoring

    Hey guys, how you doing?

    I'm new to Zabbix and I was configuring some templates at the company where I work and found some ready templates for temperature monitoring.

    My question is this: Why do we have several CPU temperature items? Is just one item not enough?
    Click image for larger version

Name:	image.png
Views:	689
Size:	38.6 KB
ID:	498929
  • Answer selected by helder at 14-02-2025, 08:30.
    Brambo
    Senior Member
    • Jul 2023
    • 245

    Intel CPU's report per core a temperature, I believe some do a die temperature as well.
    I you want an average temperature create a calculated item in your template, with avg(last_foreach(your item key with a wildcard to match them all))

    Comment


    • helder
      helder commented
      Editing a comment
      From what I understand, that's it. It's like the temperature of each core. I'll try to do this average calculation, thanks!
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    What template this is? It would be much easier to look up, what it is doing..

    Comment


    • helder
      helder commented
      Editing a comment
      It is a template that had already been created for temperature monitoring. I'ts a Temperature Sensors Raw Data template which uses the parameter
      GetTemperature as key.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #3
    So something you or someone from your organization has created? Sorry, cannot help, we have no idea, what you have built there..

    Comment


    • helder
      helder commented
      Editing a comment
      Someone at my company created it. It uses a script (.json) that is located in the local zabbix directory on each host.
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #4
    Intel CPU's report per core a temperature, I believe some do a die temperature as well.
    I you want an average temperature create a calculated item in your template, with avg(last_foreach(your item key with a wildcard to match them all))

    Comment


    • helder
      helder commented
      Editing a comment
      From what I understand, that's it. It's like the temperature of each core. I'll try to do this average calculation, thanks!
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #5
    helder if the original script uses lmsensors on a linux machine. A big chance that $.["coretemp-isa-0000"].["Package id 0"].temp1_input is the jsonpath of the cpu temp (the average entire cpu)
    With Lm sensor you can also grab southbridge temperature and ACPI
    for AMD cpu, CPU / GPU and if you have an NVME that temperature will be reported as well.

    I don't know how the output is from a windows machine as I don't have any with sensor data.

    Comment


    • helder
      helder commented
      Editing a comment
      The server where Zabbix is ​​hosted is Linux, but our monitored equipment is Windows. We have some with AMD processors and others with Intel processors. The temperature collection script is able to get metrics for both types of processors. Anyway, thank you very much for your help, friend!
Working...