This commit is contained in:
Maxiem Geldhof 2025-11-08 23:12:45 +01:00
parent 3932189c8b
commit 2c56d76f6d
3 changed files with 17 additions and 0 deletions

15
systems/ren/prom.nix Normal file
View file

@ -0,0 +1,15 @@
{
services.prometheus.exporters.node = {
enable = true;
port = 53231;
# https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/services/monitoring/prometheus/exporters.nix
enabledCollectors = [ "systemd" ];
# /nix/store/zgsw0yx18v10xa58psanfabmg95nl2bb-node_exporter-1.8.1/bin/node_exporter --help
extraFlags = [
"--collector.ethtool"
"--collector.softirqs"
"--collector.tcpstat"
"--collector.wifi"
];
};
}