I’ve configured icinga in HA and I’m configuring my clients using configuration management creating packages and stages via API. The files are stored in
/var/lib/icinga2/api/packag es/zones.d/master/ and this is ok, and at the same time, the objects host, zone, endpoint and services are copied to
/var/lib/icinga2/api/zones/master/machine1/. In backend curl I define
zones.d/master as default directory.
But when I delete a configuration management package (via curl), It deletes the package but doesn’t delete the files located in
master1 and master2: ubuntu 16.04, icinga2 188.8.131.52.
Any help is appreciated