Building Hostgroups using Host Config Files

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Dec 23 20:44:54 CET 2005


On Fri, 23 Dec 2005, Zac wrote:

> Am I allow to do this?  According to the documentation I can use just the
> hostgroups line in the host definition as an alternative to a hostgroups
> definition.  As a fix I tried making a hostgroup definition, but without the
> members line, since all my members will be defined in the host definition,
> this just changed the error to
>
> Error: Hostgroup has no members (config file
> '/opt/nagios/etc/corenap/corenap_hostgroups.cfg', starting on line 1)

The members line is still defined as required according to:
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html

Have you tried to have a host only added to the hostgroup line and see if
other hosts are detected as part of this hostgroups due to their hostgroup
line in their host template?

Besides that it is a user mailinglist and I guess the real developers are
on other lists.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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