Re: [Nagios-devel] specified hostgroup has no members Nagios 3.0rc2
Posted: Fri Feb 01, 2008 3:58 am
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
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
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
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]