Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3930cfb9dbf9fab5629ddd164d8aa1ef7cd677a6
https://github.com/tribe29/checkmk/commit/3930cfb9dbf9fab5629ddd164d8aa1ef7…
Author: Andreas Umbreit <andreas.umbreit(a)tribe29.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
A .werks/14957
M agents/check_mk_agent.aix
M agents/check_mk_agent.freebsd
M agents/check_mk_agent.linux
M agents/check_mk_agent.macosx
M agents/check_mk_agent.openwrt
M agents/check_mk_agent.solaris
M agents/wnx/src/engine/providers/fileinfo.cpp
Log Message:
-----------
SUP-11162: Add Werk 14957
fileinfo: Calculate ref timestamp as last step
Doing it the other way round may lead to negative time differences,
when a monitored file gets touched right after the reference timestamp
got calculated.
The fileinfo check can't (and shouldn't) handle this.
Change-Id: I946088de4648096b6d69f2f233e5501504528188