Commit a7de82ac authored by nono's avatar nono 💻
Browse files

Mise à jour de la configuration monitoring

parent 6d03ee72
......@@ -81,6 +81,9 @@ prometheus_scrape_configs:
- targets:
- "{{ prometheus_web_listen_address }}"
- job_name: "node_exporter"
basic_auth:
username: admin_collector
password: "{{ vault_monitoring_node_collector_password }}"
file_sd_configs:
- files:
- "{{ prometheus_config_dir }}/file_sd/node.yml"
......@@ -107,6 +110,13 @@ grafana_datasources:
url: 'http://{{ prometheus_web_listen_address }}'
basicAuth: false
grafana_smtp:
enabled: true
host: "{{ service_email_noreply_host }}:{{service_email_noreply_port}}"
user: "{{ service_email_noreply }}"
password: "{{ service_email_noreply_password }}"
from_address: "{{ service_email_noreply }}"
grafana_security:
admin_user: admin
admin_password: "{{ vault_monitoring_grafana_admin_password }}"
......
......@@ -67,3 +67,5 @@ nginx_vhosts:
# Node-exporter
node_exporter_version: "latest"
node_exporter_web_listen_address: "0.0.0.0:9100"
node_exporter_basic_auth_users:
admin_collector: "{{ vault_monitoring_node_collector_password }}" # Utilisez ce mot de passe pour vous connecter depuis le serveur admin
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