Ad Widget

Collapse

Delaying triggers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Huy Dinh
    Junior Member
    • Jan 2006
    • 5

    #1

    Delaying triggers

    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?
    Last edited by Huy Dinh; 28-02-2006, 13:49. Reason: Typo
  • cameronsto
    Senior Member
    • Oct 2005
    • 148

    #2
    The new feature in in the Beta7 announcement titled "Support of #N in parameters of trigger functions." should accomplish what you're wanting.

    -cameron

    Comment

    • sauron
      Senior Member
      • Jan 2005
      • 215

      #3
      create complex trigger and use in expression agregate function.
      i.e. i.m use trigger with 5 min delay.

      Comment

      • Huy Dinh
        Junior Member
        • Jan 2006
        • 5

        #4
        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?

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #5
          Originally posted by Huy Dinh
          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/
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          Working...