Werk #17366: Parsing systemd units which trigger others

Component Checks & agents
Title Parsing systemd units which trigger others
Date Nov 18, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p22 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p37 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In case a systemd unit will trigger others, a systemctl output may look like:

Triggers: ● check-mk-agent@3148-1849349-997.service
● check-mk-agent@3149-1849349-997.service

This led to falsely parsed data from the systemd status section. CPU or memory may have been mixed up between the units.

This is fixed now.

To the list of all Werks