Skip to content
Snippets Groups Projects
Verified Commit b56d260a authored by shirenn's avatar shirenn 🌊 Committed by ynerant
Browse files

[prometheus] reordering

parent 397ce6dd
No related branches found
No related tags found
1 merge request!254Cachan
......@@ -18,8 +18,6 @@ tealc.adm.crans.org
tealc.adm.crans.org
gulp.cachan-adm.crans.org
[blackbox]
monitoring.adm.crans.org
[bdd:children]
virtu
......@@ -29,6 +27,9 @@ belenios.adm.crans.org
[bird]
routeur-gulp.cachan-adm.crans.org
[blackbox]
monitoring.adm.crans.org
[certbot]
charybde.adm.crans.org
sputnik.adm.crans.org
......@@ -109,10 +110,6 @@ mailman.adm.crans.org
gulp.cachan-adm.crans.org
tealc.adm.crans.org
[prometheus]
monitoring.adm.crans.org
fyre.cachan-adm.crans.org
[mirror_backend]
charybde.adm.crans.org
eclat.adm.crans.org
......@@ -154,6 +151,10 @@ ovh_physical
[prefix_delegation]
routeur-gulp.cachan-adm.crans.org
[prometheus]
monitoring.adm.crans.org
fyre.cachan-adm.crans.org
[radius]
routeur-gulp.cachan-adm.crans.org
......
......@@ -19,12 +19,6 @@
when:
- ansible_lsb.codename == 'bullseye'
- name: Activate prometheus-node-exporter service
systemd:
name: prometheus-node-exporter
enabled: true
state: started
- name: Make Prometheus node-exporter listen on adm only
lineinfile:
path: /etc/default/prometheus-node-exporter
......@@ -33,6 +27,12 @@
ARGS="--web.listen-address={{ prometheus_node_exporter.listen_addr }}:9100"
tags: restart-node-exporter
- name: Activate prometheus-node-exporter service
systemd:
name: prometheus-node-exporter
enabled: true
state: started
# Install new APT textfile collector, it might be upstreamed one day
# https://github.com/prometheus-community/node-exporter-textfile-collector-scripts/pull/35
- name: Patch APT textfile collector
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment