Werk #16330: size_trend: avoid 'infinite to integer' crash
Component | Checks & agents | ||||||
Title | size_trend: avoid 'infinite to integer' crash | ||||||
Date | Jan 24, 2024 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
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.