[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request "after n cycles"
From: |
Martin Pala |
Subject: |
Re: feature request "after n cycles" |
Date: |
Tue, 17 Jul 2007 13:07:00 +0200 |
There is framework for method timeout in monit already ... currently
the timeout for start/stop/restart/exec methods is one monit's cycle.
The idea is, that you will be able to specify how long the method can
take before the monitoring should be enabled. Example syntax:
--8<--
check process httpd with path /var/run/httpd/pid
if failed port 80 protocol http then restart with timeout 3 cycles
--8<--
=> in the case that the connection failed monit will restart the
httpd and wait up to three monit's cycles for recovery (currently if
the process is not available on next cycle and 'every' statement is
not used then the check will fail again).
Martin
On Jul 17, 2007, at 9:52 AM, Hans-Werner Jouy wrote:
Hi,
I´m monitoring processes, which take a large time ti start up, say
5-7 minutes, but
I want to check them on short notice, when tey are running.
Using "every 3 cycles" gives me the delay, which is too long once
the process is up.
My suggestion would be to extend the syntax with a "after n
cycles", which could be used
in conjuction with "every m cycles".
Harvey alias Hans-Werner
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general