Edith, I think that it only allows one command without arguments and
full path to executable...
        
        Are you using that or the sysv style start/stop behaviour?

        Regards
        Pablo
        
El mié, 21-11-2007 a las 13:40 +0100, Edith de la Torre escribió:
> 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
> 
-- 

Pablo Iranzo Gómez ([EMAIL PROTECTED])
RHCE/Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D

--
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41
Directores: Michael Cunningham, Charlie Peters y David Owens
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España
Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta 3ºD, 28016 
Madrid, Spain

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

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

Reply via email to