[smokeping-users] different alert email addresses

Ketil Froyn lists at ketil.froyn.name
Fri Aug 13 15:43:24 MEST 2004


I guess this is a feature request, unless I've missed some configuration
options. I'd like to get smokeping to send email to different recipients
depending on which alert matched. For instance, I'd like to do something
like this:

*** Alerts ***
to = watch at example.com
from = smokeping at example.com

type = loss
# in percent
pattern = >80%
comment = might be down

type = loss
# in percent
pattern = <20%,<20%,>80%,>80%,>80%
to = send-sms at example.com
comment = DOWN!

And in this case, I would expect the longdown alert to be sent to
send-sms at example.com in addition to watch at example.com. Is something like
this possible? I guess one workaround is to do something like this

to = |/bin/send-alerts

and match the alert and send mail to the right addresses, but I'd much
prefer to keep all configuration in one place.


Ketil Froyn
ketil at froyn.name

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