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 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.0.0p17 2.1.0b1 |
Level | Trivial Change |
Class | New Feature |
Compatibility | Compatible - no manual interaction needed |
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.