Werk #18290: REST-API: re-use existing notification parameters

Component REST API
Title REST-API: re-use existing notification parameters
Date Oct 10, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p14
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When creating notification rules via the REST-API, a new notification parameter was created each time, even if an identical parameter already existed. This led to unnecessary duplication of notification parameters.

To address this issue, the REST-API now re-uses existing notification parameters when creating new notification rules. This change reduces duplication and improves the efficiency of the notification system.

We have also added an update action that will remove any duplicate notification parameters and also update the notification rules to reference the re-used parameters.

To the list of all Werks