Werk #17825: Prevent availability view crash due to division by 0
Component | User interface | ||||||
Title | Prevent availability view crash due to division by 0 | ||||||
Date | Mar 19, 2025 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
With long time periods (e.g. last year) and recently added hosts, the availability view crashed when the "Include unmonitored time" option was disabled.
This was due to the fact that the monitored time of the host tended to be 0 in this constellation.
In this case the specified time instead of the span is now used to calculate the uptime in percent.