diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-04-22 17:52:28 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-04-22 17:52:28 +0200 |
commit | 5cce38ec5ce439b66d7a2d29c5f6c4cd06046f23 (patch) | |
tree | c460e5e0add46489f89d4966d4a6bc73a0803cb0 /inventory/host_vars/ch-gw-lan.yml | |
parent | c3voc: disallow outgoing connections from voc to internal nets (diff) |
add ch-gw-* to promethues monitoring
Diffstat (limited to 'inventory/host_vars/ch-gw-lan.yml')
-rw-r--r-- | inventory/host_vars/ch-gw-lan.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-gw-lan.yml b/inventory/host_vars/ch-gw-lan.yml index 769539b9..11bc30e0 100644 --- a/inventory/host_vars/ch-gw-lan.yml +++ b/inventory/host_vars/ch-gw-lan.yml @@ -42,6 +42,17 @@ base_sysctl_config_user: net.ipv4.ip_forward: 1 +spreadspace_apt_repo_components: + - prometheus + + +prometheus_job_multitarget_blackbox__probe: + ch-mon: + - instance: "ssh-{{ inventory_hostname }}" + target: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}" + module: ssh_banner + + dhcp_server_interfaces: lan0: prefix: "{{ network_zones.lan.prefix }}" |