Werk #11712: mk_jolokia: Fix plugin execution on Windows

Komponente Agent Bakery
Titel mk_jolokia: Fix plugin execution on Windows
Datum 04.12.2020
Checkmk-Editon Checkmk Enterprise (CEE)
Checkmk-Version 2.1.0i1 2.0.0b2
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks