[Top][All Lists]

[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

From: Pablo Iranzo Gómez
Subject: Re: [monit] I want monit to stop a process when monitored one doesn't start
Date: Wed, 21 Nov 2007 13:48:46 +0100

        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?

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 (address@hidden)
RHCE/Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]