Ad Widget

Collapse

Looking for detailed tutorial/help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shabutaro
    Junior Member
    • Jun 2011
    • 1

    #1

    Looking for detailed tutorial/help

    Hi, i am new to zabbix and to this forum. My question is simple: I am looking for someone who can help me with the following issue: I want to run a script every 30 seconds which will check the temperature of my memory(?). The script:
    Code:
    #!/bin/bash
    
    sensors | awk '{print $5}' | sed -e 's/+//' -e 's/°C//' -e '/^$/d' | head -n1
    the outcome is 1 float (59.5) for example. If that value exceeds 75, i want a Trigger activate and and Action which will send me an email like: Temperature is too high!! Detected value > 75°C !

    I tried it with the following settings:




    But i don't get a Warning etc. (yes i made the value not exceeding 50 and my tem is about 60 to test if i get the trigger/mail)
    So please tell me what i did wrong or is there an easier way to do this.

    And all is on a local testserver!

    If i forgot something i will add it if you need id

    Thx

    Shabutaro
Working...