Werk #16241: Crash during parsing of systemd unit when description is missing

Component Checks & agents
Title Crash during parsing of systemd unit when description is missing
Date Feb 29, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

You're affected if you're monitoring your systemd units with an old agent and your unit is missing a descpription.

Parsing may have failed with:

>       loaded_status, active_status, current_state, descr = remains.split(" ", 3)
E       ValueError: not enough values to unpack (expected 4, got 3)

This is fixed now.

To the list of all Werks