Werk #14084: Deprecate old HW/SW inventory plugin API

Component Checks & agents
Title Deprecate old HW/SW inventory plugin API
Date May 2, 2022
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.2.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0b8 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk only affects users and maintainers of custom hardware/software inventory plugins.

The old API for the plugins residing in {local/,}share/check_mk/inventory will be removed in Checkmk version 2.2. Plugins in that folder will be ignored starting with 2.2. However, they keep working with the 2.1 for the transition period.

As of Checkmk version 2.1 plugins in that folder will generate a warning on the commandline and result in an "Analyze Configuration" test going to "WARN".

If you maintian such plugins, please migrate them to the new API before upgrading to Checkmk 2.2. New plugins live in lib/check_mk/base/plugins/agent_based/. You can find an example for a migration on github here and here. Also refer to the APIs documentation found in your site (Help -> Check plugin API reference).

To the list of all Werks