Werk #15314: mssql_backup: fix 'no backup found' for case-insensitive databases

Komponente Checks & agents
Titel mssql_backup: fix 'no backup found' for case-insensitive databases
Datum 12.12.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p18 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

In certain circumstances it was possible that the mssql.vbs agent plugin returned no backup found because it could not map the found backup to the database.

The reason for that was, that the comparison between the backups database name and the database name was case sensitive, but its possible to configure mssql in a way that backups database name and database name does not match case sensitive.

We now compare both names on the mssql server so the configured case sensitivity is respected.

Zur Liste aller Werks