Re: Antwort: [Nagios-users] Regular Expression Expansion

2006-05-05 Thread Hugo van der Kooij
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

RE: Antwort: [Nagios-users] Regular Expression Expansion

2006-05-05 Thread Janet Post
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:

Antwort: [Nagios-users] Regular Expression Expansion

2006-05-05 Thread Ingo Lantschner
[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

[Nagios-users] Regular Expression Expansion

2006-05-02 Thread John A. Sullivan III
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