Ad Widget

Collapse

UserParameter Temperature

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

    #1

    UserParameter Temperature

    can someone help me with the correct parameters to monitor the temperature of MB and CPU with zabbix agent with LM-Sensors?
    These parameters found them in another post.
    UserParameter = sensor.temp1, sensors | grep "M / B" | cut-c15-16
    UserParameter = sensor.temp2, sensors | grep CPU | cut-c15-16
    And these others:
    UserParameter = sensor.temp1, sensors | grep 'temp1' | awk '{print $ 2 +0}'
    UserParameter = sensor.temp2, sensors | grep 'temp2' | awk '{print $ 2 +0}'
    UserParameter = sensor.temp3, sensors | grep "temp3" | awk '{print $ 2 +0}'

    Which are correct?
  • 0siris
    Member
    Zabbix Certified Specialist
    • Nov 2010
    • 76

    #2
    Originally posted by remnts
    Which are correct?
    The ones that work for you? What is the output of those commands on your system(s)?

    Comment

    • remnts
      Junior Member
      • Nov 2012
      • 14

      #3
      I tested the 2 lines in shell but the output does not show me anything, someone could help put parameters correctly,
      userbk:~$ sensors | grep "coretemp" | awk '{print $ 2 +0}'
      0
      0
      0
      0
      0
      0
      0
      0
      userbk:~$ sensors | grep "coretemp" | cut-c15-16
      -bash: cut-c15-16: no se encontró la orden




      also attached the sensors command output for my computer


      userbk:~$ sensors
      i5k_amb-isa-0000
      Adapter: ISA adapter
      Ch. 0 DIMM 0: +51.0°C (low = +105.0°C, high = +120.0°C)
      Ch. 1 DIMM 0: +51.0°C (low = +105.0°C, high = +120.0°C)
      Ch. 2 DIMM 0: +46.0°C (low = +105.0°C, high = +120.0°C)
      Ch. 3 DIMM 0: +48.5°C (low = +105.0°C, high = +120.0°C)

      coretemp-isa-0000
      Adapter: ISA adapter
      Core 0: +36.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0001
      Adapter: ISA adapter
      Core 0: +39.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0002
      Adapter: ISA adapter
      Core 1: +36.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0003
      Adapter: ISA adapter
      Core 1: +39.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0004
      Adapter: ISA adapter
      Core 2: +33.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0005
      Adapter: ISA adapter
      Core 2: +35.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0006
      Adapter: ISA adapter
      Core 3: +33.0°C (high = +80.0°C, crit = +100.0°C)

      coretemp-isa-0007
      Adapter: ISA adapter
      Core 3: +37.0°C (high = +80.0°C, crit = +100.0°C)

      Comment

      • remnts
        Junior Member
        • Nov 2012
        • 14

        #4
        Work

        The following parameters function as follows:
        userbk:~$ sensors |grep "Core 3" |awk {'print $3'} |cut -d"+" -f2 | cut -c1-2

        as I do to show me the temperature of the 7 cores having my server?
        What should I change?

        Comment

        Working...