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

Werk #14341: service_discovery: reimplementation of execute discovery mode endpoint

Component REST API
Title service_discovery: reimplementation of execute discovery mode endpoint
Date Jun 8, 2022
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p7 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Previously, only the update detection mode provided the desired result, while all other modes either had no effect or behaved differently than described. This werk reimplements the discover_services action endpoint. In addition, the descriptions of certain modes are changed to better reflect the intended action. All modes return the same response schema as before expect the refresh option.

The refresh option starts a background job. The response is therefore different from the other mode responses and contains a redirect link to the current status of the running job. The job status can also be directly queried directly via the new endpoint /objects/service_discovery_run/{host_name} endpoint.

To the list of all Werks