I’m trying to find if Top Down Config Sync would bring advantages e.g. continue running checks if parent is not reachable. However, I could not been finding a valid configuration yet.
First, it lookes like it’s incompatible with director, isn’t it? (The host object would not be part of /etc/icinga2/zones.d, hence is not synchronized to the clients.
I’ve configured a host object e.g. /etc/icinga2/zones.d/testvm/testvm.conf and one service object in /etc/icinga2/zones.d/windows, while windows is a global zone. It works as expected, but with strange effects:
- If the host object is member of its own zone:
- hostalive ist configured for the wrong check source, hence could be used to identify if host is down.
- the service for the disconnected is still in status OK although it’s not returning any results, if the network is disconnected.
- If the host is member of its parent zone:
- hostalive works as expected
- the parent tries to send commands to the client and fails due to accept_command = false
- In both cases perfdata isn’t handled as expected
BTW: Accepts config in director looks like it’s not working. (And without director) Which config option is needed at a host object to prevent icinga to send commands?
Does anybody has a valid config? Or is this type of configuration (even) deprecated?