I have the following

check process app_thin_8101 with pidfile
/data/app/current/tmp/pids/thin.8101.pid
    start = "/etc/init.d/thin start 8101"
    stop = "/etc/init.d/thin stop 8101"
    if totalmem > 500.0 MB for 3 cycles then restart
    if failed host 127.0.0.1 port 8101 protocol http for 3 cycles then restart
    if 9 restarts within 9 cycles then timeout

The issue is it keeps restarting that thin process. I can curl
127.0.0.1:8101 just fine. The issue might be / is a 404 in our app. Is
there a way to tell monit a 404 is ok or have it hit a url?

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to