From 8bef6bb33cef98288150a06da3cb765aeb764571 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Sun, 15 Jan 2023 00:19:41 +0100 Subject: [PATCH] Add exim monitoring to prometheus --- hosts/ildkule/services/metrics/prometheus.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hosts/ildkule/services/metrics/prometheus.nix b/hosts/ildkule/services/metrics/prometheus.nix index 731e957..c40c277 100644 --- a/hosts/ildkule/services/metrics/prometheus.nix +++ b/hosts/ildkule/services/metrics/prometheus.nix @@ -22,6 +22,17 @@ in { } ]; } + { + job_name = "exim"; + scrape_interval = "60s"; + static_configs = [ + { + targets = [ + "microbel.pvv.ntnu.no:9636" + ]; + } + ]; + } { job_name = "synapse"; scrape_interval = "15s";