summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-06-24 22:29:26 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-06-24 22:29:26 +0200
commit6c990fd148f8813dcbafbf2e27fa5ecbe88af5dc (patch)
tree5e1d71a45610f4c29c3679edc817b5f0aa1aed7d /inventory
parentprometheus: connect server to alertmanager if configured (diff)
move monitoring web interfaces into common nginx vhost
Diffstat (limited to 'inventory')
-rw-r--r--inventory/host_vars/ch-mon.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index 111ffb55..118e7f0b 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -63,6 +63,9 @@ prometheus_server_storage:
prometheus_server_alertmanager:
url: "127.0.0.1:9093"
+ path_prefix: "/alertmanager/"
+
+prometheus_server_web_external_url: /prometheus/
prometheus_exporters_extra:
@@ -72,11 +75,15 @@ 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
+prometheus_alertmanager_web_route_prefix: /alertmanager/
+
+
grafana_secret_key: "{{ vault_grafana_secret_key }}"
grafana_config_smtp: