Browse Source

fix grafana config

monitoring
histausse 1 year ago
parent
commit
023ec5f395
Signed by: histausse
GPG Key ID: 67486F107F62E9E9
  1. 10
      roles/grafana/templates/prometheus_datasource.yaml

10
roles/grafana/templates/prometheus_datasource.yaml

@ -9,9 +9,9 @@ datasources:
url: https://{{ lan_address }}:9090
jsonData:
httpMethod: POST
tlsAuth: true
tlsAuthWithCACert: true
tlsAuth: true
tlsAuthWithCACert: true
secureJsonData:
tlsCACert: $__file{/etc/grafana/ca.cert}
tlsClientCert: $__file{/etc/grafana/grafana-{{ lan_address }}.cert}
tlsClientKey: $__file{/etc/grafana/grafana-{{ lan_address }}.key}
tlsCACert: $__file{/etc/grafana/ca.crt}
tlsClientCert: $__file{/etc/grafana/grafana-{{ lan_address }}.crt}
tlsClientKey: $__file{/etc/grafana/grafana-{{ lan_address }}.key}

Loading…
Cancel
Save