Use node_filesystem_avail_bytes

This is consistent with the other disk rule, and the will fire when the
disk will fill for non-root users.
This commit is contained in:
Nik Clayton 2020-10-16 17:07:31 +02:00 committed by GitHub
parent 57b7007de4
commit e5d4a5b64e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,7 @@ groups:
"--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/)" "--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/)"
- name: Host disk will fill in 4 hours - name: Host disk will fill in 4 hours
description: Disk will fill in 4 hours at current write rate description: Disk will fill in 4 hours at current write rate
query: 'predict_linear(node_filesystem_free_bytes{fstype!~"tmpfs"}[1h], 4 * 3600) < 0' query: 'predict_linear(node_filesystem_avail_bytes{fstype!~"tmpfs"}[1h], 4 * 3600) < 0'
severity: warning severity: warning
- name: Host out of inodes - name: Host out of inodes
description: Disk is almost running out of available inodes (< 10% left) description: Disk is almost running out of available inodes (< 10% left)