node_exporter sert en HTTPS via le cert step-ca (--web.config.file + cert-sync owned prometheus, motif .path). Prometheus scrape en scheme https + tls_config (ca=root_ca), vérifie contre l'IP en SAN. Vars : client_metrique_tls_actif, serveur_prometheus_metriques_tls. Prouvé : node_exporter HTTPS 200 (vérif root_ca), HTTP rejeté (400), 4 cibles Prometheus UP en https sans erreur. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
10 lines
288 B
Django/Jinja
10 lines
288 B
Django/Jinja
# Gere par Set-OPS (role client_metrique). Ne pas editer a la main.
|
|
[Unit]
|
|
Description=Set-OPS — surveille le certificat step_ca de node_exporter
|
|
|
|
[Path]
|
|
PathChanged={{ client_metrique_tls_source_cert }}
|
|
Unit=setops-node-exporter-cert-sync.service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|