From 279327bcb86409700aac79b236ab5a215985fd76 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 10 Nov 2022 18:15:22 +0100 Subject: add ch-pan and ch-mimas to prometheus monitoring --- inventory/host_vars/ch-mimas.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'inventory/host_vars/ch-mimas.yml') diff --git a/inventory/host_vars/ch-mimas.yml b/inventory/host_vars/ch-mimas.yml index ed292956..7994ed2d 100644 --- a/inventory/host_vars/ch-mimas.yml +++ b/inventory/host_vars/ch-mimas.yml @@ -8,6 +8,12 @@ install: apt_repo_provider: hetzner +spreadspace_apt_repo_components: + - prometheus + + +ntp_variant: systemd-timesyncd + bind_option_empty_zones_enable: no bind_option_allow_transfer: [] @@ -62,3 +68,15 @@ bind_slave_zones: - 10.in-addr.arpa - 150.33.193.in-addr.arpa - 151.33.193.in-addr.arpa + + +prometheus_scrape_endpoint: "116.203.212.131:9999" + +prometheus_job_multitarget_blackbox__probe: + ch-mon: + - instance: "ssh-{{ inventory_hostname }}" + target: "116.203.212.131:{{ ansible_port | default(22) }}" + module: ssh_banner + - instance: "https-mimas.chaos-at-home.org" + target: "https://mimas.chaos-at-home.org" + module: http_tls_2xx -- cgit v1.2.3