[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Alert Syntax and Notification log mismatch



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