Skip to content
Snippets Groups Projects
Verified Commit acaa31ec authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Try to cut down on false positives with backup alerts

gemini takes a long time to run backups and it would sometimes produce false positives for not having backed up for some time.
The higher threshold should help with those false positives.
parent edb6bb6c
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ groups:
interval: 60s
rules:
- alert: BorgHetznerMissingBackup
expr: time() - borg_hetzner_last_archive_timestamp > 86400 * 1.2
expr: time() - borg_hetzner_last_archive_timestamp > 86400 * 1.5
for: 2m
labels:
severity: critical
......@@ -269,7 +269,7 @@ groups:
summary: 'Borg Hetzner missing backup (instance {{ $labels.instance }})'
description: 'Borg has not backuped for more than 24 hours. Last backup made on {{ $value | humanizeTimestamp }}'
- alert: BorgOffsiteMissingBackup
expr: time() - borg_offsite_last_archive_timestamp > 86400 * 1.2
expr: time() - borg_offsite_last_archive_timestamp > 86400 * 1.5
for: 2m
labels:
severity: critical
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment