ansible-nas/templates/grafana/provisioning/datasources/ansible-nas.yml
2021-02-21 19:50:07 +00:00

25 lines
508 B
YAML

---
apiVersion: 1
datasources:
- name: InfluxDB
type: influxdb
access: proxy
orgId: 1
url: http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:8086
password:
user:
database: telegraf
basicAuth:
basicAuthUser:
basicAuthPassword:
withCredentials:
isDefault: true
jsonData:
timeInterval: "15s"
secureJsonData:
tlsCACert: "..."
tlsClientCert: "..."
tlsClientKey: "..."
version: 1
editable: false