Ad Widget

Collapse

Delaying trigger activation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnl
    Junior Member
    • Jan 2005
    • 27

    #1

    Delaying trigger activation

    is it possible to have a trigger wait a period of time before activating i.e. i would like a trigger to check if a service is down and only activate if the service is down for more than 60 seconds. we would like to be able to bounce services without triggering an alarm.

    thanks.
  • joe
    Junior Member
    • Nov 2004
    • 27

    #2
    John,

    I believe that is a function of how you configure the trigger.

    I have a trigger that says: {server:icmppingsec.max(180)}=0

    Meaning, if Zabbix doesn't get a ping reply for 180 seconds (3 minutes, but 6 zabbix checks at the default of 30 seconds), then it causes an alarm.

    I believe the last, min, and max keywords can work on any numeric monitored value.

    joe

    Comment

    • B_A_C_H
      Junior Member
      • Dec 2004
      • 4

      #3
      Originally posted by johnl
      is it possible to have a trigger wait a period of time before activating i.e. i would like a trigger to check if a service is down and only activate if the service is down for more than 60 seconds. we would like to be able to bounce services without triggering an alarm.

      thanks.
      I would suggest something like this
      ({hostname:service.max(180)}=1)&({hostname:service .min(180)}=1)

      Comment

      • johnl
        Junior Member
        • Jan 2005
        • 27

        #4
        thanks for the help. tried to get trigger working with max/min but it didnt want to work. tried the following and this worked fine!

        ({server:check_port[ip,port].last(0)}=0)&({server:check_port[ip,port].delta(180)}=0)

        regards,
        john

        Comment

        Working...