summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-10-24 23:34:33 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-10-24 23:34:33 +0200
commit8d5141591ae35eb53b16859bb411b1ddd3387a85 (patch)
tree7c96c7abe0c5a15ecbe3b7b37acb9e97a8117d4c /inventory
parentremove old debug output (diff)
WIP: grafana provisioning
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-mon.yml9
-rw-r--r--inventory/host_vars/ch-testvm-prometheus.yml3
2 files changed, 12 insertions, 0 deletions
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