hosts/monitoring-3: alert for hosts that just booted
This commit is contained in:
parent
f99779e963
commit
e9414209f5
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user