Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #22127: Fix crash in SLA views for services without availability data

Component User interface
Title Fix crash in SLA views for services without availability data
Date Aug 17, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p12
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p36
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Opening a view with an SLA column could fail with a crash report showing a KeyError that names a site and a host, for example KeyError: ('mysite', 'myhost').

This happened when one of the services shown in the view had no state history at all within the SLA time range -- for example a service created after the start of the period, or one whose host was not monitored during it. The SLA computation expected availability data to exist for every service in the view.

Such a service is now treated like any other period without data: the SLA requirements do not apply to it, and the other services in the view are evaluated as before.

To the list of all Werks