Monit Daemon: Apache-Status connection failure
I am creating a server cluster for the company I work for and I am using Monit to monitor that all the server processes are up and running as they should.
For Apache monitoring, I want to use the mod_status function, which is explained here . However, this turned out to be quite difficult. Just like no matter how I configure both Monit and Apache, Monit just reports a connection failed error ( connection failed to 127.0.0.1:80 [APACHESTATUS via TCP]
).
I have effortlessly followed the instructions on the Monit Wiki. Apache page status page ( http://127.0.0.1/server-status?auto
) works in whatever browser I test with. I have also tried changing host from 127.0.0.1
to localhost
with no luck.
I tested this setup with Monit 4.8.x, 4.10x and 5.0-beta6, all with the same result. Also, there is not a lot of useful information on Google, as most of the results are simpler and simpler problems.
Am I missing something? Or am I just stupid maybe?
source to share