Skip to content
Snippets Groups Projects
Commit c6e1ffe9 authored by Drew Blessing's avatar Drew Blessing
Browse files

Remove predictive filesystem alerts. They're not useful for us at this point.

parent d50a3d4f
No related branches found
No related tags found
No related merge requests found
# Use 6 hours of history to predict 24 hours into the future.
ALERT NodeFilesystemFullSoon
IF predict_linear(node_filesystem_avail{fstype=~"ext.|xfs",mountpoint!~"/mnt/(backup-block-for|remote).*"}[6h], 24*60*60) < 0
FOR 2h
LABELS {
severity = "crit",
}
ANNOTATIONS {
summary = "Filesystem is filling up",
description = "Filesystem '{{ $labels.mountpoint }}' on {{ $labels.instance }} is filling up and will be full in the next 24 hours",
runbook = "troubleshooting/filesystem_alerts.md",
}
# Use 12 hours of history to predict 48 hours into the future.
ALERT NodeFilesystemFullSoon
IF predict_linear(node_filesystem_avail{fstype=~"ext.|xfs",mountpoint!~"/mnt/(backup-block-for|remote).*"}[12h], 48*60*60) < 0
FOR 4h
LABELS {
severity = "crit",
}
ANNOTATIONS {
summary = "Filesystem is filling up",
description = "Filesystem '{{ $labels.mountpoint }}' on {{ $labels.instance }} is filling up and will be full in the next 48 hours",
runbook = "troubleshooting/filesystem_alerts.md",
}
ALERT NodeFilesystemFull
IF ((node_filesystem_avail{fstype=~"ext4|xfs"} / node_filesystem_size{fstype=~"ext4|xfs"}) * 100) <= 20
FOR 15m
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment