Werk #13306: mk_docker.py: Improve error reporting when executed asynchronously

Component Checks & Agents
Title mk_docker.py: Improve error reporting when executed asynchronously
Date Sep 21, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p12 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The agent plugin is expected to transport some errors to the Checkmk server to make them visible on the service discovery page. E.g. when the docker python is missing on the target system, this should be displayed to the user.

However, when the plugin is executed in asynchronous mode, the error reporting of the plugin told the agent to drop the error messages in previous versions.

To the list of all Werks