diff options
Diffstat (limited to 'inventory/host_vars')
-rw-r--r-- | inventory/host_vars/ch-apps.yml | 10 | ||||
-rw-r--r-- | inventory/host_vars/ch-epimetheus.yml | 3 |
2 files changed, 10 insertions, 3 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 diff --git a/inventory/host_vars/ch-epimetheus.yml b/inventory/host_vars/ch-epimetheus.yml index 8ac909ab..3a59b484 100644 --- a/inventory/host_vars/ch-epimetheus.yml +++ b/inventory/host_vars/ch-epimetheus.yml @@ -107,8 +107,7 @@ zfs_syncoid_sources: 'ch-apps': ssh_hostname: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-apps']) | ipaddr('address') }}" ssh_port: "{{ hostvars['ch-apps'].ansible_port }}" - ## TODO: enable this once ch-apps is part of prometheus - # report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector" + report_prometheus_textfile_path: "/var/lib/prometheus-node-exporter/textfile-collector" periodic: schedule: "*-*-* 00,06,12,18:15:00" timeout: 5h |