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
> -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.
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
"*" 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
> define serviceescalation{
> host_name *
> service_description *
> first_notification 3
> last_notification 0
> contact_groups
> on-duty-pagers,off-duty-pagers,operations-email
> notificat
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
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