Werk #16330: size_trend: avoid 'infinite to integer' crash

Komponente Checks & agents
Titel size_trend: avoid 'infinite to integer' crash
Datum 24.01.2024
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.1.0p39 2.2.0p21 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

While calculating how much time is left until the resource is full, if the value of the mb in range was too low (e.g. 1e-320) the check used to crash with 'infinite to integer'. This has now been fixed and if the value is too low and causes division with it to result in 'inf', the check will not be executed.

Zur Liste aller Werks