From 89a3e16ab764fc5d476bbecd3173082fa595e7c7 Mon Sep 17 00:00:00 2001 From: Kaare Hoff Skovgaard Date: Thu, 7 Aug 2025 00:04:13 +0200 Subject: [PATCH] Add some note about missing dovecot alerts --- .../monitoring.kaareskovgaard.net/alerts/dovecot.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/systems/x86_64-linux/monitoring.kaareskovgaard.net/alerts/dovecot.yaml b/nix/systems/x86_64-linux/monitoring.kaareskovgaard.net/alerts/dovecot.yaml index 2173c9a..dfbd427 100644 --- a/nix/systems/x86_64-linux/monitoring.kaareskovgaard.net/alerts/dovecot.yaml +++ b/nix/systems/x86_64-linux/monitoring.kaareskovgaard.net/alerts/dovecot.yaml @@ -1,5 +1,9 @@ - name: Dovecot rules: + # This actually doesn't work as there's no dovecot_up exported. + # This should probably be dynamically created as the job_up.nix file does it, + # for every server that uses dovecot. It should be possiblet to query dovecot_build_info + # with absent_over_time somehow. - alert: DovecotDown expr: > dovecot_up{job="dovecot"} == 0