[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quietly restart process, alert only if restart fails?
From: |
Simon Coffey |
Subject: |
Re: Quietly restart process, alert only if restart fails? |
Date: |
Fri, 28 Oct 2011 12:11:01 +0100 |
Hi Martin,
On 28 October 2011 02:56, Martin Pala <address@hidden> wrote:
>
> 1.) the "set alert" filters out the alert on exceeded "resource" usage
> (memory in this case) and "nonexist" process
> 2.) the "if 3 restarts within 3 cycles then alert" will generate event in the
> after 3 restarts which is not filtered out by above mentioned settings
> 3.) the "if does not exist" statement is not necessary - with above
> configuration monit will by default restart the process if it is not running
>
Superb! This works perfectly. I didn't realise you could check on
restarts in a rule condition - really useful.
Thank you very much. Ah, the quiet life... :-)
Cheers,
Simon