|
From: | Martin Pala |
Subject: | Re: Config working on CentOS 5 stopped working on CentOS 6 |
Date: | Wed, 16 Dec 2015 17:11:10 +0100 |
Hi, Monit will disable the process monitoring on excessive restart failures due to "if 5 restart within 5 cycles then timeout" statement in your configuration (the "timeout" action an alias for "unmonitor" and we switched the documentation in the past to "unmonitor" as it is more clear: https://mmonit.com/monit/documentation/monit.html#SERVICE-RESTART-LIMIT) The monitoring state is persistent - the "timed out" service has usually some hard error which requires manual intervention (timeout statement prevents endless restart loop). When the problem is resolved, the monitoring needs to be enabled manually. If you want to drop the state for example after reboot, place the statefile to tmpfs filesystem (you can use "set statefile <path>" statement to customize state file placement). Regards, Martin
|
[Prev in Thread] | Current Thread | [Next in Thread] |