Werk #11711 · Dec 1, 20
mk_logwatch: Fix plugin execution on Windows
If the mk_logwatch agent plugin was used no Agent Output was created and the HW-/SW Inventory would fail aswell. Therefore the agent plugin could not be used for Windows.
The reasons for that were:
- 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.
- The win32api module could not be imported because pywin32 was not installed. Now pywin32 is installed by default.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Agents
- Versions:
- 2.1.0b1ProUltimate + MT
- 2.0.0b2ProUltimate + MT