Zéro-confiance : flux Métriques chiffré (node_exporter TLS + scrape https)
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>
This commit is contained in:
parent
204910edbf
commit
e648009b87
9 changed files with 141 additions and 1 deletions
|
|
@ -0,0 +1,10 @@
|
|||
# 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
|
||||
Loading…
Reference in a new issue