Werk #15976: mssql_backup: Correct timezone difference for last backup date

Komponente Checks & agents
Titel mssql_backup: Correct timezone difference for last backup date
Datum 10.10.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.2.0p22 2.3.0b1 2.4.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

This werk is relevant for users monitoring the age of the last backup time of mssql databases in different timezones.

The date/time of the last backup of a mssql database is currently stored in local host time without the information about the host timezone. When this time is used to check the age of the last backup, it is interpreted in the Checkmk server timezone. When using different timezones, this leads to incorrect values for "Age of last database backup" and if the age is negative, in newer Checkmk versions to the warning "Cannot reasonably calculate time since last backup (hosts time running ahead)".

The mssql agent plugin will now store the time in UTC and the mssql_backup check will interpret the time accordingly.

You will need to update the agent plugin mssql.vbs to receive the corrected times.

Zur Liste aller Werks