My Slave is configured to connect to master, that connection is established
[2021-01-12 23:36:44 +0100] information/ApiListener: Sending replay log for endpoint ‘myhost’ in zone ‘master’.
[2021-01-12 23:36:44 +0100] information/ApiListener: Finished sending replay log for endpoint ‘myhost’ in zone ‘master’.
[2021-01-12 23:36:44 +0100] information/ApiListener: Finished syncing endpoint ‘myhost’ in zone ‘master’.
[2021-01-12 23:36:44 +0100] information/ApiListener: Applying config update from endpoint ‘myhost’ of zone ‘master’.
But I don’t see any Host in the Icinga on the satellite, there is no config in /var/lib/api/…
Only on Master I see that notices:
[2021-01-12 23:36:44 +0100] information/ApiListener: Sending replay log for endpoint ‘myhost’ in zone ‘master’.
[2021-01-12 23:36:44 +0100] information/ApiListener: Finished sending replay log for endpoint ‘myhost’ in zone ‘master’.
[2021-01-12 23:36:44 +0100] information/ApiListener: Finished syncing endpoint ‘myhost’ in zone ‘master’.
[2021-01-12 23:36:44 +0100] information/ApiListener: Applying config update from endpoint ‘myhost’ of zone ‘master’.
The master cannot reach the satellite - only satellite could reach master. That is configured in the endpoints (and should be working else it wouldn’t connect)
so ‘myhost’ is your master host and the other two endpoints are the satellite/agents hosts which actively connect to the master? Is accept_config in /etc/icinga2/features-enabled/api.conf set to true on the satellite hosts?