Hi, I’m afraid I don’t understand correctly the difference between connection direction and configuration mode.
I always define the host parameter of the endpoint master in the client’s zones.conf file and in the master’s. If I remove it in the client zones.conf file, errors appear in the checks saying that the client says that it cannot connect to the master.
Afaik clients need to have the hosts parameter of their parent (can be the master or a satellite) set.
This is because the parent does not have the endpoint and zones object of the client inside their own zones.conf.
This differs from a satellite, that has the masters endpoint and zones object inside their zones.conf, as well as the master has the respective objects of the satellite. There you can choose where you define the hosts parameter, and by that the connection direction.
I have an architecture with clients and one master. I have no satellites. I configure the clients on the server via API. I send the client endpoint and host parameter to the server. And at the same time, I define the host parameter of the master on the client.
Therefore I am defining the two directions and it is what I do not understand when I read the icinga documentation.
The endpoint objects need to exist both on both sides. They establish a matter of trust within the zone hierarchy. Yet again, I’ll point you to the distributed monitoring scenarios. All of them configure the zones.conf.
I´ve just read new documentation. I think is better explained than before. Thanks a lot.
I only have one more doubt about " Endpoint Connection Direction". Then, what is the difference between choosing “master -> agent” or “agent -> master” connection direction? Or is it not important and you just have to choose one?