[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monit sends email after “sheduled downtime” but shouldnt
From: |
Lutz Mader |
Subject: |
Re: Monit sends email after “sheduled downtime” but shouldnt |
Date: |
Wed, 25 Nov 2020 21:00:34 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Hello Gabriel,
it does not work, see
https://mmonit.com/monit/documentation/monit.html#SERVICE-POLL-TIME
The (not) every rule (disables) enables the monitoring for a given time
interval. You disable the file check for a hour, but monit knows the
last checked line and restart the check at this line.
> check file ssh_logins with path /var/log/messages
> not every "* 14 * * *"
> if match "Accepted keyboard-interactive/pam" then alert
Sorry,
Lutz