Bug Report: hostgroup_members with no direct members!

Gerd Mueller gmueller at netways.de
Thu Feb 7 11:20:00 CET 2008


Hi Ethan!

Do you remember my last bug report? I think it's still not fully solved.
The "pre-flight check" now comes back with no errors but the
precache-objects step is still buggy. Recursion is only done for the
first hostgroup_member of the first hostgroup. In this example hostgroup
"a" only get the members of hostgroup "b" but hostgroup "c" will be
ignored.

Cheers,

Gerd

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 a
hostgroups d
}

define host {
host_name b
hostgroups e
}

define host {
host_name c
hostgroups f
}

define host {
host_name d
hostgroups g
}


-------------------------------------------------------------------------
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