Hello:

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
"exec".

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

-- 
GPG Key ID: DBD0DDBB
Linux User: 48597

 _____    _ _ _   _
 | ____|__| (_) |_| |__
 |  _| / _` | | __| '_ \
 | |__| (_| | | |_| | | |
 |_____\__,_|_|\__|_| |_|

 [EMAIL PROTECTED]


pub  1024D/DBD0DDBB 2001-03-18 Edith de la Torre <[EMAIL PROTECTED]>
     Key fingerprint = 3B06 6657 91EF 27C5 394D  C9B2 31E5 35D1 DBD0 DDBB
sub  1024g/1E6A0BEC 2001-03-18


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

Reply via email to