I have been working on configuring a distributed monitoring setup in a VM sandbox. I am currently struggling with setting up external checks (SSH, Ping) and internal checks (mem, load).
All VM’s have Icinga running on them. If I manually set the command endpoint to one of the parent zone hosts it can properly run the external checks. However if I then try to configure an internal check the director appears to assign the command endpoint to the master host which is on a separate isolated network from the agent. The two networks are bridged by the satellite. As a result I either get a unknown error since the agent isn’t directly linked to the master or I am given an error stating that the command endpoint must be within the master zone or a direct child zone.
One thing that seems to work is assigning the agent to the parent zone it is reporting into. However if the satellite goes offline all child checks simply stay static and show no sign of an issue without drilling into that agent’s menu where it will show things like next check in -1m:30s.
In the Director documentation, working with agents, it indicates that I don’t need to set up agent zones but when I exclude a zone for any agent hosts it again defaults to the master zone.
This may be a combination of a number of different problems all at once but I have thoroughly confused myself at this point and need some guidance on where I may have gone wrong.
TLDR: I am trying to figure out how to make my satellite server send external checks like ping to my agents and how to use the agent itself for internal checks like mem. I have had some success but my results are inconsistent.
Thank you for your help in advance.