[smokeping-users] Issues with Alerts

Tobias Oetiker tobi at oetiker.ch
Sat May 29 10:04:58 CEST 2010


Yesterday Alan Scott wrote:

> Is there a way I can set a pattern that if the latency is over 40ms from
> anything it will send an alert???

you could do

pattern = <40,>40

or if you want to be a bit less trigger happy:

pattern = <40,<40,>40,>40

cheers
tobi


>
> Thanks for your help
>
>
> Alan Scott
>
> -----Original Message-----
> From: Tobias Oetiker [mailto:tobi at oetiker.ch]
> Sent: Friday, 28 May 2010 5:37 p.m.
> To: Alan Scott
> Cc: smokeping-users at lists.oetiker.ch
> Subject: Re: [smokeping-users] Issues with Alerts
>
> Hi Alan,
>
> Today Alan Scott wrote:
>
> > pattern = <25,>40
> >
> [...]
> > All I am after is to be sent an email if the latency changes from
> below
> > 24ms to above 40ms. Does this look correct or do I have the syntax
> > wrong?
>
> yes, but you pattern requires the latency to jump from <25 to >40
> in a single step ... so it would not match
>
>  24,31,41
>
> it would only match
>
>  24,41
>
> cheers
> tobi
>
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the smokeping-users mailing list