Hello.

Thank you for your tips.

On Mon, Nov 7, 2011 at 18:01,  <[email protected]> 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
commands.

I'll try snippets soon, thanks again.




-- 
s pozdravom do zatvy Edke

E-mail & gtalk: [email protected]

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to