From b275efa6df9bb27700e2beda95994caa61b71747 Mon Sep 17 00:00:00 2001 From: Gonne Kretschmer Date: Mon, 23 Oct 2023 19:39:38 +0200 Subject: [PATCH] Enable prometheus node exporter by default --- nixos/roles/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/roles/default.nix b/nixos/roles/default.nix index 1968de3..3752a32 100644 --- a/nixos/roles/default.nix +++ b/nixos/roles/default.nix @@ -55,5 +55,12 @@ services = { PasswordAuthentication = false; }; }; + + prometheus.exporters.node = { + enable = true; + port = 9100; + }; }; +# Prometheus Monitoring +networking.firewall.allowedTCPPorts = [ 9100 ]; }