prometheus-node-exporter: Enable systemd collector

This commit is contained in:
Simon Bruder 2020-09-01 11:24:36 +02:00
parent e80cf71f04
commit be9bd76373
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -13,6 +13,7 @@ in
services.prometheus.exporters.node = {
enable = true;
listenAddress = vpnAddress;
enabledCollectors = [ "systemd " ];
};
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];