aboutsummaryrefslogtreecommitdiff
path: root/terraform/telegraf/conflatorio/templates
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2023-10-30 15:09:26 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2023-10-31 12:15:56 +0100
commit3a7734b21b69ae533fa069f0dfa8d7e98222d159 (patch)
tree30f9fd2e575b30e2f0b529e71bab738a2565f9d7 /terraform/telegraf/conflatorio/templates
parentadde3d92ecc77a9d1583a5c08d86216a0e1bc20d (diff)
downloadinfra-3a7734b21b69ae533fa069f0dfa8d7e98222d159.tar.gz
infra-3a7734b21b69ae533fa069f0dfa8d7e98222d159.tar.bz2
infra-3a7734b21b69ae533fa069f0dfa8d7e98222d159.tar.xz
infra-3a7734b21b69ae533fa069f0dfa8d7e98222d159.zip
conflatorio/telegraf
Diffstat (limited to 'terraform/telegraf/conflatorio/templates')
-rw-r--r--terraform/telegraf/conflatorio/templates/telegraf.conf20
1 files changed, 20 insertions, 0 deletions
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"