Werk #12388: check_mk_agent.aix: Fix execution of cached plugins

Component Checks & agents
Title check_mk_agent.aix: Fix execution of cached plugins
Date Jun 25, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Plugins in the folder /usr/check_mk/lib/plugins/NUMBER are executed asynchronously. Since Checkmk version 2.0.0b4 it was broken because in ksh, dash or similar the following command in the run_cached function

sh -c "COMMAND-STRING"

expects executable commands/files but not inline functions.

To the list of all Werks