PDA

View Full Version : Delaying trigger activation


johnl
02-02-2005, 18:47
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
02-02-2005, 21:27
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

B_A_C_H
03-02-2005, 09:09
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)

johnl
15-02-2005, 15:30
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