Ad Widget

Collapse

how to monitor cpu temperature on linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • remnts
    Junior Member
    • Nov 2012
    • 14

    #1

    how to monitor cpu temperature on linux

    researching on the web I found that it is possible to monitor the temperature are the cpu or MB linux with lmsensors team, has anyone tried a different solution, eg SNMP,
    Help!
  • 0siris
    Member
    Zabbix Certified Specialist
    • Nov 2010
    • 76

    #2
    perhaps you can directly query it using IPMI, or if that's not possible, just create a user parameter using lmsensors

    Comment

    • remnts
      Junior Member
      • Nov 2012
      • 14

      #3
      help

      dear, you have a guide how to implement them with zabbix IPMI?
      I have some doubts as to implement it.

      Comment

      • 0siris
        Member
        Zabbix Certified Specialist
        • Nov 2010
        • 76

        #4
        First, does your mainbord support some form of IPMI?

        Comment

        • remnts
          Junior Member
          • Nov 2012
          • 14

          #5
          estimated, and investigate how it works IPMI, some things are clear me, but only if you help me with some guidance to configure and monitor the temperature are teams from zabbix frontend,
          regards,

          Comment

          • Javier
            Member
            Zabbix Certified Specialist
            • Jan 2010
            • 58

            #6
            To monitoring cpu temperature on linux I use the lm-sensors package.
            In zabbix_agentd.conf I create a new UserParameter, in my case:
            Code:
            UserParameter=system.temp0, sensors  |  awk '/^Ch. 0/ {print substr($5,2,4);}'
            And then since zabbix-server IS monitoring the new key: system.temp0

            Comment

            • remnts
              Junior Member
              • Nov 2012
              • 14

              #7
              Originally posted by Javier
              To monitoring cpu temperature on linux I use the lm-sensors package.
              In zabbix_agentd.conf I create a new UserParameter, in my case:
              Code:
              UserParameter=system.temp0, sensors  |  awk '/^Ch. 0/ {print substr($5,2,4);}'
              And then since zabbix-server IS monitoring the new key: system.temp0
              I took your recommendation and I need you clarify the following:

              I have the output of the temperature settings of my server, are as follows for Core 0:
              Userbk # sensors | grep "Core 0" | awk '{print $ 3}' | cut-c 2-3
              Check out:
              34
              37
              In the file /etc/zabbix/zabbix_agentd.conf add the following line:
              UserParameter = sensor.core0, sensors | grep "Core 0" | awk '{print $ 3}' | cut-c 2-3

              How do I add a new item to obtain the graph of cpu temperatures???
              Please help

              Comment

              • puchrojo
                Junior Member
                • Aug 2013
                • 4

                #8
                Maybe so: https://myopsblog.wordpress.com/2016...g-with-zabbix/

                Comment

                Working...