Hi Martin,

On 28 October 2011 02:56, Martin Pala <[email protected]> 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

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

Reply via email to