forked from nyanloutre/nixos-config
Merge branch 'master' of https://gitea.nyanlout.re/nyanloutre/nixos-config
This commit is contained in:
commit
01730ad38b
1 changed files with 6 additions and 10 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue