Wildcard Host Negation

jeff vier boinger at tradingtechnologies.com
Thu Jan 19 17:42:08 CET 2006


Please always CC the nagios-users list.

On Thu, 2006-01-19 at 11:30 -0500, Patrick Rutkowski wrote:
> I just tried this
> 
> define service{
>         use     generic-ping
>         host_name       *,!checkpoint2,!google
> }
> 
> and I got an error:
> 
> Reading configuration data...
> 
> Error: Could not find host '*'
> 
> Error: Could not expand hostgroups and/or hosts specified in service (config fi\
> le '/etc/nagios/services.cfg', line 176)
> 
> Do you have any advice?

Do you have use_regexp_matching turned on?
Do you have use_true_regexp_matching turned off?

(if not, make those adjustments and try it again)

Are you using Nagios v2.x?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060119/26dffaaf/attachment.sig>


More information about the Users mailing list