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
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

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