From fa56b637a16e29573427cc9814f10a17b4985c58 Mon Sep 17 00:00:00 2001 From: samber Date: Tue, 14 Feb 2023 13:03:11 +0000 Subject: [PATCH] Publish --- dist/rules/host-and-hardware/node-exporter.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dist/rules/host-and-hardware/node-exporter.yml b/dist/rules/host-and-hardware/node-exporter.yml index 8d5cd2f..a784410 100644 --- a/dist/rules/host-and-hardware/node-exporter.yml +++ b/dist/rules/host-and-hardware/node-exporter.yml @@ -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: Host unusual disk IO (instance {{ $labels.instance }}) + description: "Time spent in IO is too high on {{ $labels.instance }}. Check storage for issues.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" + - alert: HostContextSwitching expr: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000' for: 0m