Regex Services?

Kerry Milestone Kerry.Milestone at CacheLogic.com
Wed Aug 1 00:36:28 CEST 2007


When trying to verify with Nagios, it seems to stop reading the string 
on the first comma it comes accross.  The Nagios documentation is a 
little light with how to use regex other than using wildcards.

Is what I am trying to do, actually possible?

Cheers.


Error: Could not find any host matching '^(host|gost)\d{1'


> kerry,
>
> note
>
> ^(host|gost)\d{1,2}\.\w+\.$
>
> change it to 
> ^(host|gost)\d{1,2}\.\w+\.\w+$
>
> and test again.
>
> Learner
>   


-------------------------------------------------------------------------
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 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