summaryrefslogtreecommitdiffstats
path: root/lass/2configs/monitoring/node-exporter.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/monitoring/node-exporter.nix')
-rw-r--r--lass/2configs/monitoring/node-exporter.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/lass/2configs/monitoring/node-exporter.nix b/lass/2configs/monitoring/node-exporter.nix
new file mode 100644
index 000000000..8c27e90d4
--- /dev/null
+++ b/lass/2configs/monitoring/node-exporter.nix
@@ -0,0 +1,13 @@
+{ config, lib, pkgs, ... }:
+{
+ networking.firewall.allowedTCPPorts = [ 9100 ];
+
+ services.prometheus.exporters = {
+ node = {
+ enable = true;
+ enabledCollectors = [
+ "systemd"
+ ];
+ };
+ };
+}