From 65a0f969be0493671a693f0ff5b66df3541645c6 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Tue, 14 Feb 2023 14:02:35 +0100 Subject: [PATCH] Update rules.yml --- _data/rules.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_data/rules.yml b/_data/rules.yml index 21def4d..02c5794 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -230,6 +230,11 @@ groups: description: CPU iowait > 5%. A high iowait means that you are disk or network bound. query: 'avg by (instance) (rate(node_cpu_seconds_total{mode="iowait"}[5m])) * 100 > 5' severity: warning + - name: Host unusual disk IO + description: 'Time spent in IO is too high on {{ $labels.instance }}. Check storage for issues.' + query: 'rate(node_disk_io_time_seconds_total[1m]) > 0.5' + severity: warning + for: 5m - name: Host context switching description: Context switching is growing on node (> 1000 / s) query: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'