[hobbit] hobbit 4.1.0 alerts config
Henrik Stoerner
henrik at hswn.dk
Mon Jul 25 16:02:28 CEST 2005
On Mon, Jul 25, 2005 at 08:26:57AM -0500, steve wrote:
> A slice of my cfg file:
>
> $AGOPS=someone at somewhere.com
> $BADCOLORS='COLOR=red,purple'
> $OPTS='DURATION>5 RECOVERED REPEAT=1h FORMAT=TEXT'
>
> HOST=* EXPAGE=tier1
> MAIL $AGOPS $OPTS $BADCOLORS
>
> But hobbitd_alert --dump-config now yields:
>
> EXPAGE=tier1 HOST=*
> MAIL someone at somewhere.com FORMAT=TEXT REPEAT=30
> MAIL 'DURATION>5 FORMAT=TEXT REPEAT=30
> MAIL 'COLOR=red,purple' FORMAT=TEXT REPEAT=30
You shouldn't have those quotes in the macros - it will work if
you remove them.
I know why the behaviour changed, and it wasn't intentional.
Sorry.
Henrik
More information about the Xymon
mailing list