Ad Widget

Collapse

Web alert delay

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicolasg
    Member
    • Apr 2011
    • 50

    #1

    Web alert delay

    Hi All,

    I have successful configure a web check trigger that checks the status of a health page every 60 seconds. When the healthcheck fails I receive an alert immediately, the trigger expression I have working is :
    {Web_Host:web.test.fail[Web_HTTP_Check_Scenario].last(0)}#0
    How can I extend the alert to be notified after 5 minutes that the health check have failed ? I have tried instead of last(0) to change it to last(5) as I thought this would mean 5x 60 seconds = 5 minutes but I keep receiving the alerts right away as as before.

    Regards,
    NG.
  • Ori0n
    Member
    • Dec 2010
    • 35

    #2
    Check the manual re: the last function. last(5) is equal to last(0). Try something like this instead:
    Code:
    {Web_Host:web.test.fail[Web_HTTP_Check_Scenario].sum(300)}>0
    http://www.zabbix.com/documentation/...onfig/triggers

    Originally posted by nicolasg
    Hi All,

    I have successful configure a web check trigger that checks the status of a health page every 60 seconds. When the healthcheck fails I receive an alert immediately, the trigger expression I have working is :


    How can I extend the alert to be notified after 5 minutes that the health check have failed ? I have tried instead of last(0) to change it to last(5) as I thought this would mean 5x 60 seconds = 5 minutes but I keep receiving the alerts right away as as before.

    Regards,
    NG.

    Comment

    • nicolasg
      Member
      • Apr 2011
      • 50

      #3
      Hi Ori0n, thanks for the reply.

      Unfortunately the triggers functions seems to be working a little bit different for the Web check alerts...

      The expression
      Code:
      .sum(300)}>0
      have a strange behavior, the alert is triggered right away when the problem occurs, when the problems is solved then the alert is cleared after 5 minutes ...

      Any ideas ?

      Comment

      Working...