node_exporter: Disable ARP netlink collector

It currently fails (logging an error message on every scrape). This
disables the netlink collector, making it fall back to reading ARP
entries from /proc/net/arp.
hyper
Simon Bruder 2024-02-24 20:51:22 +01:00
parent a9f86e7ced
commit 8f1d0a149c
Signed by: simon
GPG Key ID: 347FF8699CDA0776
1 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,10 @@
enable = config.sbruder.wireguard.home.enable;
listenAddress = config.sbruder.wireguard.home.address;
enabledCollectors = [ "systemd" ];
disabledCollectors = [ "rapl" ];
disabledCollectors = [
"arp.netlink" # https://github.com/prometheus/node_exporter/issues/2849
"rapl"
];
};
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];