summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mimas.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-11-10 18:15:22 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-11-10 18:15:22 +0100
commit279327bcb86409700aac79b236ab5a215985fd76 (patch)
tree1cc3c513efb9bbad8dc4416bf59924dd228780ba /inventory/host_vars/ch-mimas.yml
parentpan: configure bind (WIP) (diff)
add ch-pan and ch-mimas to prometheus monitoring
Diffstat (limited to 'inventory/host_vars/ch-mimas.yml')
-rw-r--r--inventory/host_vars/ch-mimas.yml18
1 files changed, 18 insertions, 0 deletions
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