infrastructure/services/node-exporter.nix
kat witch 8db7cbfdb3
services/{grafana,loki,node-exporter,promtail}.nix: init
Added monitoring stack and applied monitoring stack to each node worth
monitoring.
2021-05-03 13:56:31 +01:00

15 lines
229 B
Nix

{ config, ... }:
{
katnet.private.tcp.ports = [ 9002 ];
services.prometheus = {
exporters = {
node = {
enable = true;
enabledCollectors = [ "systemd" ];
port = 9002;
};
};
};
}