This repository has no description
0

Configure Feed

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

configs.monitoring: exempt every mount of the download dataset from DiskAlmostFull

yellow mounts the same ZFS dataset (tank/download) as neoprism's
/var/download, which is covered by DownloadSpace*, so DiskAlmostFull
fired for it. Match the exemption on the device of neoprism's series
instead of host and mountpoint.

+3 -2
+3 -2
configs/monitoring/alerts.nix
··· 23 23 ) alwaysOn) "0m" "{{ $labels.host }} sent no metrics for 10 minutes") 24 24 # Network mounts (and their autofs placeholders) are reported by 25 25 # every machine that mounts them; the agent drops tmpfs & co. 26 - # neoprism's /var/download is always above 90%, see DownloadSpace*. 26 + # neoprism's /var/download is always above 90%, see DownloadSpace*; 27 + # skipped on every host that mounts the same dataset. 27 28 (alert "DiskAlmostFull" 28 - ''host_filesystem_used_ratio{filesystem!~"cifs|smb3|nfs|nfs4|autofs|fuse.sshfs"} > 0.9 unless on (host, mountpoint) host_filesystem_used_ratio{host="neoprism",mountpoint="/var/download"}'' 29 + ''host_filesystem_used_ratio{filesystem!~"cifs|smb3|nfs|nfs4|autofs|fuse.sshfs"} > 0.9 unless on (device) host_filesystem_used_ratio{host="neoprism",mountpoint="/var/download"}'' 29 30 "15m" 30 31 "{{ $labels.host }}: {{ $labels.mountpoint }} is {{ $value | humanizePercentage }} full" 31 32 )