Werk #14547: systemd_units: Fix error when parsing incomplete data
Component | Checks & agents |
Title | systemd_units: Fix error when parsing incomplete data |
Date | Aug 1, 2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.1.0p10 2.2.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
In some cases, the check plugin systemd_units crashed when parsing raw agent data. In such cases, the Check_MK Discovery service reported "Parsing of section systemd_units failed" and went WARNING. The error message in the corresponding crash report was:
IndexError (list index out of range)