[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Alerts
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Alerts
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Wed, 10 Oct 2007 12:38:33 +0200
- References: <29D40A034DC4994BA998814958B6E3BC498EF3 (at) emailsvr01.metsi.com>
- User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Oct 10, 2007 at 11:04:07AM +0200, Nikesh Maharaj wrote:
> In my alert rules,
> HOST=*
> MAIL webadmin (at) foo.com SERVICE=http FORMAT=PLAIN
>
> My question is, can I add another email address to MAIL? Can I also add
> another service ? will this be using a comma to separate them
>
> Like MAIL webadmin (at) foo.com, goofy (at) disney.com SERVICE=http,disk,cpu
Very simple answer: Yes.
Slightly longer answer: See the hobbit-alerts.cfg man page. The MAIL
command accepts multiple recipients separated with commas. The SERVICE
rule can use either a comma-separated list or a regular expression (then
you must put a '%' in front of the regex).
Henrik