Werk #13318: Special agent modules can now be loaded from local hierarchy

Component Core & setup
Title Special agent modules can now be loaded from local hierarchy
Date Nov 19, 2021
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p17 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

To make packaging of special agents easier we now support the special agents python modules to be located at local/lib/python3/cmk/special_agents. This is analog to the shipped special agent path at lib/python3/cmk/special_agents.

The modules from the new path can then be imported as usual: import cmk.special_agent.your_name.

To the list of all Werks