Werk #17047: systemd_units: Properly exclude ignored services from failed count in systemd summary

Component Checks & agents
Title systemd_units: Properly exclude ignored services from failed count in systemd summary
Date Feb 20, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p28 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In systemd summary checks, services that were configured to be ignored in the ruleset were still affecting the state of the service. This was not the expected behaviour, as ignored services should not affect the state of the service.

Now, if a service is configured to be ignored in the rule: * It will only appear in the "Ignored" services count

This is a follow up to werk #17042, where the unintended behaviour was introduced.

To the list of all Werks