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
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p7 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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 C:+ sh -c "COMMAND-STRING" C:- expects executable commands/files but not inline functions.

To the list of all Werks