[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 this a peculiarity of Nagios? Thanks - John
Seems as if it is not clear, which flavor of Regex is suported in Nagios, I had a similar problem, and could not find a clear documentation about the regex-suport in Nagios yet.
F.e.
[sw][0-9]{3}[a-z]{2,124}\.company\.net
This should match any string starting with either s or w, followed by exactly 3 digits and a resonable number of characters plus the domain suffix.
But it did not work. May be I am missing some backslashes?
Please, can anyone point us to the right place?
TIA, Ingo.
- Antwort: [Nagios-users] Regular Expression Expansion Ingo Lantschner
- Re: Antwort: [Nagios-users] Regular Expression Exp... Hugo van der Kooij
- RE: Antwort: [Nagios-users] Regular Expression Exp... Janet Post
