Regex Services?

Kerry Milestone Kerry.Milestone at CacheLogic.com
Tue Jul 31 00:58:46 CEST 2007


Hello Goksie,

Cheers for your reply.

This works too as a regex, however I still get the following within Nagios:

----------------
# ./bin/nagios -v etc/nagios.cfg

Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL

Reading configuration data...

Error: Could not find any host matching '^(host|gost)\d{1'
Error: Could not expand hostgroups and/or hosts specified
--------------

Kerry.



Goksie Learner wrote:
>
> ^(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