Commit 3f98081a authored by HgO's avatar HgO
Browse files

Merge branch '53-installer-prometheus-sur-la-vm-de-management' into 'main'

Resolve "Installer Prometheus sur la VM de management"

Closes #53

See merge request !63
parents 646ed24b 02dbe058
Pipeline #370 passed with stage
in 1 minute and 25 seconds
[ssh_connection]
pipelining=True
ssh_args = -C -o ControlMaster=auto -o ControlPersist=3600s -o UserKnownHostsFile=/dev/null -o BatchMode=yes
ssh_args = -C -o ControlMaster=auto -o ControlPersist=3600s -o UserKnownHostsFile=/dev/null
[defaults]
display_skipped_hosts = False
......
prometheus_listen_address: 0.0.0.0
prometheus_telegraf_hosts: "{{ groups.louise_patata }}"
prometheus_federation_hosts:
- probe-01.first.neutri.net
- probe-02.ovh.neutri.net
- man.patata.louise.neutri.net
prometheus_telegraf_hosts:
- '127.0.0.1'
- '[2001:913:1000:11::202]' # vpn.neutri.net
- "{{ inventory_hostname }}"
- vpn.neutri.net
prometheus_listen_address: 0.0.0.0
prometheus_telegraf_hosts:
- '127.0.0.1'
- "{{ inventory_hostname }}"
prometheus_listen_address: 0.0.0.0
prometheus_telegraf_hosts:
- '127.0.0.1'
- "{{ inventory_hostname }}"
......@@ -53,17 +53,18 @@ pfsense-01.louise.neutri.net
pfsense-02.louise.neutri.net
[louise_patata]
nextcloud.patata.louise.neutri.net
man.patata.louise.neutri.net
haproxy-01.patata.louise.neutri.net
haproxy-02.patata.louise.neutri.net
web-static.patata.louise.neutri.net
dokuwiki.patata.louise.neutri.net
ceph-s3-01.patata.louise.neutri.net
ceph-s3-02.patata.louise.neutri.net
ceph-s3-03.patata.louise.neutri.net
psql-01.patata.louise.neutri.net
psql-02.patata.louise.neutri.net
psql-03.patata.louise.neutri.net
nextcloud.patata.louise.neutri.net
web-static.patata.louise.neutri.net
dokuwiki.patata.louise.neutri.net
hedgedoc.patata.louise.neutri.net
mattermost.patata.louise.neutri.net
grav.patata.louise.neutri.net
......@@ -127,3 +128,4 @@ monitoring.htz.neutri.net
probe-01.first.neutri.net
probe-02.ovh.neutri.net
monitoring.htz.neutri.net
man.patata.louise.neutri.net
......@@ -59,6 +59,6 @@ scrape_configs:
{% endif %}
static_configs:
- targets:
- "{{ host }}:9273"
- "{{ (host != inventory_hostname) | ternary(host, 'localhost') }}:9273"
{% endfor %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment