Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: c70681e3cbc9486167fe63d3d5cd2c6a06098d75
https://github.com/tribe29/checkmk/commit/c70681e3cbc9486167fe63d3d5cd2c6a0…
Author: Sofia Colakovic <sofia.colakovic(a)tribe29.com>
Date: 2022-12-16 (Fri, 16 Dec 2022)
Changed paths:
A .werks/14708
M cmk/base/plugins/agent_based/utils/fileinfo.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_fileinfo_utils.py
Log Message:
-----------
14708 FIX fileinfo: Fix crash with negative file age
Previously, fileinfo and fileinfo group services would crash
if the file's creation timestamp was from the future.
Now, the service state is UNKNOWN and there is a message indicating
the problem.
SUP-12579
Change-Id: I03ada6abbcc5836cadf699e79d2ff97374c12205