Compare commits
1 Commits
monitoring
...
monitoring
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f50f70a6e |
@@ -36,3 +36,21 @@ groups:
|
||||
annotations:
|
||||
summary: "Disk low on {{ $labels.instance }}"
|
||||
description: "<10% free on {{ $labels.mountpoint }}"
|
||||
|
||||
- alert: DiskUsageHigh
|
||||
expr: (1 - (node_filesystem_avail_bytes{mountpoint="/",fstype!~"tmpfs|overlay"} / node_filesystem_size_bytes{mountpoint="/",fstype!~"tmpfs|overlay"})) > 0.85
|
||||
for: 15m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Disk usage >85% on {{ $labels.instance }}"
|
||||
description: "Root filesystem usage above 85%"
|
||||
|
||||
- alert: MemAvailableLow
|
||||
expr: (node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes) < 0.08
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "Low available memory on {{ $labels.instance }}"
|
||||
description: "MemAvailable < 8%"
|
||||
|
||||
Reference in New Issue
Block a user