Remove blackbox for monitoring VM

This commit is contained in:
Vincent F. 2025-01-09 21:40:22 +01:00
parent ab2dd24814
commit f1d7128d12
3 changed files with 13 additions and 14 deletions

View File

@ -17,6 +17,6 @@ all:
dns:
mosquitto:
monitoring:
blackbox:
hosts:
monitoring:
# blackbox:
# hosts:
# monitoring:

View File

@ -17,16 +17,16 @@
scrape_files:
- /etc/prometheus/scrape-main.yml
- name: Install and configure Prometheus node - Blackbox nodes
hosts: blackbox
become: yes
roles:
- prometheus
- blackbox-exporter
vars:
blackbox: true
scrape_files:
- /etc/prometheus/scrape-blackbox.yml
#- name: Install and configure Prometheus node - Blackbox nodes
# hosts: blackbox
# become: yes
# roles:
# - prometheus
# - blackbox-exporter
# vars:
# blackbox: true
# scrape_files:
# - /etc/prometheus/scrape-blackbox.yml
- name: Install and configure nodes
hosts: all

View File

@ -51,7 +51,6 @@ scrape_configs:
- target_label: __address__
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.
{% else %}
- job_name: "linux-nodes"
static_configs:
- targets: