Werk #15281: mssql_blocked_sessions: Levels now overwrite state

Component Checks & agents
Title mssql_blocked_sessions: Levels now overwrite state
Date Mar 7, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p26 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The inline-help of the parameter "Levels for wait" of the rule "MSSQL Blocked Sessions" mentions:

"The thresholds for wait_duration_ms. Will overwrite the default state set above."

This was not right. If only the levels were set, the check would go to CRIT regardless of the wait_duration_ms.

After setting "Levels for wait" all sessions that wait for a shorter duration than the warning level of "Levels for wait" will not affect the check result. The check result is then controlled by wait_duration_ms being greater than the levels defined.

If "Levels for wait" is not set (the default), the behaviour is not altered.

To the list of all Werks