[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Alert Syntax and Notification log mismatch
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Alert Syntax and Notification log mismatch
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Thu, 13 Oct 2005 22:34:29 +0200
- References: <20051013151812.GC5682@qwestip.net>
- User-agent: Mutt/1.5.6+20040907i
On Thu, Oct 13, 2005 at 11:18:12AM -0400, Asif Iqbal wrote:
>
> I did a bbcmd hobbit_alert --dump-config and looked for particular host testhost1
>
> HOST=%.* EXHOST=%testhost1(.*)
> MAIL sysadmin (at) here.net,oncall (at) here.net FORMAT=TEXT REPEAT=30 SERVICE=msgs DURATION>10
>
> HOST=%testhost1(.*) EXSERVICE="msgs,vmio"
> MAIL sysadmin (at) here.net,oncall (at) here.net FORMAT=TEXT REPEAT=30
> MAIL user (at) here.com,123456789 (at) skytel.com FORMAT=TEXT REPEAT=30
>
> HOST=%testhost1(.*) SERVICE="vmio"
> MAIL sysadmin (at) here.net FORMAT=TEXT REPEAT=30 DURATION>10
Asif's problem turned out to be the quotes he put around the SERVICE and
EXSERVICE parameters. EXSERVICE="msgs,vmio" does not work as expected,
but EXSERVICE=msgs,vmio does.
That is too tricky for my taste. I'll try and make it behave better.
Regards,
Henrik