From 3a7734b21b69ae533fa069f0dfa8d7e98222d159 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 30 Oct 2023 15:09:26 +0100 Subject: conflatorio/telegraf --- .../telegraf/conflatorio/templates/telegraf.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 terraform/telegraf/conflatorio/templates/telegraf.conf (limited to 'terraform/telegraf/conflatorio/templates') diff --git a/terraform/telegraf/conflatorio/templates/telegraf.conf b/terraform/telegraf/conflatorio/templates/telegraf.conf new file mode 100644 index 0000000..369bd7b --- /dev/null +++ b/terraform/telegraf/conflatorio/templates/telegraf.conf @@ -0,0 +1,20 @@ +[agent] + hostname = "{{ inventory_hostname }}" + omit_hostname = false + +[[outputs.influxdb_v2]] + urls = ["${INFLUX_URL}"] + token = "${INFLUX_TOKEN}" + organization = "${INFLUX_ORGANIZATION}" + bucket = "${INFLUX_BUCKET}" + +[[inputs.disk]] + ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"] + mount_points = ["/"] + +[[inputs.mem]] +[[inputs.net]] +[[inputs.wireguard]] + +[[inputs.docker]] + endpoint = "unix:///var/run/docker.sock" -- cgit v1.2.3