[Release] Checkmk stable release 2.3.0p27

The problem is this change here.

    yield Result(
-        state=State.OK,
-        summary=f"Failed: {sum(s.active_status == 'failed' for s in units):d}",
+        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}",
    )

That makes really no sense. As ignores all blacklisting done with rules.

2 Likes