[smokeping-users] Re: Multiple Alerts, but with one holding priority
Eric Brander
eric_mailing_list at rednarb.com
Thu Aug 24 17:07:21 MEST 2006
Tobias Oetiker wrote:
> ~snip
>
> something like this would be rather simple to implement ... BUT
> it would require a sensible interface in the config file.
>
> any ideas on this?
>
> cheers
> tobi
Maybe a priority parameter for each alert could be added... then
Smokeping could do a check to see if a higher priority failure exists on
the same device then it could know to not bother sending an email alert
(though still logging to syslog would be ideal).
+OverFivePercent
type = loss
pattern = >5%,>5%,>5%
priority = 3
comment = Three or more polls showing greater than 5% packet loss.
+NoResponse
type = loss
pattern = ==100%
priority = 2
comment = Host not responding on 1 (or more) consecutive intervals
+OfflineAtStart
type = rtt
pattern = ==S,==U
priority = 1
comment = Smokeping was restarted and this device was already off-line.
Another nice parameter might be something to avoid returning a clear
status email for items we want to know trigger an alert but we don't
want to know when the pattern no longer matches. This would work well in
the OfflineAtStart alert. Your thoughts?
Thanks and Regards,
Eric Brander
--
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