telegraf+influx monitoring
This commit is contained in:
parent
0b25204147
commit
38fd971314
@ -1 +1,64 @@
|
||||
{ ... }: { imports = [ ./debug ./develop ]; }
|
||||
{ pkgs,... }: {
|
||||
imports = [ ./debug ./develop ];
|
||||
|
||||
# services.telegraf = {
|
||||
# enable = true;
|
||||
# extraConfig = {
|
||||
# agent = {
|
||||
# interval = "10s";
|
||||
# round_interval = true;
|
||||
# metric_batch_size = 1000;
|
||||
# metric_buffer_limit = 10000;
|
||||
# collection_jitter = "0s";
|
||||
# flush_interval = "10s";
|
||||
# flush_jitter = "0s";
|
||||
# precision = "";
|
||||
# hostname = "valinor";
|
||||
# omit_hostname = false;
|
||||
# };
|
||||
|
||||
# inputs.cpu = {
|
||||
# percpu = true;
|
||||
# totalcpu = true;
|
||||
# collect_cpu_time = false;
|
||||
# report_active = false;
|
||||
# };
|
||||
|
||||
# inputs.mem = {};
|
||||
# inputs.swap = {};
|
||||
# inputs.system = {};
|
||||
# inputs.disk = {
|
||||
# ignore_fs = ["tmpfs" "devtmpfs" "devfs"];
|
||||
# };
|
||||
|
||||
# inputs.net = {};
|
||||
# inputs.netstat = {};
|
||||
|
||||
# inputs.ping = {
|
||||
# urls = ["8.8.8.8" "8.8.4.4"];
|
||||
# count = 4;
|
||||
# interval = "60s";
|
||||
# binary = "${pkgs.iputils.out}/bin/ping";
|
||||
# };
|
||||
|
||||
# inputs.internet_speed = {
|
||||
# interval = "2m";
|
||||
# };
|
||||
|
||||
# inputs.net_response = {
|
||||
# protocol = "tcp";
|
||||
# address = "google.com:80";
|
||||
# timeout = "5s";
|
||||
# read_timeout = "5s";
|
||||
# interval = "30s";
|
||||
# };
|
||||
|
||||
# outputs.influxdb_v2 = {
|
||||
# urls = [""];
|
||||
# token = "";
|
||||
# organization = "";
|
||||
# bucket = "";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user