Werk #11712: mk_jolokia: Fix plugin execution on Windows

Component Agent Bakery
Title mk_jolokia: Fix plugin execution on Windows
Date Dec 4, 2020
Checkmk Editon Checkmk Enterprise (CEE)
Checkmk Version 2.1.0i1 2.0.0b2
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

If the mk_jolokia agent plugin was used the HW-/SW Inventory would fail. Therefore the agent plugin could not be used for Windows.

The reason for that was that in Python 3 sys.stdout returns "\r\n" as linebreak for Windows. Checkmk can't handle this therefore we removed it by replacing the default sys.stdout.

To the list of all Werks