Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 8777fa840970f7f2f23be02fad59e563b6f4aca6
https://github.com/tribe29/checkmk/commit/8777fa840970f7f2f23be02fad59e563b…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
R
tests/unit/checks/generictests/datasets/mssql_blocked_sessions_INST_BLOCKED_regression.py
R
tests/unit/checks/generictests/datasets/mssql_blocked_sessions_INST_NO_BLOCKED_regression.py
R
tests/unit/checks/generictests/datasets/mssql_blocked_sessions_NO_INST_BLOCKED_regression.py
R
tests/unit/checks/generictests/datasets/mssql_blocked_sessions_NO_INST_NO_BLOCKED_regression.py
R tests/unit/checks/generictests/datasets/mssql_blocked_sessions_clustered.py
A tests/unit/cmk/base/plugins/agent_based/test_mssql_blocked_sessions.py
Log Message:
-----------
Prepare migration of mssql_blocked_sessions
add tests
Change-Id: I9df20dd717661433965cda725dae8cb63110f46b
Commit: 305a2479f5d2fc000139a63a4b80bcafe1049939
https://github.com/tribe29/checkmk/commit/305a2479f5d2fc000139a63a4b80bcafe…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M checks/mssql_blocked_sessions
Log Message:
-----------
replace collections NamedTuple
Change-Id: I5f25a9a9949e7aa102e3d0b40ee52b911938d9c1
Commit: 311aad7a5494f7a811f7359b5a3e4ba129f787a9
https://github.com/tribe29/checkmk/commit/311aad7a5494f7a811f7359b5a3e4ba12…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M checks/mssql_blocked_sessions
Log Message:
-----------
add some type annotations
Change-Id: I5f56ffdc03582d9be91b4fffa345f3ac03a6edb3
Commit: a9b72d543d9708848cf8d71d8ff0d9255d55ffe6
https://github.com/tribe29/checkmk/commit/a9b72d543d9708848cf8d71d8ff0d9255…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M checkman/mssql_blocked_sessions
R checks/mssql_blocked_sessions
M cmk/base/api/agent_based/clusterize.py
A cmk/base/plugins/agent_based/mssql_blocked_sessions.py
M tests/unit/checks/test_generic_legacy_conversion.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_blocked_sessions.py
Log Message:
-----------
Migrate mssql_blocked_sessions to new check api
Change-Id: I2d28a27f0e73445a16cac0ce5705a2bb10e5a976
Commit: 5264633321bff0290353035527cc2feb71a5bcd5
https://github.com/tribe29/checkmk/commit/5264633321bff0290353035527cc2feb7…
Author: Moritz Kiemer <moritz.kiemer(a)tribe29.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M cmk/base/plugins/agent_based/mssql_blocked_sessions.py
Log Message:
-----------
drop useless comment
Change-Id: I95a86d65190c9e81ed8f32e9387892c7db0df459
Commit: f675c383cec787bc7829f5f4a093bf8fd5b99f8a
https://github.com/tribe29/checkmk/commit/f675c383cec787bc7829f5f4a093bf8fd…
Author: Benedikt Seidl <benedikt.seidl(a)tribe29.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
A .werks/15281
M cmk/base/plugins/agent_based/mssql_blocked_sessions.py
M cmk/gui/plugins/wato/check_parameters/mssql_instance_blocked_sessions.py
M tests/unit/cmk/base/plugins/agent_based/test_mssql_blocked_sessions.py
Log Message:
-----------
15281 FIX mssql_blocked_sessions: Levels now overwrite state
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.
SUP-13208
Change-Id: I16e557e2319ba99eefb1a982b243883d8f64e0fd
Compare:
https://github.com/tribe29/checkmk/compare/7626e74395f4...f675c383cec7