diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-01 03:12:33 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-01 03:12:33 +0100 |
commit | 9ef71013736632040d20f738dd7e4e213d0588d1 (patch) | |
tree | 0d047ad1c3c63c9ee1fb005adeb2834bc3eb45ab | |
parent | 96ca515e0e7a3b30d269d863b35f6307bd2367d7 (diff) | |
download | nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar.gz nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar.bz2 nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar.xz nixos-9ef71013736632040d20f738dd7e4e213d0588d1.zip |
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}") [ |