From 0c2010a20207715f61416486d6edcb6defbf5aee Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 13 Nov 2022 00:32:49 +0100 Subject: ch-atlas: add to prometheus monitoring --- inventory/host_vars/ch-atlas.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'inventory/host_vars/ch-atlas.yml') diff --git a/inventory/host_vars/ch-atlas.yml b/inventory/host_vars/ch-atlas.yml index acc092f6..de2383e7 100644 --- a/inventory/host_vars/ch-atlas.yml +++ b/inventory/host_vars/ch-atlas.yml @@ -30,6 +30,10 @@ apt_repo_components: - contrib ## for zfs - non-free ## for microcode updates +spreadspace_apt_repo_components: + - main + - prometheus + installer_storage: type: lvm @@ -53,3 +57,15 @@ zfs_sanoid_modules: use_template: production recursive: yes process_children_only: yes + + + +prometheus_exporter_node_textfile_collector_scripts: + - deleted-libraries + - smartmon + +prometheus_job_multitarget_blackbox__probe: + ch-mon: + - instance: "ssh-{{ inventory_hostname }}" + target: "{{ network.primary.address | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}" + module: ssh_banner -- cgit v1.2.3