summaryrefslogtreecommitdiffstats
path: root/lass/2configs/monitoring/node-exporter.nix
blob: 8c27e90d416b78c68ba32db69c0344ff8326ce79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, pkgs, ... }:
{
  networking.firewall.allowedTCPPorts = [ 9100 ];

  services.prometheus.exporters = {
    node = {
      enable = true;
      enabledCollectors = [
        "systemd"
      ];
    };
  };
}