Werk #14548: mk_logwatch: Make agent plugin executable under Python 2

Komponente Agent bakery
Titel <tt>mk_logwatch</tt>: Make agent plugin executable under Python 2
Datum 01.08.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0p10
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Werk 14451 introduced a regression which made the logwatch agent plugin crash under Python 2. The "Check_MK" service of affected hosts reported "Missing monitoring data for plugins: logwatch". The error message thrown by the plugin when executed directly on the host read

Traceback (most recent call last):
...
ValueError: invalid literal for int() with base 10: ...

Zur Liste aller Werks