From 9ef71013736632040d20f738dd7e4e213d0588d1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 1 Jan 2022 03:12:33 +0100 Subject: vidhar: prometheus: ... --- hosts/vidhar/prometheus/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts/vidhar/prometheus') diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix index f27e1c73..f915fc68 100644 --- a/hosts/vidhar/prometheus/default.nix +++ b/hosts/vidhar/prometheus/default.nix @@ -21,7 +21,13 @@ in { enable = true; exporters = { - node.enable = true; + node = { + enable = true; + enabledCollectors = ["systemd"]; + extraFlags = [ + "--collector.systemd.unit-include=(dhcpcd-dsl|pppd-telekom|corerad|ndppd)\.service" + ]; + }; smartctl = { enable = true; devices = map (dev: "/dev/disk/by-path/${dev}") [ -- cgit v1.2.3