1
0

hosts/monitoring-3: alert for hosts that just booted

This commit is contained in:
clerie 2022-10-02 11:59:37 +02:00
parent f99779e963
commit e9414209f5

View File

@ -24,3 +24,10 @@ groups:
annotations: annotations:
summary: "Storage for backup is nearly full" summary: "Storage for backup is nearly full"
description: "Storage for backups is nearly full" description: "Storage for backups is nearly full"
- alert: InstanceJustBooted
expr: time() - node_boot_time_seconds{job="node-exporter"} <= 300
labels:
severity: warning
annotations:
summary: "Uptime of {{ $labels.instance }} less than 5 min"
description: "{{ $labels.instance }} just booted"