paulbsd-salt/states/influxdb/influxdb.conf.j2
2020-07-10 00:58:55 +02:00

39 lines
647 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "influxdb/map.jinja" import influxdb with context %}
[meta]
dir = "{{ influxdb.data_dir }}/meta"
[data]
dir = "{{ influxdb.data_dir }}/data"
wal-dir = "{{ influxdb.data_dir }}/wal"
[coordinator]
[retention]
[shard-precreation]
[monitor]
[http]
enabled = true
bind-address = "127.0.0.1:8086"
auth-enabled = true
log-enabled = true
[admin]
enabled = true
bind-address = ":8083"
https-enabled = false
[ifql]
[logging]
[subscriber]
[[collectd]]
enabled = true
port = 25826
database = "collectd"
typesdb = "/usr/share/collectd/types.db"