Ad Widget

Collapse

Delayed alarming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markusz
    Junior Member
    • Oct 2007
    • 7

    #1

    Delayed alarming

    Hi

    I'm running Zabbix for some time now and I'm very satisfied with it. Although, I have problems with a specific server on an external network. I cannot assume that every ping goes through to that server, and I get 2-3 alerts from zabbix every day.

    Isn't there a way to say "if the most recent trigger status was false, wait another 20 seconds, try it again and if it still fails, alarm me"?

    I know other monitoring solutions have this concept, and I'm pretty sure Zabbix has it as well, I just couldn't find anything about this.
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    Well..
    maybe you could add a new trigger with the following expression
    {ITEMNAME.last(0)}=0 and {ITEMNAME.last(1)}=0
    configuring the colected values refresh rate to 20sec.

    (Modify ITEMNAME to your item's name)

    Comment

    • markusz
      Junior Member
      • Oct 2007
      • 7

      #3
      Hey

      Thanks for your reply. I used:

      {Template_MyServers:net.tcp.service[http].last(0)}=0 & {Template_MyServers:net.tcp.service[http].last(1)}=0

      but it does still trigger after the first 20 seconds :-/

      Comment

      • Kai-Kai
        Senior Member
        • Apr 2009
        • 142

        #4
        Perhaps this topic can help you :


        According to me, the solution to do what you want is iffectively to see more than the last value. For example the last 2 ou 3 values.

        If up = 1 and down = 0, you can use for example :
        {Template_MyServers:net.tcp.service[ping].sum(#3)}<2 or {Template_MyServers:net.tcp.service[ping].sum(#2)}=0...

        tcp.service[http]
        You ask a question concerning ping. In your example you use http.
        Do you check ping or another thing ?

        Comment

        Working...