Werk #14537: service_discovery: addition of new endpoint to show full service discovery result

Component REST API
Title service_discovery: addition of new endpoint to show full service discovery result
Date Jul 5, 2022
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk introduces the new /objects/service_discovery/{host_name} endpoint which returns the latest service discovery result of a host. The response object includes the check table with all discovered services, the host labels, the vanished and new labels. The existing /domain-types/service/collections/services endpoint, which only returned the discovered services of a specific phase is deprecated and will be removed with Checkmk 2.3. Users should consider migrating the functionalities to the new endpoint.

To the list of all Werks