From 6702990ee8b82f727d8c0b3434cd699a538a88b2 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Tue, 17 Jun 2025 17:06:04 +0200 Subject: [PATCH] fix: HostHighCpuUsage closes #457 --- _data/rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/rules.yml b/_data/rules.yml index 04b300a..2615160 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -207,7 +207,7 @@ groups: for: 2m - name: Host high CPU load description: CPU load is > 80% - query: '(avg by (instance) (rate(node_cpu_seconds_total{mode!="idle"}[2m]))) > .80' + query: '100 - (avg by (instance) (rate(node_cpu_seconds_total{mode="idle"}[5m]))) > .80' severity: warning for: 10m - name: Host CPU is underutilized