Xymon Mailing List Archive search

Regular expressions

list Michael Beatty
Tue, 11 Jun 2013 15:29:38 -0400
Message-Id: <user-0f41a9b915fd@xymon.invalid>

If you are going to do a regx, you have to use %.   I see you are 
missing it for your HOST
Try:

HOST=%* EXHOST=%(iadjapa)ccmp.*,%stn380esx.*

Michael Beatty
Sherwin-Williams
IT Analyst/Developer
user-4aea7c115850@xymon.invalid
XXX-XXX-XXXX

On 06/11/2013 03:07 PM, Root, Paul T wrote:
I can seem to get the hang of this.

HOST=* EXHOST=iadccmp1,iadccmp2,apaccmp1,apaccmp2,%stn380esx.*

Doesn't work.  Does the % have to be at the beginning? Does EXHOST not 
work for it? Of course, what I really want is:

HOST=* EXHOST=%(iad|apa)ccmp.*,%stn380esx.*

That didn't work either.