From f48cd0ddb3fccf28b0d9a84fbae87ae66d2db443 Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 21 Oct 2024 19:30:28 +0200 Subject: [PATCH] feat(modules): Rework the monitoring agent --- modules/dgn-monitoring/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/dgn-monitoring/default.nix diff --git a/modules/dgn-monitoring/default.nix b/modules/dgn-monitoring/default.nix new file mode 100644 index 0000000..5ae003b --- /dev/null +++ b/modules/dgn-monitoring/default.nix @@ -0,0 +1,16 @@ +{ config, ... }: + +{ + services.vmagent = { + enable = true; + + remoteWrite = { + url = "https://victoria-metrics.dgnum.eu"; + basicAuthUsername = ""; + basicAuthPasswordFile = config.age.secrets."vmagent-aut_password_file".path; + }; + + # FIXME: Write the actual configuration + prometheusConfig = { }; + }; +}