Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

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

Component Checks & agents
Title ps section parser: crash on KeyError() when host is using busybox' ps implementation
Date Apr 9, 2021
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p2 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

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.

To the list of all Werks