Ad Widget

Collapse

1-witre ds9097e and digitemp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sebastian.s
    Junior Member
    • Feb 2012
    • 2

    #1

    1-witre ds9097e and digitemp

    Hello

    I'm new in the zabbix world, i wont to present teperature of my server room on the graphs.

    I had ds9097e 1-wire serial adapter and few ds1820b sensors.
    In the shell i can read teperature with command:
    Code:
    digitemp -c /usr/local/etc/digitemp.conf -a -q | grep 'Sensor 0' | cut -c29-34
    It response: 18.44

    I added userparameter:
    Code:
    UserParameter=sensor.temp1,digitemp -c /usr/local/etc/digitemp.conf -a -q | grep 'Sensor 0' | cut -c29-34
    and new application to Host Zabbix server
    and new item for this app - in the key i enter sensor.temp1 (i didn't find it on the list).

    I try to understand this but it dont work.
    The data are not collecting.

    in the log of zabbix agent i have:
    Code:
    sh: digitemp: not found
    Any ideas to make it run?
  • eskytthe
    Senior Member
    Zabbix Certified Specialist
    • May 2011
    • 363

    #2
    Try to use full path to your command.
    br
    Erik

    Comment

    • sebastian.s
      Junior Member
      • Feb 2012
      • 2

      #3
      great. it finally works.

      Comment

      Working...