Werk #15281: mssql_blocked_sessions: Levels now overwrite state
Komponente | Checks & agents |
Titel | mssql_blocked_sessions: Levels now overwrite state |
Datum | 07.03.2023 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.1.0p26 2.2.0b2 2.3.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein |
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.