Browse Source

use mssl for self monitoring of prometheus

monitoring
histausse 1 year ago
parent
commit
9128194144
Signed by: histausse
GPG Key ID: 67486F107F62E9E9
  1. 5
      roles/prometheus/templates/prometheus.yml

5
roles/prometheus/templates/prometheus.yml

@ -31,6 +31,11 @@ scrape_configs:
static_configs:
- targets: ['{{ lan_address }}:9090']
scheme: https
tls_config:
ca_file: '/etc/prometheus/ca.crt'
cert_file: '/etc/prometheus/prometheus-{{ lan_address }}.crt'
key_file: '/etc/prometheus/prometheus-{{ lan_address }}.key'
- job_name: node
file_sd_configs:

Loading…
Cancel
Save