Remove blackbox for monitoring VM
This commit is contained in:
parent
ab2dd24814
commit
f1d7128d12
@ -17,6 +17,6 @@ all:
|
|||||||
dns:
|
dns:
|
||||||
mosquitto:
|
mosquitto:
|
||||||
monitoring:
|
monitoring:
|
||||||
blackbox:
|
# blackbox:
|
||||||
hosts:
|
# hosts:
|
||||||
monitoring:
|
# monitoring:
|
@ -17,16 +17,16 @@
|
|||||||
scrape_files:
|
scrape_files:
|
||||||
- /etc/prometheus/scrape-main.yml
|
- /etc/prometheus/scrape-main.yml
|
||||||
|
|
||||||
- name: Install and configure Prometheus node - Blackbox nodes
|
#- name: Install and configure Prometheus node - Blackbox nodes
|
||||||
hosts: blackbox
|
# hosts: blackbox
|
||||||
become: yes
|
# become: yes
|
||||||
roles:
|
# roles:
|
||||||
- prometheus
|
# - prometheus
|
||||||
- blackbox-exporter
|
# - blackbox-exporter
|
||||||
vars:
|
# vars:
|
||||||
blackbox: true
|
# blackbox: true
|
||||||
scrape_files:
|
# scrape_files:
|
||||||
- /etc/prometheus/scrape-blackbox.yml
|
# - /etc/prometheus/scrape-blackbox.yml
|
||||||
|
|
||||||
- name: Install and configure nodes
|
- name: Install and configure nodes
|
||||||
hosts: all
|
hosts: all
|
||||||
|
@ -51,7 +51,6 @@ scrape_configs:
|
|||||||
- target_label: __address__
|
- target_label: __address__
|
||||||
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.
|
replacement: 127.0.0.1:9115 # The blackbox exporter's real hostname:port.
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
- job_name: "linux-nodes"
|
- job_name: "linux-nodes"
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user