disk io ops alarm (#337)

* disk io ops alarm

* disk io ops alarm
This commit is contained in:
alexandrumarian-portal 2023-02-14 15:00:43 +02:00 committed by GitHub
parent 50b171a491
commit 18da40f8b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,6 +157,15 @@ groups:
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 }}"
- 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
expr: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'
for: 0m