I tried the search function but could not find anything specific. I try to monitor multiple websites from different agents to see if a website is reachable externally. I configured the new Check HTTP web service and selected explicit hosts to run this check. The check runs and I get results for each host when I search for this service, but the check is always executed from the checkmk host and not from the agent. Now, I’m not really sure if it is even possible to accomplish what I’m trying to do. Maybe someone can lead me in the right direction (is distributed monitoring necessary for this?). I’m using the version 2.3.0p6. Thanks in advance.
Thats now possible, when you pick a host you just say I want the result to show up on that host, that is how all active checks work in checkmk.
Robotmk might help you.
We would like to be able to pick multiple slave site (pollers) to run our active checks on, for example is the intranet accessible on all offices (where we have pollers) - We have a workaround for that but not elegant.
Thank you for your quick reply. I’m not sure I can follow you. I tried setting the “explicit host” setting under condition for example to all hosts / agents just to test. They do show results per host as you mention, but the “check” itself is executed on the checkmk host for all instances and not on the agent itself. The results are all similar and not realistic, because I have an agent on the website and it says it has 40 ms which cant be true on localhost. When I check the logs of said website, all requests come from the checkmk host not the agents. Maybe I’m missing something?
The check web (or all other active checks) are always running on the CheckMK server. Setting an explicite host just attaches the result to that host.
For example you have an nextcloud instance and you want to check if the site is up etc. You could then set the active check for this site and explicitly attach the result to the webserver running the nextcloud instance.
Yes, once again that is how active checks work. You dont specify how many Checkmk servers you have, so I assume only one. If not you can run all active checks on any site in distributed monitoring.
You can also deploy local checks, they will be included in the agent’s output. For example there are curl checks for this.
The drawback, unless you can use agent bakery is that you need to add these scrips manually.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.