summaryrefslogtreecommitdiff
path: root/inventory/host_vars
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars')
-rw-r--r--inventory/host_vars/ele-helene.yml23
-rw-r--r--inventory/host_vars/ele-mon.yml15
2 files changed, 34 insertions, 4 deletions
diff --git a/inventory/host_vars/ele-helene.yml b/inventory/host_vars/ele-helene.yml
index e70cf2df..7947f05a 100644
--- a/inventory/host_vars/ele-helene.yml
+++ b/inventory/host_vars/ele-helene.yml
@@ -38,3 +38,26 @@ installer_storage:
lv: installer
size: 3G
fs: ext4
+
+
+prometheus_exporter_node_textfile_collector_scripts:
+ - deleted-libraries
+ - smartmon
+
+prometheus_exporters_extra:
+ - ssl
+ - ipmi
+
+prometheus_exporter_ipmi_modules:
+ default:
+ collectors:
+ - bmc
+ - ipmi
+ - chassis
+ - sel
+
+prometheus_job_multitarget_blackbox__probe:
+ ele-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
diff --git a/inventory/host_vars/ele-mon.yml b/inventory/host_vars/ele-mon.yml
index 66e87343..cec5adc5 100644
--- a/inventory/host_vars/ele-mon.yml
+++ b/inventory/host_vars/ele-mon.yml
@@ -64,6 +64,13 @@ prometheus_exporter_blackbox_modules_extra:
prober: icmp
+prometheus_job_multitarget_blackbox__probe:
+ ele-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
+
+
prometheus_alertmanager_web_external_url: "http://{{ network.primary.address | ipaddr('address') }}/alertmanager/"
prometheus_alertmanager_smtp:
smarthost: "mailrelay.chaos-at-home.org:587"
@@ -75,10 +82,10 @@ prometheus_alertmanager_smtp:
prometheus_alertmanager_route:
receiver: equinox
- # routes:
- # - match_re:
- # instance: ^$
- # receiver: empty
+ matchers:
+ - 'alertname != PrometheusAlertmanagerE2eDeadManSwitch'
+ group_by:
+ - instance
prometheus_alertmanager_receivers:
- name: empty