about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-10 08:44:23 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-10 08:44:23 -0800
commit39ee2b8af8bbee6ec10a8c64171c1b55d9e9c026 (patch)
tree68b2e5a085e23d98403e3d51402f22ed119d1687 /modules/services
parentfix(modules/gitea): restore settings for nix 22.11 (diff)
downloadworld-39ee2b8af8bbee6ec10a8c64171c1b55d9e9c026.tar.gz
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.
Diffstat (limited to '')
-rw-r--r--modules/services/unifi/default.nix12
1 files changed, 0 insertions, 12 deletions
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;