From: Tom Hughes Date: Sun, 11 Jun 2023 18:27:52 +0000 (+0100) Subject: Fix exim mail queue alerts X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a5ea7539a310ae6e5a975c4f15266d815e833f88 Fix exim mail queue alerts --- 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