|
From: | Eric Pailleau |
Subject: | Re: Silencing Monit for a given amount of cycles |
Date: | Fri, 19 Nov 2010 11:27:43 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100624 Mandriva/3.0.5-0.1mdv2009.1 (2009.1) Thunderbird/3.0.5 |
Is there a possibilty to change this config, so the script gets executed once and not again until the test has returned false at least for one cycle?
check system localhost if loadavg (1min) > 0.1 for 2 cycles then exec "/usr/bin/test -f /tmp/ignore || /my/script" /my/script has simply to touch /tmp/ignore .
[Prev in Thread] | Current Thread | [Next in Thread] |