diff options
Diffstat (limited to 'hosts/vidhar/prometheus')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
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 { | |||
21 | enable = true; | 21 | enable = true; |
22 | 22 | ||
23 | exporters = { | 23 | exporters = { |
24 | node.enable = true; | 24 | node = { |
25 | enable = true; | ||
26 | enabledCollectors = ["systemd"]; | ||
27 | extraFlags = [ | ||
28 | "--collector.systemd.unit-include=(dhcpcd-dsl|pppd-telekom|corerad|ndppd)\.service" | ||
29 | ]; | ||
30 | }; | ||
25 | smartctl = { | 31 | smartctl = { |
26 | enable = true; | 32 | enable = true; |
27 | devices = map (dev: "/dev/disk/by-path/${dev}") [ | 33 | devices = map (dev: "/dev/disk/by-path/${dev}") [ |