mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 07:18:33 +01:00
feat: collectd/influx role
This commit is contained in:
29
roles/monitoring-influx/templates/influxdb.conf.j2
Normal file
29
roles/monitoring-influx/templates/influxdb.conf.j2
Normal file
@@ -0,0 +1,29 @@
|
||||
[meta]
|
||||
|
||||
dir = "/var/lib/influxdb/meta"
|
||||
|
||||
[data]
|
||||
|
||||
dir = "/var/lib/influxdb/data"
|
||||
wal-dir = "/var/lib/influxdb/wal"
|
||||
|
||||
[[collectd]]
|
||||
|
||||
enabled = true
|
||||
bind-address = ":25826"
|
||||
database = "collectd"
|
||||
retention-policy = ""
|
||||
|
||||
# security-level = "none"
|
||||
# auth-file = "/etc/collectd/auth_file"
|
||||
|
||||
batch-size = 5000
|
||||
batch-pending = 10
|
||||
batch-timeout = "10s"
|
||||
read-buffer = 0
|
||||
|
||||
# Multi-value plugins can be handled two ways.
|
||||
# "split" will parse and store the multi-value plugin data into separate measurements
|
||||
# "join" will parse and store the multi-value plugin as a single multi-value measurement.
|
||||
# "split" is the default behavior for backward compatability with previous versions of influxdb.
|
||||
# parse-multivalue-plugin = "split"
|
||||
Reference in New Issue
Block a user