tyo0/prometheus: check /persist in DiskFull

This commit is contained in:
Guanran Wang 2024-10-06 16:30:12 +08:00
parent bc50e3c9b3
commit 0a7f0c4355
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -125,7 +125,7 @@ in
}
{
alert = "DiskFull";
expr = ''node_filesystem_avail_bytes{mountpoint=~"/|/mnt"} / node_filesystem_size_bytes < 0.1'';
expr = ''node_filesystem_avail_bytes{mountpoint=~"/|/persist|/mnt"} / node_filesystem_size_bytes < 0.1'';
annotations = {
summary = "Low disk space on {{ $labels.instance }}";
description = "The disk {{ $labels.device }} mounted at {{ $labels.mountpoint }} on {{ $labels.instance }} has less than 10% of empty space available.";