mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 09:58:16 +08:00
parent
50b171a491
commit
18da40f8b4
1 changed files with 9 additions and 0 deletions
|
|
@ -157,6 +157,15 @@ groups:
|
||||||
summary: Host CPU high iowait (instance {{ $labels.instance }})
|
summary: Host CPU high iowait (instance {{ $labels.instance }})
|
||||||
description: "CPU iowait > 5%. A high iowait means that you are disk or network bound.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "CPU iowait > 5%. A high iowait means that you are disk or network bound.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
||||||
|
- alert: HostUnusualDiskIO
|
||||||
|
expr: 'rate(node_disk_io_time_seconds_total[1m]) > 0.5'
|
||||||
|
for: 5m
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
summary: "Time spent in IO is too high on {{ $labels.instance }}"
|
||||||
|
description: "100% I/O time for 5minutes. Check storage for issues."
|
||||||
|
|
||||||
- alert: HostContextSwitching
|
- alert: HostContextSwitching
|
||||||
expr: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'
|
expr: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'
|
||||||
for: 0m
|
for: 0m
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue