Werk #12706: ps section parser: crash on KeyError() when host is using busybox' ps implementation

Komponente Checks & agents
Titel ps section parser: crash on KeyError() when host is using busybox' ps implementation
Datum 09.04.2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.0.0p2 2.1.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Busybox' ps implementation does not provide the columns needed for the ps check, so the section parser crashes on missing colums (of which the first is 'user', resulting in KeyError(user). This change checks for the existence of all needed columns and aborts otherwise.

Zur Liste aller Werks