neither the host nor service belong to a zone. This is ensured with e.g. moving the hosts.conf file in to /etc/icinga2/zones.d/master where this is automatically generated.
Rationale for this change is that versions before 2.11 might not have scheduled the host/service checks for command endpoint agents correctly without having a zone specified.
So I have to move my hosts.conf to folder /etc/icinga2/zones.d/master ?
My understand was that zones.conf is also read as it is included in icinga2.conf and there is a zone and an endpoint specified there.
I’m just using my icinga2 server as one master node and needed to use remote_client for local checks on windows machines. We’ve used this config for approx. 2 years now and I don’t even know if this is state of the art anymore…
we had debugged problems at customers where conf.d + command_endpoint led to unchecked services, leading to a missing zone and authority declaration. In order to allow these environments to function in the same way as everything else, the config compiler and validation is now picky about this. Before it led into possible bugs and long lasting ticket sessions for troubleshooting this.
thanks for clarification. This seems perfectly valid
I moved all files to my master zone. Were there some changes with functions? We use to functions which now throw an critical/config: Error: Invalid field access (for value of type 'Service'): '<function name>'. I did not find anything in the release notes…
Please do me favor and create a new topic, including the full icinga2 daemon -C and all the config snippets to reproduce this in a small environment. I’d like to see where exactly this is now failing.