summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-01 03:12:33 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-01 03:12:33 +0100
commit9ef71013736632040d20f738dd7e4e213d0588d1 (patch)
tree0d047ad1c3c63c9ee1fb005adeb2834bc3eb45ab /hosts/vidhar/prometheus/default.nix
parent96ca515e0e7a3b30d269d863b35f6307bd2367d7 (diff)
downloadnixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar
nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar.gz
nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar.bz2
nixos-9ef71013736632040d20f738dd7e4e213d0588d1.tar.xz
nixos-9ef71013736632040d20f738dd7e4e213d0588d1.zip
vidhar: prometheus: ...
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
-rw-r--r--hosts/vidhar/prometheus/default.nix8
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}") [