]> git.openstreetmap.org Git - chef.git/commitdiff
Fix exim mail queue alerts
authorTom Hughes <tom@compton.nu>
Sun, 11 Jun 2023 18:27:52 +0000 (19:27 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 11 Jun 2023 18:27:52 +0000 (19:27 +0100)
cookbooks/prometheus/templates/default/alert_rules.yml.erb

index 2ab437c30d4178283a1c6024265c4852c18e3cea..c7c3a1bac2e4f574fa0541dc0df5812382071f66 100644 (file)
@@ -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