wildcards broken?

jeff vier jeff.vier at tradingtechnologies.com
Mon Feb 9 23:09:31 CET 2004


Sorry for the cross-post, but as this is an issue with using nagios 2.0,
I didn't know if it counted as more "user-ish" or "devel-ish".

Here's a hostgroup definition I tried to add to my hostgroups.cfg:
----
# All Hosts
define hostgroup{
        hostgroup_name all
        alias          All Hosts
        members        *
        }
----
But, when I check it with nagios -v, I get:
Error: Could not find any host matching '*'
Error: Could not expand member hosts specified in hostgroup (config file
'/usr/local/nagios/etc/hostgroups.cfg', starting on line 336)

Any ideas?

Notably, I couldn't get the '*' wildcard to work anywhere else, either. 
Specifically, I would RATHER have it in serviceextinfo.cfg, but I
couldn't find any support in the docs (or FAQ, or archive) that
indicated that it SHOULD work there.  Hence my attempt at adding a
catch-all hostgroup.

TIA --boinger



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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 Developers mailing list