Hi Friends,

I am running Icinga2 version: 2.6.2-1, Icingaweb2 version: 2.4.1-1 and
director: 1.3.1 on Centos 7 64-bit. There are already some hosts running in
Icinga2 along with some services, templates, user groups, users,
notifications templates. The issue I am facing is that whenever I tried to
deploy the changes/config file after syncing the usergroups through the
API, it complains that the UserGroup is already re-defined. How can I
deploy the changes without any issues in the director??

critical/config: Error: Object 'icingaadmins' of type 'UserGroup'
re-defined: in [stage]/zones.d/config-ha-master/usergroups.conf: 1:0-1:30;
previous definition: in /etc/icinga2/zones.d/global-templates/users.conf:
75:1-75:31
Location: in [stage]/zones.d/config-ha-master/usergroups.conf: 1:0-1:30
[stage]/zones.d/config-ha-master/usergroups.conf(1): object UserGroup
"icingaadmins" {

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[stage]/zones.d/config-ha-master/usergroups.conf(2):     import
"icingaadmins"
[stage]/zones.d/config-ha-master/usergroups.conf(3):


Do let me know if you need any further information.

Thanks & Regards

Ankush Grover
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to