diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-03-10 00:11:29 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-03-10 00:11:29 +0100 |
commit | 8839a6f61383d679d60e4979dac871693a70ac9c (patch) | |
tree | 5df8692041285cfcf554a624eae8cd97f48ba8f7 /inventory/host_vars/ch-apps.yml | |
parent | Merge branch 'experiment/alerta' (diff) |
add ch-apps to prometheus monitoring
Diffstat (limited to 'inventory/host_vars/ch-apps.yml')
-rw-r--r-- | inventory/host_vars/ch-apps.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/inventory/host_vars/ch-apps.yml b/inventory/host_vars/ch-apps.yml index ed2aeb70..5fe4acd5 100644 --- a/inventory/host_vars/ch-apps.yml +++ b/inventory/host_vars/ch-apps.yml @@ -22,7 +22,7 @@ install: system_lvm: volumes: - name: root - size: 3G + size: 4G filesystem: ext4 mountpoint: / - name: var @@ -63,12 +63,20 @@ apt_repo_components: spreadspace_apt_repo_components: - container + - prometheus ssh_keys_root_extra: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIZK9NBainiE0+A8pT8dbwlNZ0k0AZVhLTzUSo3YtKJt ZFS Backup syncoid@epimetheus +prometheus_job_multitarget_blackbox__probe: + ch-mon: + - instance: "ssh-{{ inventory_hostname }}" + target: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets[inventory_hostname]) | ipaddr('address') }}:{{ ansible_port | default(22) }}" + module: ssh_banner + + zfs_arc_size: min: 512MB max: 2GB |