[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: restart and alert email
From: |
Lutz Mader |
Subject: |
Re: restart and alert email |
Date: |
Sun, 17 Jan 2021 23:27:03 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Hello,
sometimes monit need a second cycle to get the script status, for some
detail information see
https://mmonit.com/monit/documentation/monit.html#PROGRAM-STATUS-TEST
> Thank you for your answer. For some reason, for me 'script' status
> succeeded (0) message shows up only in the end of second cycle.
>
> In any case, do I understand correctly, that monit will always alert me
> if script status fails no matter if monit will able to restart the
> service? I was under impression that "if 2 restarts within 10 cycles
> then alert" would control when alerts will be sent.
You get an additional alert for this rule, if two restarts are done in a
timeframe of ten cycles. However, you also get a warning for every
failure and also for successes.
With regards,
Lutz