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

Komponente Core & setup
Titel Special agent modules can now be loaded from local hierarchy
Datum 19.11.2021
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.1.0i1 2.0.0p17
Level Kleine Änderung
Klasse Neues Feature
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks