Werk #15668: mssql_availability_groups: crash when sync state is PARTIALLY_HEALTHY

Component Checks & agents
Title mssql_availability_groups: crash when sync state is PARTIALLY_HEALTHY
Date Apr 18, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The check mssql_availability_groups would crash when a replica's sync state is "PARTIALLY_HEALTHY". This would be shown in the "Check_MK Discovery" service of the relevant host with the error message

"ValueError ('PARTIALLY_HEALTHY' is not a valid SyncState)".

This has been fixed and the Checkmk state of the corresponding service is WARN.

To the list of all Werks