Skip to content

Commit 167d37e

Browse files
committed
don't alert on /run/credentials/systemd fs problems
1 parent 99df07f commit 167d37e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

environments/common/files/prometheus/rules/node-exporter.rules

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,12 @@ groups:
4444
summary: Host out of inodes (instance {{ $labels.instance }})
4545
description: "Disk is almost running out of available inodes (< 10% left)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
4646

47+
# Modified: ignore /run/credentials paths
4748
- alert: HostFilesystemDeviceError
48-
expr: node_filesystem_device_error{fstype!~"^(fuse.*|tmpfs|cifs|nfs)"} == 1
49+
expr: node_filesystem_device_error{
50+
fstype!~"^(fuse.*|tmpfs|cifs|nfs)",
51+
mountpoint!~"/run/credentials/.*"
52+
} == 1
4953
for: 2m
5054
labels:
5155
severity: critical

0 commit comments

Comments
 (0)