[Xymon] Regular expressions
David Baldwin
david.baldwin at ausport.gov.au
Wed Jun 12 01:21:02 CEST 2013
On 12/06/13 5:07 AM, 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.
>
>
I think it's all or nothing with regexp.
Try:
HOST=* EXHOST=%(iadccmp1|iadccmp2|apaccmp1|apaccmp2|stn380esx.*)
David.
--
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission http://ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130612/d5528220/attachment.html>
More information about the Xymon
mailing list