summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-epimetheus.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-03-27 03:34:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-03-27 03:34:50 +0200
commit7f98afa0a569ab203a10bcf48a363b73b954d004 (patch)
tree43d23ec21fbc316d2da7b1b4c1884e065e313b3e /inventory/host_vars/ch-epimetheus.yml
parentch-mon: configure prometheus component version in group var (diff)
add ch-epimetheus to monitoring
Diffstat (limited to 'inventory/host_vars/ch-epimetheus.yml')
-rw-r--r--inventory/host_vars/ch-epimetheus.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml
index f6e05e22..d339bb1a 100644
--- a/inventory/host_vars/ch-epimetheus.yml
+++ b/inventory/host_vars/ch-epimetheus.yml
@@ -24,6 +24,29 @@ apt_repo_components:
- non-free ## for microcode updates
+spreadspace_apt_repo_components:
+ - prometheus
+
+prometheus_exporter_node_textfile_collector_scripts:
+ - deleted-libraries
+ - smartmon
+
+prometheus_exporters_extra:
+ - ssl
+
+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-epimetheus:
+ - instance: "sslcert-prometheus-{{ inventory_hostname }}"
+ target: "/etc/ssl/prometheus/**/*.pem"
+ module: file
+
+
luks_volumes:
crypto-sata0:
passphrase: "{{ vault_luks_volumes['crypto-sata0'].passphrase }}"