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, <[email protected]> <[email protected]> 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 -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
