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.
This commit is contained in:
parent
a9f86e7ced
commit
8f1d0a149c
|
@ -8,7 +8,10 @@
|
||||||
enable = config.sbruder.wireguard.home.enable;
|
enable = config.sbruder.wireguard.home.enable;
|
||||||
listenAddress = config.sbruder.wireguard.home.address;
|
listenAddress = config.sbruder.wireguard.home.address;
|
||||||
enabledCollectors = [ "systemd" ];
|
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" ];
|
systemd.services.prometheus-node-exporter.after = [ "wireguard-wg-home.service" ];
|
||||||
|
|
Loading…
Reference in a new issue