OK Thanks.

On Mon, Oct 31, 2016 at 3:11 PM, Martin Pala <[email protected]> wrote:

> There is no default settings, it must be explicitly set. The value depends
> on your needs - to detect errors quickly, faster poll cycle is better (for
> example "set daemon 5" will poll each 5 seconds). If you want to reduce
> overhead, you can poll for example each 30 seconds: "set daemon 30" (or
> more)
>
>
>
> On 31 Oct 2016, at 08:07, Thomas Lau <[email protected]> wrote:
>
> Thanks, may I know what's the default setting and suggested setting for
> scheduler job on Monit?
>
> On Mon, Oct 31, 2016 at 2:33 PM, Martin Pala <[email protected]>
> wrote:
>
>> Hi,
>>
>> the poll cycle is set by "set daemon <number>" statement, see more
>> details in Monit manual: https://mmonit.com/mon
>> it/documentation/monit.html#DAEMON-MODE
>>
>> Best regards,
>> Martin
>>
>>
>> On 31 Oct 2016, at 03:48, Thomas Lau <[email protected]> wrote:
>>
>> Hi All,
>>
>> I read some documents and found this:
>>
>> The current scheduler is poll cycle based. If a service check is
>> scheduled with the every cron statement, Monit will check if the current
>> time match the cron-string pattern. If it does, then the check is performed
>> otherwise it is skipped. The cron specification does not guarantee when
>> exactly the test will run, this depends on the default poll time and the
>> length of the check cycle. In other words, we cannot guarantee that Monit
>> will run on a specific time. Therefor we strongly recommend to use an
>> asterix in the minute field or at minimum a range, e..g. 0-15. Never use a
>> specific minute as Monit may not run on that minute.
>>
>>
>>
>> ​How could I find out what's the default poll time and the length of the
>> check cycle?​
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>>
>>
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>



-- 
Thomas Lau
Director of Infrastructure
Tetrion Capital Limited

Direct: +852-3976-8903
Mobile: +852-9323-9670
Address: Suite 2716, Two IFC, Central, Hong Kong
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to