Werk #16994: REST-API: error 500 on service discovery when disabling active or custom checks

Component REST API
Title REST-API: error 500 on service discovery when disabling active or custom checks
Date Aug 26, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p14 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p33 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When disabling an active or custom check and running the service discovery via the REST-API, for example with the

/domain-types/service_discovery_run/actions/start/invoke

endpoint, this would cause an error 500 to be returned.

Now, the service discovery via the REST-API works as expected.

To the list of all Werks