Werk #14957: fileinfo: Crash on negative timespans

Component Checks & agents
Title fileinfo: Crash on negative timespans
Date Oct 31, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p16
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

When monitoring files/filegroups with service monitoring rules Size and age of single files or Size, age and count of file groups (i.e., all services basing on the fileinfo agent section, not on the mk_filestats agent plugin), the service evaluation could fail with a crash report containing the error "Cannot render negative timespan".

This happened very rarely, and if it did, it was temorary (for one check period).

Since the fix consists of a change in the agent section evaluation, you'll have to update agents to apply it on affected systems.

To the list of all Werks