From cf810d5c8db1cfd8253ccb96fcb48292953d1071 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 72fbbf3..06cac14 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 8a43711..5e6461a 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" = {