|
From: | Martin Pala |
Subject: | Re: Delaying monitoring |
Date: | Fri, 1 Apr 2011 21:11:43 +0200 |
You can use most probably something like this (not tested): --8<-- if 5 restarts within 8 cycles then exec "/bin/bash -c '/usr/bin/monit unmonitor myservice && echo /usr/bin/monit monitor myservice | at now + 20minutes" --8<-- the script first disables monitoring of service called "myservice" and then schedules monitoring enable using "at". Martin On Apr 1, 2011, at 12:12 PM, Jeb Wilkins wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |