Werk #11875: Linux agent: Fix random broken pipe error in agent output

Component Checks & Agents
Title Linux agent: Fix random broken pipe error in agent output
Date Jan 15, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0b5 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

The agent output may randomly contain errors like this in the first line of the agent output "line 12: echo: write error: Broken pipe" which would confuse the Checkmk server side and result in Check_MK services reporting CRITICAL states with an error message like "Unsupported protocol version" or "Agent output is encrypted but encryption is disabled by configuration".

To the list of all Werks