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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p3 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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