[smokeping-users] Re: How to stop alert from triggering on each cycle?

Tobias Oetiker oetiker+r at ee.ethz.ch
Sun May 8 17:24:22 MEST 2005


Today Marc Haber wrote:

> Hi,
>
> On Sun, May 08, 2005 at 05:05:28PM +0200, Tobias Oetiker wrote:
> > you have to 'anchor' your pattern ... eg
> >
> > pattern = ==0%,>0%,*12*,>0%,*12*,>0%
>
> If I see correctly, it will then send out one mail per cycle unless
> the "unreachable" has filled up all values, right?

no ... with your pattern it will send out alerts all the time since
the pattern matches always ... the trick with the patterns is that
you make them so that they only match when the condition starts to
occure ... so in your case the interesting ting is if you have

loss ... no-loss ... loss ... no-loss ... loss

in your test you are only testing

loss ... loss ... loss

cheers
tobi


>
> In my Opinion, smokeping should check whether it would have sent out a
> message the cycle before (that check is possible since history data is
> available) and only send out a message if it wouldn't have sent a
> message in the last cycle and would send one now.
>
> Greetings
> Marc
>
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
 / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list