[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit] I want monit to stop a process when monitored one doesn't st
Re: [monit] I want monit to stop a process when monitored one doesn't start
Wed, 21 Nov 2007 21:26:56 +0100
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:188.8.131.52) Gecko/20071008 Iceape/1.1.5 (Debian-1.1.5-1)
The timeout statement doesn't support other actions currently.
We plan the support for what you have described.
Edith de la Torre wrote:
I have a process being monitored by monit. Now, if it doesn`t start,
usually we do:
if 5 restarts within 5 cycles then timeout
but i want something like:
if 5 restarts within 5 cycles then exec "stop another process"
but monit tells me there's an error in configuration file when i use
So what can i do if i want monito to stop process 2 when process 1 is
down and does not start?
Thanks in advanced for your help