From 8d5141591ae35eb53b16859bb411b1ddd3387a85 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 24 Oct 2021 23:34:33 +0200 Subject: WIP: grafana provisioning --- inventory/host_vars/ch-mon.yml | 9 +++++++++ inventory/host_vars/ch-testvm-prometheus.yml | 3 +++ 2 files changed, 12 insertions(+) (limited to 'inventory') diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml index b95b998a..b0684fe5 100644 --- a/inventory/host_vars/ch-mon.yml +++ b/inventory/host_vars/ch-mon.yml @@ -128,3 +128,12 @@ prometheus_alertmanager_web_route_prefix: /alertmanager/ grafana_secret_key: "{{ vault_grafana_secret_key }}" + +grafana_datasources: + - name: "Prometheus" + type: "prometheus" + access: "proxy" + url: "http://127.0.0.1:9090/prometheus" + isDefault: yes + jsonData: + manageAlerts: no diff --git a/inventory/host_vars/ch-testvm-prometheus.yml b/inventory/host_vars/ch-testvm-prometheus.yml index c4ba7364..755ebc62 100644 --- a/inventory/host_vars/ch-testvm-prometheus.yml +++ b/inventory/host_vars/ch-testvm-prometheus.yml @@ -40,6 +40,9 @@ spreadspace_apt_repo_components: ntp_variant: chrony ntp_client: + servers: + - name: 192.168.28.77 + options: iburst minpoll 3 maxpoll 5 pools: - name: at.pool.ntp.org options: iburst -- cgit v1.2.3