Page 1 of 1

[Nagios-devel] wildcards broken?

Posted: Mon Feb 09, 2004 7:31 pm
by Guest
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






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]