Xymon Mailing List Archive search

Suggestion for Defaults

list Asif Iqbal
Mon, 21 Feb 2005 14:03:10 -0500
Message-Id: <user-70c112b5b3d3@xymon.invalid>

On Mon, Feb 14, 2005 at 07:58:28AM, Henrik Stoerner wrote:
On Sun, Feb 13, 2005 at 12:38:07PM -0500, Asif Iqbal wrote:
[...] 
This was added in RC2. Doing

    MAIL user-b7c20e0da76a@xymon.invalid user-ef86c43926b6@xymon.invalid COLOR=red

will work as you expect it to. If you have a macro that expands to
several mail-adresses, then that will work too. Like

    $ADMINS="user-b7c20e0da76a@xymon.invalid user-143c88f2d522@xymon.invalid"

    HOST=*
        MAIL $ADMINS COLOR=red
I noticed if I have it setup like this

HOST=* SERVICE=msgs
	SCRIPT /path/to/script user-4dad1745a785@xymon.invalid user-55e81cd8542e@xymon.invalid FORMAT=TEXT

And then I did a test like ./bin/bbcmd hobbitd_alert --test host1 msgs 
I get like this

 *** Match with 'HOST=* SERVICE=msgs' ***
Script alert with command '/path/to/script' and recipient user-4dad1745a785@xymon.invalid
Mail alert with command 'mailx -s "BB [12345] host1:msgs is RED" user-55e81cd8542e@xymon.invalid'

Shouldn't the second like also be part of Script alert instead of Mail
alert?

Thanks for your help

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
 the one most responsive to change."    - Charles Darwin