Misconfiguration on apache can lead monit false alet and do wrong action. I found that some monit process in one of my servers always complaining about apache cannot connect port 80. which is not right cause I can still access the pages.
Here are tip for debugging what goes wrong:
1) stop monit as a daemon
2) smart monit in foreground
#monit -Iv
3) see the message
From my experience, the server response with 403 http code cause monit alert cannot connect host port 80.
So, I change apache config to get 200 code and everything back to work :)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น