[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Skip x cycles after restart

From: Prajwal Manjunath
Subject: Re: Skip x cycles after restart
Date: Thu, 7 Feb 2013 09:23:31 +0530

You can try adding a larger timeout to the port statement. If your service takes 40 seconds to restart, you can give a timeout like 50 secs:

if failed host localhost port 8080 with proto http with timeout 50 seconds then restart

On Thu, Feb 7, 2013 at 3:10 AM, Stefan Catargiu <address@hidden> wrote:

Is there a possibility to skip some monitoring cycles after a process is restarted?
I know that for slow starting processes I can use a "every x cycles" statement, but that's not really what I want, because that means the checks will get further apart. 

What I am looking for is something like, "if failed host localhost port 8080 with proto http then restart", but after this restart, because the process takes a long time to be responsive again, I would like monit to skip it a number of seconds or an x number of cycles. 
Is something like this possible?



To unsubscribe:

reply via email to

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