I’ve tried to find any workable solutions for monitoring the Icinga2 cluster with another Icinga2 cluster but didn’t find anything.
I have a lot of Icinga2 clusters, which monitors different servers in many locations and I want to monitor their masters and satellites in one place. For this, I’ve configured the standalone Icinga2 cluster and want to connect to it all satellites and masters of all other clusters as agents.
The problem is that the Icinga2 has only one daemon of Icinga (no split for server/agent) and I can’t find any solution how to run Icinga2 daemon as a server and agent at the same time.
I would expect that if you create a separate configuration directory and make
sure that the setup in there listens on a different port number (default 5665),
you could then start a second instance by using a modified init file which
points DAEMON_CONFIG to that file.