Werk #559: WATO snapshots: improved validation of (uploaded) snapshots
Component | Setup |
Title | WATO snapshots: improved validation of (uploaded) snapshots |
Date | Feb 20, 2014 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 1.2.5i1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
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.