Skip to content
Snippets Groups Projects
Commit fcc33a83 authored by Alex Hanselka's avatar Alex Hanselka
Browse files

update runbook repo to work with the new githost-prometheus cookbook

parent d0679855
No related branches found
No related tags found
No related merge requests found
Prometheus cannot reach this host.
ALERT instance_20_disk
IF ((node_filesystem_avail{fstype=~"ext4|xfs"} / node_filesystem_size{fstype=~"ext4|xfs"}) * 100) < 20 AND ((node_filesystem_avail{fstype=~"ext4|xfs"} / node_filesystem_size{fstype=~"ext4|xfs"}) * 100) > 10
FOR 1m
LABELS { severity = "warn" }
ANNOTATIONS {
title = "Low disk space left on {{ $labels.mountpoint }} on {{ $labels.instance }}: {{ $value | humanize }}%",
description = "",
runbook="troubleshooting/filesystem_alerts.md",
}
ALERT instance_10_disk
IF ((node_filesystem_avail{fstype=~"ext4|xfs"} / node_filesystem_size{fstype=~"ext4|xfs"}) * 100) <= 10
FOR 1m
LABELS { severity = "crit" }
ANNOTATIONS {
title = "Really low disk space left on {{ $labels.mountpoint }} on {{ $labels.instance }}: {{ $value | humanize }}%",
description = "",
runbook="troubleshooting/filesystem_alerts.md"
}
ALERT down
IF up == 0
FOR 5m
LABELS { severity = "crit" }
ANNOTATIONS {
summary = "Instance {{ $labels.instance }} is down.",
description = "{{ $labels.instance }} is reporting as down, prometheus cannot reach the exporter.",
runbook="troubleshooting/instance_down.md"
}
\ No newline at end of file
This instance has 10% or less disk space remaining.
This instance has less 20% or less disk space left.
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