Werk #13990: Fix systemd_units check plugin crash on certain initial line characters
Komponente | Checks & agents |
Titel | Fix systemd_units check plugin crash on certain initial line characters |
Datum | 22.06.2022 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.1.0p4 2.2.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
In some cases, the 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)