add telegraf
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user