monit-general
[Top][All Lists]
Advanced

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

Maximum number of FOR X CYCLES


From: Callum Macdonald
Subject: Maximum number of FOR X CYCLES
Date: Mon, 06 Oct 2014 18:03:24 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

I use monit to alert on excessive replication delay. It triggers fairly frequently and resolves itself within an hour or so. I wanted to disable the erroneous alerts by increasing the number of failed cycles. I tried:

        if status != 0
                for 3600 cycles # Alert if down for 1 hour

Then I got:

        Error: the number of cycles must be between 1 and 64 '3600'

Checked the docs but didn't see this maximum of 64 mentioned anywhere.

Is this 64 a hard limit? Any way to increase it?

If so, is it worth adding something to the documentation to mention this? Caught me by surprise.

Cheers - Callum.

PS> Continued thanks for a truly useful piece of software.

--
Callum Macdonald

DE: +49 1573 245 1224
UK: +44 7968 378 810
US: +1 815 246 2207
www.callum-macdonald.com

For avoidance of doubt: This email does not constitute permission to add me to 
your mailing list.




reply via email to

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