summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-mon.yml')
-rw-r--r--inventory/host_vars/ch-mon.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index c16398bc..bd952fc8 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -146,6 +146,23 @@ prometheus_alertmanager_auth_users:
server: "{{ vault_prometheus_alertmanager_auth_user_passwords['server'] }}"
admin: "{{ vault_prometheus_alertmanager_auth_user_passwords['admin'] }}"
+prometheus_alertmanager_route:
+ receiver: alerta
+ group_by: ['...']
+ group_wait: 0
+ group_interval: 10s
+ repeat_interval: 5m
+
+prometheus_alertmanager_receivers:
+ - name: alerta
+ webhook_configs:
+ - url: http://192.168.32.1:8080/api/webhooks/prometheus
+ send_resolved: true
+ http_config:
+ basic_auth:
+ username: admin
+ password: alerta
+
grafana_secret_key: "{{ vault_grafana_secret_key }}"