summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-06-22 23:29:18 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-06-22 23:29:18 +0200
commit5408325a13337672ea09907278ff97b42de60b36 (patch)
treeccca376905ff60fbbb2bbf15c35cbd8a5ef3b136 /inventory
parentsome more grafana configs (diff)
add minimalistic role for prometheus/alertmanager
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-mon.yml7
1 files changed, 6 insertions, 1 deletions
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