hobbit 4.1.0 alerts config
list Steve
Greetings!
Did miss something with a hobbit-alerts.cfg configuration change ?
A slice of my cfg file:
$AGOPS=user-47d72ce84f5e@xymon.invalid
$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 user-47d72ce84f5e@xymon.invalid FORMAT=TEXT REPEAT=30
MAIL 'DURATION>5 FORMAT=TEXT REPEAT=30
MAIL 'COLOR=red,purple' FORMAT=TEXT REPEAT=30
Which now tries to mail to DURATION and COLOR=red and sends out YELLOW
alerts as well. Was working previously.
--
steve
list Henrik Størner
▸
On Mon, Jul 25, 2005 at 08:26:57AM -0500, steve wrote:
A slice of my cfg file:
$AGOPS=user-47d72ce84f5e@xymon.invalid
$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 user-47d72ce84f5e@xymon.invalid FORMAT=TEXT REPEAT=30
MAIL 'DURATION>5 FORMAT=TEXT REPEAT=30
MAIL 'COLOR=red,purple' FORMAT=TEXT REPEAT=30You 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
list Steve
▸
On 07/25/2005 09:02 AM, Henrik Stoerner wrote:
On Mon, Jul 25, 2005 at 08:26:57AM -0500, steve wrote:A slice of my cfg file: $AGOPS=user-47d72ce84f5e@xymon.invalid $BADCOLORS='COLOR=red,purple' $OPTS='DURATION>5 RECOVERED REPEAT=1h FORMAT=TEXT'You shouldn't have those quotes in the macros - it will work if you remove them.
That did it. Usually with variables with spaces you need to quote.
I know why the behaviour changed, and it wasn't intentional. Sorry.
Thank you! I do appreciate all your efforts. -- steve