diff --git a/roles/server/files/telegraf.d/input_apache.conf b/roles/server/files/telegraf.d/input_apache.conf index ad2dbda..ca881c6 100644 --- a/roles/server/files/telegraf.d/input_apache.conf +++ b/roles/server/files/telegraf.d/input_apache.conf @@ -1,2 +1,2 @@ -[[inputs.apache]] +[[inputs.apache]] urls = ["http://localhost/server-status?auto"] \ No newline at end of file diff --git a/roles/server/files/telegraf.d/input_basics.conf b/roles/server/files/telegraf.d/input_basics.conf index 7bf049d..9190051 100644 --- a/roles/server/files/telegraf.d/input_basics.conf +++ b/roles/server/files/telegraf.d/input_basics.conf @@ -1,4 +1,4 @@ -[[inputs.cpu]] +[[inputs.cpu]] percpu = true totalcpu = true collect_cpu_time = false diff --git a/roles/server/files/telegraf.d/input_docker.conf b/roles/server/files/telegraf.d/input_docker.conf index 93800ef..d379f2b 100644 --- a/roles/server/files/telegraf.d/input_docker.conf +++ b/roles/server/files/telegraf.d/input_docker.conf @@ -1,4 +1,4 @@ -[[inputs.docker]] +[[inputs.docker]] endpoint = "unix:///var/run/docker.sock" gather_services = true container_names = [] diff --git a/roles/server/files/telegraf.d/input_named.conf b/roles/server/files/telegraf.d/input_named.conf index 166cc7e..ba28fd0 100644 --- a/roles/server/files/telegraf.d/input_named.conf +++ b/roles/server/files/telegraf.d/input_named.conf @@ -1,4 +1,4 @@ -[[inputs.bind]] - urls = ["http://localhost:8053/json/v1"] - gather_memory_contexts = false +[[inputs.bind]] + urls = ["http://localhost:8053/json/v1"] + gather_memory_contexts = false gather_views = false \ No newline at end of file diff --git a/roles/server/files/telegraf.d/output_influx.conf b/roles/server/files/telegraf.d/output_influx.conf index ac7de5a..e264ebe 100644 --- a/roles/server/files/telegraf.d/output_influx.conf +++ b/roles/server/files/telegraf.d/output_influx.conf @@ -1,4 +1,4 @@ -[[outputs.influxdb]] - urls = ["http://grafana:8086"] - database = "linux" +[[outputs.influxdb]] + urls = ["http://grafana:8086"] + database = "linux" skip_database_creation = false \ No newline at end of file