Page 1 of 1

[Nagios-devel] Bug Report: hostgroup_members with no direct members!

Posted: Thu Feb 07, 2008 2:27 am
by Guest
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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]