From 39ee2b8af8bbee6ec10a8c64171c1b55d9e9c026 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 10 Jan 2023 08:44:23 -0800 Subject: fix(services/unifi): remove prometheus.exporters.unpoller This does not exist in 22.11, only 23.05. Will figure out the proper way to monitor it later. --- modules/services/unifi/default.nix | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'modules/services') diff --git a/modules/services/unifi/default.nix b/modules/services/unifi/default.nix index 09834f6..f3335ab 100644 --- a/modules/services/unifi/default.nix +++ b/modules/services/unifi/default.nix @@ -41,18 +41,6 @@ in mongodbPackage = pkgs.mongodb-4_2; }; - services.prometheus.exporters.unpoller = { - enable = true; - controllers = [ - { - user = "unifipoller"; - pass = secrets."unifi/unifi-poller".path; - url = "https://127.0.0.1:8443"; - verify_ssl = false; - } - ]; - }; - services.nginx.virtualHosts."${cfg.vhostName}" = { forceSSL = true; useACMEHost = cfg.vhostName; -- cgit 1.4.1