Re: [Nagios-users] regular expression matching.

2006-08-18 Thread John A. Sullivan III
forge.net > > Subject: [Nagios-users] regular expression matching. > > > > > > The Nagios documentation relating to the "regular expression" matching > > seems very thin to me. And not quite clear. > > > > It appears, by example, that the onl

Re: [Nagios-users] regular expression matching.

2006-08-18 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Christian Hedegaard > Sent: Friday, August 18, 2006 1:44 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] regular expression matching.

Re: [Nagios-users] regular expression matching.

2006-08-18 Thread John A. Sullivan III
On Fri, 2006-08-18 at 11:44 -0700, Christian Hedegaard wrote: > The Nagios documentation relating to the "regular expression" matching > seems very thin to me. And not quite clear. > > It appears, by example, that the only regular expressions you can use > are "*" and "?", which I would just consi

Re: [Nagios-users] regular expression matching.

2006-08-18 Thread John R. Daily
"*" is not a valid regular expression (the docs are wrong, IIRC). You want ".*", like: >> host_name .* -John On Aug 18, 2006, at 4:05 PM, Christian Hedegaard wrote: > >> define serviceescalation{ >> host_name * >> service_des

Re: [Nagios-users] regular expression matching.

2006-08-18 Thread Christian Hedegaard
> define serviceescalation{ > host_name * > service_description * > first_notification 3 > last_notification 0 > contact_groups > on-duty-pagers,off-duty-pagers,operations-email > notificat

Re: [Nagios-users] regular expression matching.

2006-08-18 Thread smiller
I am also interested in hearing more about this... I had no luck trying to use forward assertions in order to omit a few select hosts from a service definition. Thank you, Christian. --- Steve Miller <[EMAIL PROTECTED]> Network Engineer Information Technology Department County of San Luis Obispo

[Nagios-users] regular expression matching.

2006-08-18 Thread Christian Hedegaard
The Nagios documentation relating to the "regular expression" matching seems very thin to me. And not quite clear. It appears, by example, that the only regular expressions you can use are "*" and "?", which I would just consider wildcard matching and not regular expressions. Regardless, can any