[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "check file" not working as expected
From: |
Martin Pala |
Subject: |
Re: "check file" not working as expected |
Date: |
Tue, 28 Feb 2017 11:34:48 +0100 |
Hi Tim,
this problem is fixed in the upcoming Monit release (5.21.0):
https://bitbucket.org/tildeslash/monit/issues/547/monit-check-file-do-not-read-file-content
Best regards,
Martin
> On 23 Feb 2017, at 15:58, <address@hidden> <address@hidden> wrote:
>
> Hi,
>
> we use monit to monitor application logfiles for certain strings like that:
>
> check file appl1-log with path /some/where/appl1-log
> if match "whatever" then alert
>
> In case of a database maintenance, we set any of these to "unmonitor", e.g.
> "monit unmonitor appl1-log", so that we don't get flooded unnecessarily with
> unwanted mails. That works.
>
> But if we monitor them again after maintenance is finished, then we always
> get a mail for matches that were found in the meantime. I expected the search
> to be started at the end of the file when running "monit monitor appl1-log".
> How can I achieve that?
>
> Regards
> Tim
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general