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

Werk #19734: Fix wrong response fields for SLA outage-count and state-percentage computations

Component REST API
Title Fix wrong response fields for SLA outage-count and state-percentage computations
Date Jul 6, 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.0p9 Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p35
Not yet released
Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Outage-count computations returned the wrong response shape

Previously, computing an SLA definition that uses the "service outage count" plugin returned broken results via the REST API:

  • The response had the wrong shape entirely - it looked like a "service state percentage" result instead of an outage-count result.
  • The requirement's threshold_count and allowed_duration were missing from the response entirely.
  • The requirement's observed_state showed up as a plain number (e.g. "2") instead of the expected state name (e.g. "crit").
  • An irrelevant monitoring_levels block, which only applies to the "service state percentage" plugin, was included in outage-count results too.

This has been fixed. Outage-count computations now return their own correct response shape, with observed_state, threshold_count, and allowed_duration all present and correctly typed.

CRIT results showed up as "writ" in state-percentage computations

Independently of the above, computing an SLA definition that uses the "service state percentage" plugin returned "writ" instead of "crit" for observed_state whenever the underlying rule was based on the CRIT state. This has been fixed as well.

To the list of all Werks