Skip to content

Commit

Permalink
Merge pull request #714 from mlibrary/add-prep-storage-alerts
Browse files Browse the repository at this point in the history
Add a ticket level alert for prep volume disk pressure
  • Loading branch information
skorner authored Sep 16, 2024
2 parents 8b47e1b + 26bc2fc commit 1c32413
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions templates/profile/prometheus/rules.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,24 @@ groups:
for: 5m
labels:
severity: page
- alert: PrepDiskPressure
annotations:
summary: 'Prep filesystem {{$labels.hostname}}:{{$labels.mountpoint}} is more than 98% full.'
expr: >
(
(
avg_over_time(
node_filesystem_size_bytes{mountpoint=~"prep"}[1m]
) - avg_over_time(
node_filesystem_avail_bytes[1m]
)
) / avg_over_time(
node_filesystem_size_bytes[1m]
)
) > 0.98
for: 30m
labels:
severity: ticket
- alert: HTDataDenIsFull
annotations:
summary: 'Filesystem {{$labels.hostname}}:{{$labels.mountpoint}} is full.'
Expand Down

0 comments on commit 1c32413

Please sign in to comment.