From 4f35c2286be727b500a08c95055cf076552e6b07 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 19 Jul 2026 23:06:18 +0200 Subject: hosts/server3: Setup prometheus server in agent mode --- hosts/by-name/server3/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'hosts/by-name/server3') diff --git a/hosts/by-name/server3/configuration.nix b/hosts/by-name/server3/configuration.nix index 5960932..f7ee7d3 100644 --- a/hosts/by-name/server3/configuration.nix +++ b/hosts/by-name/server3/configuration.nix @@ -20,6 +20,17 @@ ]; zones = import ../../../zones {inherit lib;}; }; + + monitoring = { + prometheus = { + enable = true; + remoteWriteTo = { + url = "https://prometheus-server2.vhack.eu"; + }; + }; + # TODO: Also provide something for Loki <2026-07-19> + }; + fail2ban.enable = true; rocie = { enable = true; -- cgit v1.3.1