Ad Widget

Collapse

Trouble with UserParameter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mOlive
    Junior Member
    • Feb 2010
    • 2

    #1

    Trouble with UserParameter

    Hi,

    I made a script to monitor temperature on my server.

    Code:
    UserParameter=sensor,sudo /usr/local/bin/sensors | grep temp1 | cut -c15-16
    I have configured the agent and when I test from the server the agent is ok :

    Code:
    # zabbix_get -s arthus.xxxx.lan -k 'sensor'
    68
    I have created an item :
    Code:
    Description : Temperature on $1 in degree
    Key : sensor
    I have created an trigger :
    Code:
    Name : Temperature is too high on {HOSTNAME}
    Expression : {arthus.xxxx.lan:sensor.last(0)}>70
    But I have an unknow value in the overview and no value in graph.

    Do you have a idea ?

    Regards
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    in item configuration, do you see any error listed for this item ? any errors regarding this item in server logfile ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • mOlive
      Junior Member
      • Feb 2010
      • 2

      #3
      Now, it's working...

      I don't know why.

      I changed the log level in Zabbix server to see some errors so I restarted it and that's start working...

      I reduced the log level and it's still working.

      Thanks for this "help".

      Regards

      Comment

      Working...