From 56c1ae5332858f87d0f1bb34b8792dfc43bb0d1f Mon Sep 17 00:00:00 2001 From: kalipso Date: Sun, 22 Feb 2026 21:53:05 +0100 Subject: [PATCH] [vaultwarden] add monitoring --- machines/overwatch/configuration.nix | 6 ++++++ machines/vaultwarden/configuration.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/machines/overwatch/configuration.nix b/machines/overwatch/configuration.nix index 72fbbf30..06cac148 100644 --- a/machines/overwatch/configuration.nix +++ b/machines/overwatch/configuration.nix @@ -144,6 +144,12 @@ in targets = [ "${hosts.malobeo.hosts.zineshop.network.address}:9002" ]; }]; } + { + job_name = "vaultwarden"; + static_configs = [{ + targets = [ "${hosts.malobeo.hosts.vaultwarden.network.address}:9002" ]; + }]; + } { job_name = "pretalx"; static_configs = [{ diff --git a/machines/vaultwarden/configuration.nix b/machines/vaultwarden/configuration.nix index 8a437116..5e6461a6 100644 --- a/machines/vaultwarden/configuration.nix +++ b/machines/vaultwarden/configuration.nix @@ -22,6 +22,12 @@ with lib; networking.firewall.allowedTCPPorts = [ 80 ]; + malobeo.metrics = { + enable = true; + enablePromtail = true; + logNginx = true; + }; + services.nginx = { enable = true; virtualHosts."keys.malobeo.org" = {