Ad Widget

Collapse

Trigger flapping

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zabbbix
    Junior Member
    • Aug 2012
    • 8

    #1

    Trigger flapping

    Hi everyone,

    i created a trigger for my diskspace, if the freespace (%) is between 10% and 20% give me a warning, for a while it worked fine, even when i tested it after the inicident/problem.

    The problem was, that the trigger started to "flapp", if the value get into the configured limits, so the action send me a ton of mails.

    The trigger looks like this:

    ({TRIGGER.VALUE}=0&{System:vfs.fs.size[/,pfree].max(5m)}<10&{System:vfs.fs.size[/,pfree].max(5m)}>20) |
    ({TRIGGER.VALUE}=1&{System:vfs.fs.size[/,pfree].min(5m)}<10&{System:vfs.fs.size[/,pfree].min(5m)}>20)

    Maybe someone has an idea, because i couldn't replicate this "flapping" behaviour of the trigger.
  • heaje
    Senior Member
    Zabbix Certified Specialist
    • Sep 2009
    • 325

    #2
    Maybe I'm missing something, but I'm confused how this trigger ever goes off. If I read it right, you've specified for it to go off if the maximum is less than 10 AND greater than 20. It's impossible for the value to be less than 10 and greater than 20 at the same time.

    The next part seems odd to me too. It has the same problem. The trigger will only recover if the minimum value is less than 10 AND greater than 20. It can't be both at the same time .

    Comment

    • Zabbbix
      Junior Member
      • Aug 2012
      • 8

      #3
      sry, my fault, the trigger looks like this ... the other one was an older and incorrect version.
      This is the correct version.

      ({TRIGGER.VALUE}=0&{System:vfs.fs.size[/,pfree].max(5m)}<20&{System:vfs.fs.size[/,pfree].max(5m)}>10) | ({TRIGGER.VALUE}=1&{System:vfs.fs.size[/,pfree].min(5m)}<20&{System:vfs.fs.size[/,pfree].min(5m)}>10)

      Comment

      Working...