Werk #16330: size_trend: avoid 'infinite to integer' crash
Component | Checks & agents |
Title | size_trend: avoid 'infinite to integer' crash |
Date | Jan 24, 2024 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.1.0p39 2.2.0p21 2.3.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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.