Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude prep and Data Den filesystems from the disk filling up fast alert #711

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions templates/profile/prometheus/rules.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ groups:
summary: 'Filesystem {{$labels.hostname}}:{{$labels.mountpoint}} will fill up in a few days.'
expr: >
predict_linear(
node_filesystem_avail_bytes{mountpoint!="/aspace",
device!~".*/aspace",
mountpoint!="/var/lockss",
mountpoint!="/htdataden",
node_filesystem_avail_bytes{mountpoint!="/htdataden",
fstype=~"nfs|cifs"}[1d],
4 * 60 * 60 * 24
) < 0
Expand All @@ -93,10 +90,9 @@ groups:
summary: 'Filesystem {{$labels.hostname}}:{{$labels.mountpoint}} is filling up fast.'
expr: >
predict_linear(
node_filesystem_avail_bytes{mountpoint!="/aspace",
device!~".*/aspace",
mountpoint!="/var/lockss",
mountpoint!="/htdataden",
node_filesystem_avail_bytes{mountpoint!="/htdataden",
mountpoint!~"prep",
device!="ulib-deepbluedata.dataden.arc-ts.umich.edu:/gpfs/locker0/ces/dataden-aa/g/ulib-deepbluedata",
fstype!="afs",
fstype!="tmpfs",
device!="rootfs"}[10m],
Expand All @@ -112,7 +108,7 @@ groups:
(
(
avg_over_time(
node_filesystem_size_bytes{mountpoint!="/usr", mountpoint!="/aspace", fstype!="afs", fstype!="nfs", fstype!="tmpfs", fstype!="cifs", device!="rootfs"}[1m]
node_filesystem_size_bytes{mountpoint!="/usr", fstype!="afs", fstype!="nfs", fstype!="tmpfs", fstype!="cifs", device!="rootfs"}[1m]
) - avg_over_time(
node_filesystem_avail_bytes[1m]
)
Expand All @@ -130,7 +126,7 @@ groups:
(
(
avg_over_time(
node_filesystem_size_bytes{mountpoint!="/usr", mountpoint!="/aspace", fstype!="afs", fstype!="nfs", fstype!="tmpfs", fstype!="cifs", device!="rootfs"}[1m]
node_filesystem_size_bytes{mountpoint!="/usr", fstype!="afs", fstype!="nfs", fstype!="tmpfs", fstype!="cifs", device!="rootfs"}[1m]
) - avg_over_time(
node_filesystem_avail_bytes[1m]
)
Expand Down