I have recently installed Icinga2 on a server and I want to connect another one (a satellite) to it.
The problem is that it is in perpetual “pending status”, I have activated the debug log, but I don’t see anything that helps me with the problem, thank you.
Satellite’s log tells connection to its master is fine. This is independent from the host objects since it belongs to the master. Hence, I’ve no idea why it is pending.
And is there a way to debug this better? I have also read in some topics that it could be a “chicken egg problem” but I have not known how to apply them to my particular case.
Also I have the feeling that the checker does not work since I have another server configured (it is also called “monitor”, all this comes from a migration, the old “monitor” works, the new one does not)
And I can see the “last check” in the old while in the one that doesn’t work, I always see “check now”. And it seems that the “Check source” is missing:
I’m confused.
Your satellite connect to the master “monitor”, but you show the zones.conf from the master “monitor.com”.
Are these two separate masters?
What does the zones.conf of the master “monitor” look like?
What does the log on the master, where the satellite should connect to, tell you? Something like “self-signed certificate” or anything else connection-related.
This means that the master you are connecting to is named “monitor.com” (the endpoint object).
Then the endpoint object for the master in the satellites zones.conf has to be named exactly the same.