summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-prometheus.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-prometheus.yml')
-rw-r--r--inventory/host_vars/ch-prometheus.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-prometheus.yml b/inventory/host_vars/ch-prometheus.yml
index d217de07..361a8c02 100644
--- a/inventory/host_vars/ch-prometheus.yml
+++ b/inventory/host_vars/ch-prometheus.yml
@@ -54,6 +54,7 @@ prometheus_exporter_node_textfile_collector_scripts:
- smartmon
prometheus_exporters_extra:
+ - ssl
- ipmi
prometheus_exporter_ipmi_modules:
@@ -64,6 +65,18 @@ prometheus_exporter_ipmi_modules:
- chassis
- sel
+prometheus_job_multitarget_blackbox__probe:
+ ch-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_job_multitarget_ssl__probe:
+ ch-prometheus:
+ - instance: "sslcert-prometheus-{{ inventory_hostname }}"
+ target: "/etc/ssl/prometheus/**/*.pem"
+ module: file
+
installer_storage:
type: lvm