This commit is contained in:
nyanloutre 2025-05-02 12:45:01 +02:00
commit 01730ad38b

View file

@ -1,6 +1,4 @@
{ {
config,
lib,
pkgs, pkgs,
... ...
}: }:
@ -27,18 +25,16 @@ in
telegraf = { telegraf = {
enable = true; enable = true;
extraConfig = { extraConfig = {
agent = {
# Mitigation for periodic high load average
# https://github.com/influxdata/telegraf/issues/3465
collection_jitter = "5s";
};
inputs = { inputs = {
zfs = { zfs = {
poolMetrics = true; poolMetrics = true;
}; };
net = { net = { };
interfaces = [
"eno1"
"eno2"
"eno3"
"eno4"
];
};
netstat = { }; netstat = { };
cpu = { cpu = {
totalcpu = true; totalcpu = true;