New hosts doesn't appear in hostgroups.cfg

Post here if you found bugs.

New hosts doesn't appear in hostgroups.cfg

Postby megabitmg » Mon Sep 02, 2013 14:48

Hello, i found a bug in config generation.

If you change all hosts attribute "monitored by" that are assigned to one hostgroup, then the hostgroup is written to hostgroups.cfg and all new added hostgroups are missing!

Here an example:

Host1
monitored by: ""
Host2
monitored by: ""
Host3
monitored by: ""

Hostgroup1
members: Host1, Host2, Host3

hostgroups.cfg
define hostgroup {
hostgroup_name Hostgroup1
alias Hostgroup1
}

After that, no more new Hostgroups can be added! If you remove the members from Hostgroup, or set the Hosts to monitored by "Icinga" (that's the collectors name) then the hostgroups.cfg is generated correctly!
megabitmg
starter
starter
 
Posts: 1
Joined: Wed Aug 28, 2013 10:32

Return to Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests