[Top][All Lists]

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

Re: Different daemon times for different processes

From: Jan-Henrik Haukeland
Subject: Re: Different daemon times for different processes
Date: Tue, 31 Aug 2010 21:35:09 +0200

Hi Rory, long time :)

The every statement comes to mind. From the manual;

 every           Validate this entry only at every n poll cycle.
                 Useful in daemon mode when the cycle is short
                 and a service takes some time to start.

 check process dynamo with pidfile /etc/
       start program = "/etc/init.d/dynamo start"
       stop program  = "/etc/init.d/dynamo stop"
       if failed port 8840 then alert
       every 2 cycles

On 31. aug. 2010, at 20.39, rory wrote:

> Before I go adding this functionality, I want to double check that it isn't 
> there and solicit some input.
> Generally, I can set the cycle time of monit with
> set daemon 20
> However, as it turns out, my system has differing needs here. I'm thinking 
> that something like
> check service foo with pidfile
> blah
> blah
> set cycle check 3
> (This would cause it to only be checked every third cycle, so in the above 
> example, it would be checked once per minute)
> Any comments?
> --
> To unsubscribe:

reply via email to

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