Remove blackbox for monitoring VM
This commit is contained in:
parent
ab2dd24814
commit
f1d7128d12
@ -17,6 +17,6 @@ all:
|
||||
dns:
|
||||
mosquitto:
|
||||
monitoring:
|
||||
blackbox:
|
||||
hosts:
|
||||
monitoring:
|
||||
# blackbox:
|
||||
# hosts:
|
||||
# monitoring:
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user