From a5ea7539a310ae6e5a975c4f15266d815e833f88 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 11 Jun 2023 19:27:52 +0100 Subject: [PATCH] Fix exim mail queue alerts --- 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 2ab437c30..c7c3a1bac 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -271,7 +271,7 @@ groups: labels: alertgroup: "{{ $labels.instance }}" - alert: exim queue length - expr: exim_queue > exim_queue_limit + expr: exim_queue > ignoring(job) exim_queue_limit for: 60m labels: alertgroup: mail -- 2.39.5