monit-general
[Top][All Lists]
Advanced

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

Re: Configure monit to check services at a specific interval per service


From: Bill Durant
Subject: Re: Configure monit to check services at a specific interval per service
Date: Tue, 15 Mar 2016 15:53:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Ah, thank you for the tip Jan-Henrik!  Will try it out.  -Bill

On 03/15/2016 03:45 PM, Jan-Henrik Haukeland wrote:
> Yes, the every statement can be used for this, 
> https://mmonit.com/monit/documentation/monit.html#SERVICE-POLL-TIME 
>
>> On 15 Mar 2016, at 23:12, Bill Durant <address@hidden> wrote:
>>
>> Greetings:
>>
>> Is it possible to configure monit in daemon mode to check services at a
>> specific interval per service?
>>
>> For example, check service "A" every 30 seconds and service "B" every 60
>> seconds?
>>
>> I don't want to monit to check both A & B at once at a specific interval.
>>
>> I am getting a high CPU spike on the system because I have lot of
>> services to check in my control file and each of those checks perform an
>> exec on something that takes a second or two to run.  So I am trying to
>> see if I can scatter the checks a bit in order to minimize the CPU spike.
>>
>> Thanks!
>>
>> Bill
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general



reply via email to

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