Hello Experts,
I am new to Icinga and I tried to have an Icinga2 set up with a master, two satellites, and some agents. Somehow I made agents run under these satellite zones. All the configurations are made with Icingaweb and Icingadirector. My setup is working fine with hosts checks and services checks with notifications also.
I have installed Icinga2 agent only on satellites and none of the agents have icinga2 in it. My host template zone setting looks like this.
My hosts zone settings will look like below.
Here comes my questions…
- Whether the above config is correct or do we need to set the “Icinga agents”, “Establish connection” and “Accepts config” as “YES” in hosts config also.
- Do we need to install icinga2 in all the agents? Whether agents will use Satellites endpoints for communicating with Master?.
- If suppose Icinga2 is not required on Agents, why satellite is trying to reach the agent with port “5665” ? How can I solve this?
Example Logs:
[2021-11-25 19:52:00 +0000] critical/ApiListener: Cannot connect to host ‘x.x.x.x’ on port ‘5665’: Operation canceled
[2021-11-25 19:52:00 +0000] critical/ApiListener: Timeout while reconnecting to endpoint ‘test-host’ via host ‘x.x.x.x’ and port ‘5665’, cancelling attempt
Please suggest me on this.
-Rejo