On Fri, 5 May 2006, Ingo Lantschner wrote:
> [EMAIL PROTECTED] schrieb am 03.05.2006 05:13:58:
>
> > #dependent_service_description ^Tun.*-(?:Chattanooga|Midlothian)$
> > ...
> >
> > The commented line generates errors on pre-flight check. It's almost as
> > if it cannot handle the alternation
Just a thought here…but the [a-z]
will only match against lowercase characters. Is that the behaviour you
wanted?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ingo Lantschner
Sent: May 5, 2006 7:39 AM
Cc:
nagios-users@lists.sourceforge.net
Subject: Antwort:
[EMAIL PROTECTED] schrieb am
03.05.2006 05:13:58:
> #dependent_service_description ^Tun.*-(?:Chattanooga|Midlothian)$
> ...
>
> The commented line generates errors on pre-flight check. It's
almost as
> if it cannot handle the alternation (|). Have I mangled the
regular
> _expression_ or is
Hello, all. I'm still struggling a bit with regular expression
expansion in Nagios 2.0. Here is a snippet from a config file I have
been playing with:
define servicedependency{
dependent_host_name HammondSGGW.niag
dependent_service_description ^Tun.*-Chattanooga$, ^Tun.*-Mi