[Top][All Lists]

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

Re: Handling load of servers during backups

From: Edke
Subject: Re: Handling load of servers during backups
Date: Tue, 8 Nov 2011 14:47:25 +0100


Thank you for your tips.

On Mon, Nov 7, 2011 at 18:01,  <address@hidden> wrote:
> 1.) you can suppress the monitoring of the service which generates the system 
> load alerts using the cron syntax like this:
> --8<--
> check system mymachine
>    not every "0-1 * * * *"
>    if cpu usage > 80% then alert
> --8<--
> Notes:
> - the cron syntax support for the "not every" statement requires monit 5.3 or 
> newer
> - the above example skips the system check every day from 0:00 to 1:59 for 
> the service entry "mymachine" ? the other check will be performed normally => 
> you can suppress the monitoring on per-service basis

I would say that this suits best for my issues and I like it more than
2nd solution as all monit related config is in single place and later
I would not need to find where exactly I put unmonitor/monitor

I'll try snippets soon, thanks again.

s pozdravom do zatvy Edke

E-mail & gtalk: address@hidden

reply via email to

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