host/monitoring-3: add rule for backups that are behind
This commit is contained in:
parent
22bf25715e
commit
b77e9016d7
@ -25,6 +25,14 @@ groups:
|
|||||||
annotations:
|
annotations:
|
||||||
summary: "Storage of {{ $labels.instance }} is full"
|
summary: "Storage of {{ $labels.instance }} is full"
|
||||||
description: "Storage of {{ $labels.instance }} for {{ $labels.mountpoint }} on {{ $labels.device }} is full"
|
description: "Storage of {{ $labels.instance }} for {{ $labels.mountpoint }} on {{ $labels.device }} is full"
|
||||||
|
- alert: ClerieBackupJobLastSuccessfulRunBehind
|
||||||
|
expr: time() - clerie_backup_last_successful_run_time{} >= 5400
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "Last successful backup on {{ $labels.instance }} older than 1h"
|
||||||
|
description: "Backup job {{ $labels.backup_job }} to target {{ $labels.backup_instance }} finished successfully over an hour ago"
|
||||||
- alert: InstanceJustBooted
|
- alert: InstanceJustBooted
|
||||||
expr: time() - node_boot_time_seconds{job="node-exporter"} <= 300
|
expr: time() - node_boot_time_seconds{job="node-exporter"} <= 300
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user