PDA

View Full Version : Delaying triggers


Huy Dinh
28-02-2006, 12:49
I would like to have triggers only trigger after e. g. the 3rd time a trigger condition is true. Since last doesn't take any parameters, I can't check that using last(2), for example.

Any ideas how to solve this?

cameronsto
28-02-2006, 13:57
The new feature in in the Beta7 announcement (http://www.zabbix.com/forum/showthread.php?t=2225) titled "Support of #N in parameters of trigger functions." should accomplish what you're wanting.

-cameron

sauron
28-02-2006, 13:57
create complex trigger and use in expression agregate function.
i.e. i.m use trigger with 5 min delay.

Huy Dinh
28-02-2006, 14:45
Okay, that works. Thanks a lot.

One more thing: I have some items that are checked every 15 minutes. Is there any way to have those items checked every minute, iff the previous check reached a certain threshold and have that item checked every 15 minutes, when it returned below the threshold?

bbrendon
28-02-2006, 19:50
Okay, that works. Thanks a lot.

One more thing: I have some items that are checked every 15 minutes. Is there any way to have those items checked every minute, iff the previous check reached a certain threshold and have that item checked every 15 minutes, when it returned below the threshold?
Sounds like it could be useful, but no. Maybe add it as a feature request. sf.net/projects/zabbix/