From 5408325a13337672ea09907278ff97b42de60b36 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 22 Jun 2021 23:29:18 +0200 Subject: add minimalistic role for prometheus/alertmanager --- inventory/host_vars/ch-mon.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'inventory/host_vars/ch-mon.yml') diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml index 03a9b80a..c0551768 100644 --- a/inventory/host_vars/ch-mon.yml +++ b/inventory/host_vars/ch-mon.yml @@ -68,6 +68,11 @@ prometheus_exporter_blackbox_modules_extra: icmp: prober: icmp +promethues_alertmanager_smtp: + smarthost: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus-legacy']) | ipaddr('address') }}:25" + from: "noreply@chaos-at-home.org" + require_tls: no + grafana_secret_key: "{{ vault_grafana_secret_key }}" @@ -75,7 +80,7 @@ grafana_config_smtp: enabled: true host: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus-legacy']) | ipaddr('address') }}:25" from_name: "chaos@home Grafana" - from_address: noreply@chaos-at-home.org + from_address: "noreply@chaos-at-home.org" grafana_config_plugins: enable_alpha: true -- cgit v1.2.3