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
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.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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