[smokeping-users] Re: Some questions
Nipper, Arnold
arnold at nipper.de
Fri Jul 4 13:56:13 MEST 2003
On Friday, July 04, 2003 1:46 PM, Ralf Hildebrandt
<Ralf.Hildebrandt at charite.de> wrote:
> 3) Alerts: Could somebody provide me with an alert example?
>
I'm monitoring a set of routers on an IXP LAN and want to know when RTT and
packet loss goes up or when actually a router drops out. Here is how the
config looks like
# Begin snippet
*** Alerts ***
from = xxxx
to = yyyy
+ lossdetect
type = loss
pattern = ==0%,==0%,==0%,>2%,>2%,>2%
comment = dropping more than 2% packets
+ noloss
type = loss
pattern = >2%,>2%,>2%,==0%,==0%,==0%
comment = packet loss back to normal
+ rtthigh
type = rtt
pattern = <2,<2,<2,>4,>4,>4
comment = RTT more than 4ms
+ rttnormal
type = rtt
pattern = >4,>4,>4,<2,<2,<2
comment = rtt normal again
+ unreachable
type = rtt
pattern = !=U,!=U,!=U,==U,==U,==U
comment = unreachable
+ reachable
type = rtt
pattern = ==U,==U,==U,!=U,!=U,!=U
comment = reachable again
....
+ XXXXXX
menu = XXXXX
title = blafasel blubb
alerts = unreachable,reachable,rtthigh,lossdetect,noloss,rttnormal
# End Example snippet
This automically sets the alert for all level levels below. Of course you
may override these settings on each level.
HTH, Arnold
--
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://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the smokeping-users
mailing list