Werk #15420: mssql_availability_groups: Catch errors

Component Checks & agents
Title mssql_availability_groups: Catch errors
Date Mar 22, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.2.0b1 2.3.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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