Hello,

I create some hosts and hostgroups via API, but I have one question. I
created the hostgroups in the global-templates zone, and the api created
one file like:

object HostGroup "infra" {
    display_name = "infra"
    version = 1490609766.016400
    zone = "global-templates"
}


but it creates the file unter one of the nodes and not under the zone
folder:

/var/lib/icinga2/api/packages/_api/icinga-01-1452496651-2/conf.d/hostgroups/infra.conf

and I think that for this reason its not replicated to the other nodes.

Should be not created under:

/var/lib/icinga2/api/zones/global-templates/xx ??

Regards,
Christian
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to