monit-dev
[Top][All Lists]
Advanced

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

Re: exec stuff topic


From: Martin Pala
Subject: Re: exec stuff topic
Date: Sun, 06 Jul 2003 23:53:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030618 Debian/1.3.1-3

Jan-Henrik Haukeland wrote:

We should also start looking at the many statements and improve them
to be more consistent. Looking at the above I can already see one
thing that would be a small improvement. The timeout statement may be
written like this:

if 2 restarts within 3 cycles then timeout

Generally maybe:

[if] NUMBER EVENT_TYPE [within] NUMBER [cycles] [then] EVENT_TYPE

=> it will be possible to generate event on the frequency of other event. For example:

if 2 restart within 3 cycles then timeout ... in the case that two EVENT_RESTART occured within 3 cycles then generate EVENT_TIMEOUT

What about it?

Martin







reply via email to

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