Werk #14957: fileinfo: Crash on negative timespans
Komponente | Checks & agents |
Titel | fileinfo: Crash on negative timespans |
Datum | 31.10.2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.1.0p16 2.2.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.