bundles/backup-client: add monitoring for backups

This commit is contained in:
Franzi 2021-01-01 13:59:42 +01:00
parent ed325848ab
commit 48fc341137
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 45 additions and 0 deletions

View file

@ -24,6 +24,9 @@ else:
},
'mode': '0700',
},
'/usr/local/share/icinga/plugins/check_backup_last_run': {
'mode': '0755',
},
'/etc/backup.priv': {
'content': repo.vault.decrypt_file(join('backup', 'keys', f'{node.name}.key.vault')),
'mode': '0400',