Using regex host matches in service definition s

Tedman Eng teng at dataway.com
Wed Aug 24 21:22:36 CEST 2005


> -----Original Message-----
> From: Dominic J. Eidson [mailto:deidson at seton.org]
> Sent: Wednesday, August 24, 2005 8:11 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Using regex host matches in service
> definitions
> 

> Yes, I'm familiar with the difference between regex and 
> globbing. As you 
> can see above, though - the documentation has an incorrect 
> example, and 
> that was what I was going by.
> 
> I tried your ^.*$ - and it works like a charm.
> 
> It would be worth for someone to fix the docs, though.... ;)
> 


The docs are not worded wrong (perhaps not completely intuitive, but not
wrong).  
Re-read the first statement in that section:

"Regular Expression Matching 
---------------------------
The examples I give below use "standard" matching of object names."

<examples>
host_name      *



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list