fix check free disk space (#75)

fix check free disk space
This commit is contained in:
Samuel Berthe 2020-01-15 14:28:23 +01:00 committed by GitHub
commit 67b322ae5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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