diff options
Diffstat (limited to 'terraform/telegraf/telegraf-os/templates')
-rw-r--r-- | terraform/telegraf/telegraf-os/templates/telegraf.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/terraform/telegraf/telegraf-os/templates/telegraf.conf b/terraform/telegraf/telegraf-os/templates/telegraf.conf new file mode 100644 index 0000000..369bd7b --- /dev/null +++ b/terraform/telegraf/telegraf-os/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" |