Compare commits
1 Commits
monitoring
...
monitoring
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb855dbbad |
@@ -65,22 +65,22 @@ groups:
|
|||||||
description: "<10% free on {{ $labels.mountpoint }}"
|
description: "<10% free on {{ $labels.mountpoint }}"
|
||||||
|
|
||||||
- alert: DiskUsageHigh
|
- alert: DiskUsageHigh
|
||||||
expr: (1 - (node_filesystem_avail_bytes{mountpoint="/",fstype!~"tmpfs|overlay"} / node_filesystem_size_bytes{mountpoint="/",fstype!~"tmpfs|overlay"})) > 0.85
|
expr: (1 - (node_filesystem_avail_bytes{fstype!~"tmpfs|overlay",mountpoint!~"/boot/efi"} / node_filesystem_size_bytes{fstype!~"tmpfs|overlay",mountpoint!~"/boot/efi"})) > 0.85
|
||||||
for: 15m
|
for: 15m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: "Disk usage >85% on {{ $labels.instance }}"
|
summary: "Disk usage >85% on {{ $labels.instance }}"
|
||||||
description: "Root filesystem usage above 85%"
|
description: "{{ $labels.mountpoint }} usage above 85%"
|
||||||
|
|
||||||
- alert: DiskUsageCritical
|
- alert: DiskUsageCritical
|
||||||
expr: (1 - (node_filesystem_avail_bytes{mountpoint="/",fstype!~"tmpfs|overlay"} / node_filesystem_size_bytes{mountpoint="/",fstype!~"tmpfs|overlay"})) > 0.95
|
expr: (1 - (node_filesystem_avail_bytes{fstype!~"tmpfs|overlay",mountpoint!~"/boot/efi"} / node_filesystem_size_bytes{fstype!~"tmpfs|overlay",mountpoint!~"/boot/efi"})) > 0.95
|
||||||
for: 5m
|
for: 5m
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: "Disk usage >95% on {{ $labels.instance }}"
|
summary: "Disk usage >95% on {{ $labels.instance }}"
|
||||||
description: "Root filesystem usage above 95%"
|
description: "{{ $labels.mountpoint }} usage above 95%"
|
||||||
|
|
||||||
- alert: DockerContainerDown
|
- alert: DockerContainerDown
|
||||||
expr: time() - container_last_seen > 120
|
expr: time() - container_last_seen > 120
|
||||||
|
|||||||
Reference in New Issue
Block a user