When I rename hostgroups with the "put" command it does successfully change the name
However, even though the hosts are showing the new hostgroup name when I go in to edit them it wont let me apply the config until I have gone into each host that is a member and hit save - even if I don't make any changes
The only way I could get it to apply in bulk is by using the config management to delete the local config and write them back again
Renaming hostgroups with put commands
-
optionstechnology
- Posts: 234
- Joined: Thu Nov 17, 2016 11:26 am
Re: Renaming hostgroups with put commands
I was able to recreate the issue in house, and filed an internal bug report (task_id=15156). It seems like the issue occurs when a hostgroup is added to a host.
Example:
I haven't been able to recreate the issue when a host is added (as a member) to a hostgroup.
Example:
I haven't heard back from our developers yet, but expect the issue to be fixed in the next release of Nagios XI. Thanks!
Example:
Code: Select all
define host {
host_name somehost
...
hostgroups somehostgroup
}Example:
Code: Select all
define hostgroup {
hostgroup_name somehostgroup
alias somehostgroup
members somehost
}I haven't heard back from our developers yet, but expect the issue to be fixed in the next release of Nagios XI. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!