diff options
author | Franck Cuny <franck@fcuny.net> | 2023-01-10 08:44:23 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-01-10 08:44:23 -0800 |
commit | 39ee2b8af8bbee6ec10a8c64171c1b55d9e9c026 (patch) | |
tree | 68b2e5a085e23d98403e3d51402f22ed119d1687 /modules | |
parent | fix(modules/gitea): restore settings for nix 22.11 (diff) | |
download | world-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 'modules')
-rw-r--r-- | modules/services/unifi/default.nix | 12 |
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; |