Werk #559: WATO snapshots: improved validation of (uploaded) snapshots

Component Setup
Title WATO snapshots: improved validation of (uploaded) snapshots
Date Feb 20, 2014
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.5i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Some new validation features have been added

  • Only tar and tar.gz files can be uploaded
  • It is checked if the file size if reasonable
  • It is checked if the content of the tarfile 'looks' OK (real check is done later)

Upon restoring the snapshot, an additional integrity check is done for each of the subtar files. If this check fails, e.g. some tar.gz is corrupted, the snapshot won't get applied and an error message is raised.

To the list of all Werks