Xymon Mailing List Archive search

Suggestion for Defaults

list Asif Iqbal
Mon, 14 Feb 2005 02:14:22 -0500
Message-Id: <user-fbd416352353@xymon.invalid>

On Mon, Feb 14, 2005 at 12:08:21AM, Charles Jones wrote:
Henrik Stoerner 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

Wouldn't that be:

HOST=%.*
     MAIL $ADMINS COLOR=red
Both are right. You start with % if you choose to go with perl regular
expr

The reason I ask is because I am using HOST=%.*, and it seems to be 
working.  I thought it had to be a regex?

-Charles

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"...it said: Install Windows XP or better...so I installed Solaris..."