I’ve configured one master and some agents/clients on Debian 9 with 2.10.5-1.stretch. I wanted to achieve sync of check_commands between master and client and created a zone-directory with the FQDN of the client in /etc/icinga2/zones.d and the contents of that directory was synced to the client immediately.
How can I remove that sync?
systemctl stop icinga2.service
rm -rf /etc/icinga2/zones.d/FQDN
systemctl start icinga2.service
on the master does not remove the files on the client.
When I stop icinga2 on the client, remove the /var/lib/icinga2/api/zones/FQDN directory and start again - the directory will be synced again…