[Top][All Lists]

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

Re: [monit] Sample Configs

From: Martin Pala
Subject: Re: [monit] Sample Configs
Date: Tue, 29 Dec 2009 20:18:11 +0100

On Dec 29, 2009, at 4:29 PM, Jack wrote:

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Jan-Henrik Haukeland
Sent: Monday, December 28, 2009 11:22 AM
To: This is the general mailing list for monit
Subject: Re: [monit] Sample Configs

On 28. des. 2009, at 15.05, Jack wrote:

I was wondering if some of you could post some sample configurations for
different processes, I currently have gone through the docs, but need more
real world examples to get a better grip on how to control things.

Have you checked out, ?

Hi Jan-Henrik,

Yes, I did use that for the initial configs, but I need that next level of
As an example I want to monitor lets say postfix, I need it to be down more
than 10 seconds before it starts to retry etc.  So I know I can increase the
cycles ( of time) but lets say I restart postfix after updating a
configuration because the PID changed it sends me messages.  I don't care if
the pid changes only if the process is running or not, allowing it to be
down for lets say 1 minute before notifies or attempts to restart the


you can set start program timeout like this (requires Monit >= 5.0):

  start program = "/bin/foo start" with timeout 60 seconds


reply via email to

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