add telegraf

This commit is contained in:
soraefir
2026-06-06 00:34:26 +02:00
parent dddbd8309f
commit 2066940c77
6 changed files with 216 additions and 61 deletions

View File

@@ -88,5 +88,30 @@
};
};
};
monitoring.telegraf = {
enable = true;
collectors = [
"cpu"
"mem"
"swap"
"system"
"disk"
"diskio"
"kernel"
"net"
"netstat"
"processes"
"docker"
"ping"
];
outputs = {
urls = [ "http://127.0.0.1:8181" ];
database = "main";
secretName = "INFLUX";
};
tags = {
role = "sandbox";
};
};
};
}