fix check free disk space

This commit is contained in:
iamdenchik 2020-01-15 12:40:19 +05:00
parent d699a0d924
commit 29b66f9b3e

View file

@ -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