diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2023-10-30 19:36:54 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2023-10-31 12:15:56 +0100 |
commit | c7d942c02b034ce339bdb554e61410d3faa7f5c8 (patch) | |
tree | a2ba9cd1e075d36c48632c30f2525a16e3328621 /terraform/telegraf/telegraf-os/templates/telegraf.conf | |
parent | 3a7734b21b69ae533fa069f0dfa8d7e98222d159 (diff) | |
download | infra-c7d942c02b034ce339bdb554e61410d3faa7f5c8.tar.gz infra-c7d942c02b034ce339bdb554e61410d3faa7f5c8.tar.bz2 infra-c7d942c02b034ce339bdb554e61410d3faa7f5c8.tar.xz infra-c7d942c02b034ce339bdb554e61410d3faa7f5c8.zip |
telegraf-os: Making module.
Diffstat (limited to 'terraform/telegraf/telegraf-os/templates/telegraf.conf')
-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" |