specified hostgroup has no members Nagios 3.0rc2 Bug?
Ethan Galstad
nagios at nagios.org
Sun Feb 3 22:19:02 CET 2008
Gerd Mueller wrote:
> Hi all,
>
> now I am pretty sure that's a bug for sure. It only happens if hostgroup with no direct members are members of hostgroups. An example:
>
> define hostgroup {
> hostgroup_name a
> hostgroup_members b,c
> }
>
> define hostgroup {
> hostgroup_name b
> hostgroup_members d,e
> }
>
> define hostgroup {
> hostgroup_name c
> hostgroup_members f,g
> }
>
> define hostgroup {
> hostgroup_name d
> }
>
> define hostgroup {
> hostgroup_name e
> }
> define hostgroup {
> hostgroup_name f
> }
>
> define hostgroup {
> hostgroup_name g
> }
>
> define host {
> host_name x
> hostgroups d,e,f,g
> }
>
> It looks like there is now recursion inside the hostgroup_members logic.
>
> Cheers,
>
> Gerd
>
I'll get this fixed in CVS momentarily. Thanks for the report.
Ethan Galstad
Nagios Developer
___
Email: nagios at nagios.org
Web: www.nagios.org
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
More information about the Developers
mailing list