Werk #16825: parent scan: Deprecate command line tool in favor of REST API endpoint

Component Setup
Title parent scan: Deprecate command line tool in favor of REST API endpoint
Date May 2, 2024
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In this werk, we replace the cmk --scan-parents command line tool with a more flexible parent scan REST API endpoint.

As opposed to the command line option, the new endpoint will no longer create automatically-applied parents.mk config files but rely on the standard WATO configuration mechanism, so changes need to be activated afterwards.

Attention: Incompatibility, possible data loss in distributed monitoring setups

If you have previously used the parent scan through the command line tool, the resulting parents.mk config files will be migrated into your hosts configuration during the update process. However, only parent scan configurations on the central site will be migrated, remote site parents.mk configuration files will just be ignored. If this affects your setup, please re-trigger a parent scan for the affected child hosts in the GUI or REST API.

To the list of all Werks