Good morning,
Thanks Russell. i have had this error a couple of times but have
not been able to track it down due to the misleading error messages.
That puts my mind at ease as i thought that i was somehow corrupting
my config files.
Yes, please let's see if we can't get a better error message or at
least fewer of them.
later,
dean
-----Original Message-----
From: Russell Scibetti [mailto:russell@quadrix.com]
Sent: Thursday, November 07, 2002 6:13 PM
To: nagios-devel@lists.sourceforge.net
Subject: [Nagios-devel] Potential Bug
I just ran into this one in 1.0b6 using the nagios -v check:
If you have an entry in the members section of a hostgroup definition
that isn't the name of a host, instead of giving an error about an
unknown host, you only get a warning. And the warning you get isn't
about an unknown host, but instead a warning that several hosts are not
part of a hostgroup. The hosts listed in the warning are all the ones
that come after the undefined host.
Example:
define hostgroup{
members host1,host2,host3,hostX,host5,host6,host7
contact_groups ops
alias Internal Hosts
hostgroup_name internal_hosts
}
If hostX isn't defined in the configs, when you run nagios -v, you get
the message
Warning: Host 'host5' is not a member of any host groups!
Warning: Host 'host6' is not a member of any host groups!
Warning: Host 'host7' is not a member of any host groups!
instead of an error that hostX doesn't exist.
-Russell
--
Russell Scibetti
Quadrix Solutions, Inc.
http://www.quadrix.com
(732) 235-2335, ext. 7038
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redi ... palm0001en
_______________________________________________
Nagios-devel mailing list
Nagios-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/lis ... gios-devel
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: ussell Scibetti [mailto:russell@quadrix.com