summaryrefslogtreecommitdiffstats
path: root/modules/tick/templates/telegraf.conf
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-24 02:38:05 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-04 16:32:25 -0400
commit8248275d4e015042a89e3a3d95765193641bfda1 (patch)
tree578e5a8b3c1af6f30e82067a44886e888f34c612 /modules/tick/templates/telegraf.conf
parentf7cb87b82615fbb0d4d6b63f709692e9732aeabf (diff)
downloadpuppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.tar.gz
puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.zip
add tick stack stuff
Diffstat (limited to 'modules/tick/templates/telegraf.conf')
-rw-r--r--modules/tick/templates/telegraf.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/tick/templates/telegraf.conf b/modules/tick/templates/telegraf.conf
new file mode 100644
index 0000000..ba307bd
--- /dev/null
+++ b/modules/tick/templates/telegraf.conf
@@ -0,0 +1,16 @@
+[global_tags]
+[agent]
+ interval = "10s"
+ round_interval = true
+ metric_batch_size = 1000
+ metric_buffer_limit = 10000
+ collection_jitter = "0s"
+ flush_interval = "10s"
+ flush_jitter = "0s"
+ precision = ""
+ hostname = ""
+ omit_hostname = false
+[[outputs.influxdb]]
+ urls = ["https://influxdb.tozt.net"]
+ username = "<%= @influxdb_username %>"
+ password = "<%= @influxdb_password %>"