diff --git a/prometheus/values.yaml b/prometheus/values.yaml index e3675b507..f28e657c5 100644 --- a/prometheus/values.yaml +++ b/prometheus/values.yaml @@ -1401,7 +1401,7 @@ conf: - name: basic_linux.rules rules: - alert: node_filesystem_full_80percent - expr: sort(node_filesystem_free{device!="ramfs"} < node_filesystem_size{device!="ramfs"} + expr: sort(node_filesystem_free{fstype =~ "xfs|ext[34]"} < node_filesystem_size{fstype =~ "xfs|ext[34]"} * 0.2) / 1024 ^ 3 for: 5m labels: @@ -1411,7 +1411,7 @@ conf: got less than 10% space left on its filesystem.' summary: '{{$labels.alias}}: Filesystem is running out of space soon.' - alert: node_filesystem_full_in_4h - expr: predict_linear(node_filesystem_free{device!="ramfs"}[1h], 4 * 3600) <= 0 + expr: predict_linear(node_filesystem_free{fstype =~ "xfs|ext[34]"}[1h], 4 * 3600) <= 0 for: 5m labels: severity: page