Werk #17595: Fix miscalculated summary of availability

Component User interface
Title Fix miscalculated summary of availability
Date Feb 5, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p27 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When calculating the availability average, unmonitored hosts/services were subtracted twice from the total number of hosts/services. This resulted in average availabilities greater than 100%.

Now the average availability is calculated and displayed correctly on when unmonitored hosts/services are present.

To the list of all Werks