I have a question regarding service checks from a specific endpoint. I monitor 4 separate "pods" in different rooms in a Datacenter. I figured the master/satellite configuration would work best for my use case. so far, its been working flawlessly. I have my hosts separated into directories as described by the documentation:
I was under the impression that placing service checks in each of these directories would tell the master server to send those checks to the endpoint of the same name as the directory they are in.
For some reason, this is not the case. if I place a service check in any of the "monitor-*" folders, the checks get assigned to all hosts in all directories.
I was reading the documentation and it says I need to specify which endpoint to use by using the "client_endpoint" variable.
So I tried the client_endpoint variable and it seems to work. However, it still requires you to have the service definition on the satellite which is what I am trying to avoid.
In the end, I would like to be able to add and remove hosts and services from the master node only without having to add any additional configuration on the satellites. I feel like I am halfway there but I am missing something rather simple.
I'm not sure what configuration files or logs would help in this situation so any extra information needed I will be happy to provide.
Can any one point me in the right direction?
Thanks in advance