diff --git a/hosts/ildkule/services/monitoring/prometheus/exim.nix b/hosts/ildkule/services/monitoring/prometheus/exim.nix index 65d97e9..e0d648d 100644 --- a/hosts/ildkule/services/monitoring/prometheus/exim.nix +++ b/hosts/ildkule/services/monitoring/prometheus/exim.nix @@ -1,14 +1,12 @@ { ... }: { - services.prometheus = { - scrapeConfigs = [ - { - job_name = "exim"; - scrape_interval = "15s"; - static_configs = [{ - targets = [ "microbel.pvv.ntnu.no:9636" ]; - }]; - } - ]; - }; + services.prometheus.scrapeConfigs = [{ + job_name = "exim"; + scrape_interval = "15s"; + scheme = "http"; + + static_configs = [{ + targets = [ "microbel.pvv.ntnu.no:9636" ]; + }]; + }]; }