Page 1 of 1

Re: [Nagios-devel] Potential Bug

Posted: Wed Nov 13, 2002 6:35 pm
by Guest
This should be fixed in CVS now.



On 7 Nov 2002 at 18:12, Russell Scibetti wrote:

> 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
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






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