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 Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0b5 2.1.0b1
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