summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-pan.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-pan.yml
parentpan: configure bind (WIP) (diff)
add ch-pan and ch-mimas to prometheus monitoring
Diffstat (limited to 'inventory/host_vars/ch-pan.yml')
-rw-r--r--inventory/host_vars/ch-pan.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-pan.yml b/inventory/host_vars/ch-pan.yml
index 30a6b491..4198d252 100644
--- a/inventory/host_vars/ch-pan.yml
+++ b/inventory/host_vars/ch-pan.yml
@@ -31,6 +31,11 @@ network:
- *_network_primary_
+spreadspace_apt_repo_components:
+ - prometheus
+
+
+ntp_variant: systemd-timesyncd
bind_option_empty_zones_enable: no
@@ -92,3 +97,13 @@ bind_slave_zones:
- 10.in-addr.arpa
- 150.33.193.in-addr.arpa
- 151.33.193.in-addr.arpa
+
+
+prometheus_job_multitarget_blackbox__probe:
+ ch-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network.primary.address | ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
+ - instance: "https-pan.chaos-at-home.org"
+ target: "https://pan.chaos-at-home.org"
+ module: http_tls_2xx