From e86109b9cee62141f71177f3171c0018d302ea53 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 12 Jun 2023 15:37:19 +0100 Subject: [PATCH] Base juniper CPU alarm on 5 minute load average --- cookbooks/prometheus/templates/default/alert_rules.yml.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index c7c3a1bac..f7b35990a 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -249,7 +249,7 @@ groups: - name: juniper rules: - alert: juniper cpu alarm - expr: jnxOperatingCPU{jnxOperatingContentsIndex="7"} > 30 + expr: jnxOperating5MinLoadAvg{jnxOperatingContentsIndex="9"} > 50 for: 5m labels: alertgroup: "{{ $labels.site }}" -- 2.45.1