specified hostgroup has no members Nagios 3.0rc2 Bug?

Gerd Mueller gmueller at netways.de
Fri Feb 1 12:58:35 CET 2008


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