|
From: | Riccardo Leonardi |
Subject: | Re: How to repeat alert notification |
Date: | Thu, 26 Jan 2017 18:10:15 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
Hi, unfortunately my case is different because the monit process running onto mailserver to be monitored "talk" with a centralized m/monit. My fault, I didn't specified clearly before, sorry. In fact is the notification of the failure event generated by monit to m/monit that is NOT repeated. In short, the syntax you reported would do the trick: if status != 0 then alert repeat every 10 cycles
but unfortunately it's not accepted by monit: # /usr/local/monit/bin/monit -t /usr/local/monit/conf/monitrc /usr/local/monit/conf/monitrc:51: syntax error 'repeat' Alert notification from monit to m/monit is what I want repeat every x cycles until failure status is cleared. Il 26/01/2017 17:55, Guillaume François
ha scritto:
|
[Prev in Thread] | Current Thread | [Next in Thread] |