could not expand member hosts specified in hostgroup....
Marc Powell
marc at ena.com
Thu Feb 19 17:31:54 CET 2004
________________________________
From: David Strappazon [mailto:david.strappazon at motorpresse.fr]
Sent: Thursday, February 19, 2004 10:12 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] could not expand member hosts specified in
hostgroup....
I have got this error when running /usr/local/nagios/bin/nagios -v
nagios.cfg:
Could not expand member hosts specified in hostgroup (config file
'/usr/local/nagios/etc/hostgroup.cfg', line 1).
The first line of my hostgroup.cfg file is:
define hostgroup{
But the word "define" is in "yellow" because of a bad minupulation with
VI !!!
I think it's could be the problem, but i don't know how to solve it !!
-----------------
I'm sure that's not the case. Vi syntax highighting is a function of vi
and is not embedded within the file itself. It's probably just the last
thing you searched for. The real problem is that nagios has been unable
to parse your hostgroup definition properly, either because it contains
no members or some expansion is failing (wildcards maybe). If you could
post your entire hostgroup definition, including any external references
that it might make, that would be helpful.
--
Marc
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&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