This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

configs.monitoring: ignore network and autofs mounts in DiskAlmostFull

author
Hermes
committer
lassulus
date (Oct 14, 2026, 12:28 PM CEST) commit 99a78037 parent e731cb83
+5 -1
+5 -1
configs/monitoring/alerts.nix
··· 21 21 (alert "HostDown" (lib.concatMapStringsSep " or " ( 22 22 host: ''absent_over_time(host_uptime{host="${host}"}[10m])'' 23 23 ) alwaysOn) "0m" "{{ $labels.host }} sent no metrics for 10 minutes") 24 - (alert "DiskAlmostFull" "host_filesystem_used_ratio > 0.9" "15m" 24 + # Network mounts (and their autofs placeholders) are reported by 25 + # every machine that mounts them; the agent drops tmpfs & co. 26 + (alert "DiskAlmostFull" 27 + ''host_filesystem_used_ratio{filesystem!~"cifs|smb3|nfs|nfs4|autofs|fuse.sshfs"} > 0.9'' 28 + "15m" 25 29 "{{ $labels.host }}: {{ $labels.mountpoint }} is {{ $value | humanizePercentage }} full" 26 30 ) 27 31 (alert "HighMemory" "1 - host_memory_available_bytes / host_memory_total_bytes > 0.95" "15m"