I have monit
enabled and monitoring one of my applications, where
if the application restarts more than 4 times in 10 cycles, I stop
it, and run a script (which, among other action, also does unmonitor all
,
and stops monit
)
Now, if I manually start my application and monit
again, monit
starts
out with monitoring disabled on all the applications. Is it possible to
say somewhere in the monitrc
or other configs to monitor all
on start?
I could have issued the command monit monitor all
from my scripts, but
there is a startup delay
configured for monit
, and I will have to
wait until the HTTP
connection is up, to issue the command. Instead
it will be good to have monit
start with monitoring enabled for all
.
I am on the latest 5.17
, built from source on Ubuntu trusty.