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: Jan-Henrik Haukeland
Subject: Re: Configure monit to check services at a specific interval per service
Date: Tue, 15 Mar 2016 23:45:51 +0100

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




reply via email to

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