I have recently installed all the latest and greatest icinga2, icingaweb2 and director.
(icinga2 - The Icinga 2 network monitoring daemon (version: 2.11.3-1))
I have a primary master, and a secondary master with the standard 3 level set up. Master => satellites + agents.
When I execute a deploy in director I am getting a message regarding issue #7530 (screen shot attached). When I investigate I notice that this issue was raised on 23 Sep 2019 https://github.com/Icinga/icinga2/issues/7530
Has this issue been fixed, and if so what is the resolution please.
Tbh I think the linked github issue answers all your questions?!
It shows you how you have to adjust your setup to be correct for any icinga2 versions after 2.11.
I’m wondering why you even get that message. When you freshly set up a new system there shouldn’t be any zones configuration outside the zones.conf file, if I am not mistaken.
I have set up my zones and endpoints within director and that’s when it started throwing a wobbly.
When I look at #7530 it seems to suggest defining my zones in /etc/icinga2/zones.conf.
I am about to carry out the config changes as explained in the issue because my zones.conf has only my master zone defined. I thought keeping the satellite zones inside director would be the way to go, but this seemed to produce the bug message.
Before executing the suggested fix I have some questions.
Do I delete the zones and endpoints in directory first.
After the change I make to zones.conf do I have to import into director afterwards.
After the change do I then restart the icinga2 instances on the masters?
Normally you use the command icinga2 node wizard when setting up a master or satellite.
On the satellite you will then have a complete zones.conf file with the master endpoint/zone and the satellite endpoint/zone.
On the master you have to manually add the satellite zones/endpoints.
Tbh I’m not sure Have done that only once a few years back.
I would delete them from the Icinga Director, define them in the zones.conf and check with icinga2 daemon -C if the config is consistent.
Just for clarification, zone and endpoint objects need to be configured in zones.conf only is only valid for master and satellites but not for agents if they are configured as hosts in director.