Hi,
I did upgrade to CRE 2.3.0p27 yesterday, but I can’t say there was no problem with my previous version 2.3.0p24.
I added regex pattern for ignoring services fwupd recently. The fwupd-refresh service failed in the past. Today the Systemd Service Summary is in the CRIT state despite the “ignore” pattern. I took a look into systemd_units.py and there is probably a bug
yield Result(
state=State(params["states"].get("failed", params["states_default"]))
if (number_of_failed_units := sum(s.active_status == "failed" for s in units))
else State.OK,
summary=f"Failed: {number_of_failed_units:d}",
)
Failed services are counted from units list, but above is the dictionary services_organised, where excluded services are separated, but this logic is not used in counting.
Regards