1
0
Fork 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
1 changed files with 7 additions and 0 deletions

View File

@ -24,3 +24,10 @@ groups:
annotations:
summary: "Storage for backup 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"