Could not expand member hosts specified in hostgroup error

Marc Powell marc at ena.com
Wed Oct 26 21:05:01 CEST 2005



> -----Original Message-----
> From: nagios-devel-admin at lists.sourceforge.net [mailto:nagios-devel-
> admin at lists.sourceforge.net] On Behalf Of sridhar
> Sent: Wednesday, October 26, 2005 1:48 PM
> To: nagios-devel at lists.sourceforge.net
> Subject: [Nagios-devel] Could not expand member hosts specified in
> hostgroup error
> 
> I am trying to add the new hosts using nagmin i am getting the
following
> error
> 
> usr/local/nagios/bin# ./nagios -v /usr/local/nagios/etc/nagios.cfg
> 
> Nagios 1.3
> Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org)
> Last Modified: 10-24-2004
> License: GPL
> 
> Reading configuration data...
> 
> Error: Could not find host 'hostname'
> 
> Error: Could not expand member hosts specified in hostgroup (config
file
> '/usr/local/nagios/etc/HostGroup.cfg', line 33)

It would seem you have a host named 'hostname' specified in
HostGroup.cfg that doesn't have a corresponding host{} definition.
You'll need to fix the configuration error by either removing the host
'hostname' from the hostgroup or create a host{} definition for it.

http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host

If you're set on using Nagmin, you'll probably have better luck with the
nagmin-users list as Nagios is performing correctly.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information




More information about the Developers mailing list