File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
ansible/roles/alertmanager
environments/common/inventory/group_vars/all Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ In general usage may only require:
24
24
- Enabling the Slack integration (see section below).
25
25
- Possibly setting ` alertmanager_web_external_url ` .
26
26
27
+ TODO: explain where alertmanager web GUI is
28
+
27
29
## Role variables
28
30
29
31
All variables are optional. See [ defaults/main.yml] ( defaults/main.yml ) for
@@ -156,3 +158,7 @@ Some ideas for future alerts which could be useful:
156
158
- smartctl-exporter-based rules for baremetal nodes where the is no
157
159
infrastructure-level smart monitoring
158
160
- loss of "up" network interfaces
161
+
162
+
163
+ TODO : suggest awesome alerts
164
+ TODO : note that child env rule files override parent envs
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ prometheus_alertmanager_config_default:
15
15
- " {{ alertmanager_address }}:{{ alertmanager_port }}"
16
16
prometheus_alertmanager_config : " {{ prometheus_alertmanager_config_default if groups['alertmanager'] else {} }}"
17
17
18
- # by default, use rule files from the following path relative to current and all parent environment inventory directories:
18
+ # By default, find rule files from the following path relative to current and all parent environment inventory directories:
19
+ # Note: If the same file exists in parent and child environments, only the file in the latter has any effect.
19
20
prometheus_alert_rules_files_inventory_glob : ../files/prometheus/rules/*.rules
20
21
prometheus_alert_rules_files : " {{ ansible_inventory_sources | product([prometheus_alert_rules_files_inventory_glob]) | map('join', '/') | map('realpath') }}"
21
- # TODO: find a way to include/exclude files?
22
22
23
23
prometheus_alert_rules : []
24
24
You can’t perform that action at this time.
0 commit comments