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 Edition Checkmk Enterprise (CEE)
Checkmk Version 2.0.0b2 2.1.0b1
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