summaryrefslogtreecommitdiff
path: root/ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j2
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@zextras.fr>2023-03-09 17:29:50 +0100
committerAntoine Ouvrard <antoine.ouvrard@zextras.fr>2023-03-09 17:29:50 +0100
commit3fe3b6e90a664edc44aa4772d7d00e4f343f0467 (patch)
tree14344de813b916b3bfd681b629a6f74ac83f2e98 /ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j2
parentbe5eb0822b5a248502c7562234d55e3d85660825 (diff)
readd directory
Diffstat (limited to 'ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j2')
-rw-r--r--ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j216
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j2 b/ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j2
new file mode 100644
index 0000000..22c3264
--- /dev/null
+++ b/ansible-supervision/roles/set-config-telegraf/templates/telegraf.conf.j2
@@ -0,0 +1,16 @@
+# /!\ NE PAS MODIFIER /!\ DON'T TOUCH THIS FILE /!\
+# Fichier géré par zextras déposé via ansible
+
+# Global Agent Configuration
+[agent]
+ hostname = "{{ ansible_fqdn }}"
+ flush_interval = "15s"
+ interval = "15s"
+ collection_jitter = "1m"
+
+# Output Plugin InfluxDB
+[[outputs.influxdb]]
+ database = "telegraf"
+ urls = [ "https://fluxsup.zextras.fr" ]
+ username = "zextras"
+ password = "syj4HGGLAgON4XfjbP4u" \ No newline at end of file