[smokeping-users] miniloss example alert creates a lot of alternating alerts

Marc Haber mh+smokeping-users at zugschlus.de
Thu Jul 22 12:30:26 CEST 2010


Hi,

On Wed, Jul 21, 2010 at 08:44:40AM +0200, Marc Haber wrote:
> or to have it stay raised even if the current loss is 0%, like
> 
>         +miniloss
>         type = loss
>         # in percent
>         pattern = >0%,*12*,>0%,*12*,>0%,*12*
>         comment = detected loss 3 times over the last two hours

this doesn't seem to work.

With a pattern = >0%,*12*,>0%,*12*,>0%,*12*

I had the alert (correctly) raised on this data line:

loss: 0%, 0%, 0%, 0%, 5%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%,
      0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 5%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%,
      0%, 0%, 5%, 0%, 0%, 5%

but it cleared a few minutes later on this:

loss: 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 0%, 5%, 0%, 0%, 0%,
      0%, 0%, 0%, 0%, 0%, 0%, 0%, 5%, 0%, 0%, 5%, 0%, 0%, 0%, 0%, 0%, 0%,
      0%, 0%, 0%, 0%, 0%, 0%

What am I doing wrong?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



More information about the smokeping-users mailing list