[prev in list] [next in list] [prev in thread] [next in thread]
List: nagios-users
Subject: Re: [Nagios-users] Regex Services?
From: Kerry Milestone <Kerry.Milestone () CacheLogic ! com>
Date: 2007-07-31 23:16:50
Message-ID: 46AFC2E2.7080003 () CacheLogic ! com
[Download RAW message or body]
hehe... no, not annoyed.
I have tried much simpler matching expressions too. I am not sure its
the regex, but the way Nagios incorperates it. For instance, putting a
* into the expression, it matches everything even when there are
[host|gost] defined. What I really want to have in, is (host|gost) but
Nagios doesn't seem to like round brackets. The expression below will
match also osth or ostg.
Kerry.
Goksie Learner wrote:
> please dont be annoyed with me.
>
> why dont u consider changing ^[host|gost]\d{1,2}\.\w+\.\w+$
>
> if in perl and other langs that i like studying... this this matches
> your request.
>
> Learner
--
Kerry Milestone
Network Engineer
-------------------
1 0 ... my two bits
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic