Hello I want to check the webiste running on port 8080, that port is closed from the monitoring server. How do can I check it from the agent so I can bypass the firewall rule? I use the “Check HTTP service” under “Host & Service Parameters”
Hello,
you could deploy the check_http-Plugin in the agent and configure it to run via mrpe.
Let me know if you need more information about this.
Karl
1 Like
The ruleset “Check HTTP service” configures an active check that runs on the monitoring server and tries to reach the webserver over the network.
1 Like
From where to download and install check_http plug in? I found https://www.nagios.org/downloads/nagios-plugins/ but it contains too many other plugins.
check_http is included in Checkmk. You can find it below your site’s directory in
~/lib/nagios/plugins/check_http
1 Like
It works by doing those steps:
- scp /lib/nagios/plugins/check_http username@agent_server:/usr/lib/check_mk_agent/plugins
- vim /etc/check_mk/mrpe.cfg
- write: health-check /usr/lib/check_mk_agent/plugins/check_http -H localhost -p 8080
- test it: check_mk_agent | grep -A1 ‘^…mrpe’
- Go to WATO, hosts, services and enable the new service
- Apply the new changes and done
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.