Hi,

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 = [EMAIL PROTECTED]
from = [EMAIL PROTECTED]

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

+longdown
type = loss
# in percent
pattern = <20%,<20%,>80%,>80%,>80%
to = [EMAIL PROTECTED]
comment = DOWN!

And in this case, I would expect the longdown alert to be sent to
[EMAIL PROTECTED] in addition to [EMAIL PROTECTED] 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.

Thanks.

Ketil Froyn
[EMAIL PROTECTED]
http://ketil.froyn.name/

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to