mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 17:07:24 +08:00
fix check free disk space
This commit is contained in:
parent
d699a0d924
commit
29b66f9b3e
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ services:
|
|||
severity: warning
|
||||
- name: Out of disk space
|
||||
description: Disk is almost full (< 10% left)
|
||||
query: 'node_filesystem_free_bytes{mountpoint ="/rootfs"} / node_filesystem_size_bytes{mountpoint ="/rootfs"} * 100 < 10'
|
||||
query: '(node_filesystem_avail_bytes{mountpoint="/rootfs"} * 100) / node_filesystem_size_bytes{mountpoint="/rootfs"} < 10'
|
||||
severity: warning
|
||||
- name: Disk will fill in 4 hours
|
||||
description: Disk will fill in 4 hours at current write rate
|
||||
|
|
|
|||
Loading…
Reference in a new issue