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: [email protected]
Web: www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]