Update rules.yml

This commit is contained in:
Samuel Berthe 2024-04-29 22:35:43 +02:00 committed by GitHub
parent 6b05a59ad9
commit 267c3e8e70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -199,6 +199,7 @@ groups:
description: "{{ $labels.instance }}: Device error with the {{ $labels.mountpoint }} filesystem"
query: "node_filesystem_device_error == 1"
severity: critical
for: 2m
- name: Host inodes will fill in 24 hours
description: Filesystem is predicted to run out of inodes within the next 24 hours at current write rate
query: '(node_filesystem_files_free{fstype!="msdosfs"} / node_filesystem_files{fstype!="msdosfs"} * 100 < 10 and predict_linear(node_filesystem_files_free{fstype!="msdosfs"}[1h], 24 * 3600) < 0 and ON (instance, device, mountpoint) node_filesystem_readonly{fstype!="msdosfs"} == 0) * on(instance) group_left (nodename) node_uname_info{nodename=~".+"}'