Greetings!
Did miss something with a hobbit-alerts.cfg configuration change ?
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
Which now tries to mail to DURATION and COLOR=red and sends out YELLOW alerts as well. Was working previously.
-- steve
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
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=someone at somewhere.com $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
participants (2)
-
henrik@hswn.dk
-
sladewig@bankinfo.com