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|
|Checkmk Edition||Checkmk Raw (CRE)|
|Checkmk Version||2.3.0b1 2.2.0b5|
|Compatibility||Compatible - no manual interaction needed|
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.