Werk #15420: mssql_availability_groups: Catch errors

Component Checks & agents
Title mssql_availability_groups: Catch errors
Date Mar 22, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
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.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When monitoring MSSQL databases with the mssql agent plugin, the discovery previously crashed when the plugin was unable to query for availability groups.

Now, unsuccessful queries for availability groups will be skipped on service discovery. For already discovered services, an unsuccessful query will result in an UNKNOWN state, containing the error message passed by the mssql agent plugin.

To the list of all Werks