Werk #12634: check plugin register: raise error on duplicate plugin

Component Checks & agents
Title check plugin register: raise error on duplicate plugin
Date Mar 30, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p3 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This change is only relevant for customers who develop and maintain their own checks. In the event that the same check plugin exists in both check API paths (checks and cmk/base/plugins/agent_based), the legacy check plugin overrides the new plugin without generating an error or a warning. With this change, the API raises an error in the event that the check plugin has been duplicated.

To the list of all Werks