modification gestion smtpTLS et correctif chemin invalide
This commit is contained in:
parent
dc43a0f26c
commit
b4ff9a35fd
|
@ -4,11 +4,11 @@ global:
|
||||||
%if %%tls_smtp == "non"
|
%if %%tls_smtp == "non"
|
||||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||||
%elif %%tls_smtp == "port 25"
|
%elif %%tls_smtp == "port 25"
|
||||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||||
smtp_require_tls: true
|
smtp_require_tls: true
|
||||||
%else
|
%else
|
||||||
smtp_smarthost: '%%exim_relay_smtp:465'
|
smtp_smarthost: '%%exim_relay_smtp:465'
|
||||||
smtp_require_tls: true
|
smtp_require_tls: true
|
||||||
%end if
|
%end if
|
||||||
smtp_from: '%%system_mail_from'
|
smtp_from: '%%system_mail_from'
|
||||||
%else
|
%else
|
||||||
|
|
|
@ -22,7 +22,7 @@ scrape_configs:
|
||||||
|
|
||||||
- job_name: '%%job_name_node'
|
- job_name: '%%job_name_node'
|
||||||
file_sd_configs:
|
file_sd_configs:
|
||||||
- files: [ "%%job_file_config/*.yml" ]
|
# - files: [ "%%job_file_config/*.yml" ]
|
||||||
%if %%getVar('addTargetPrometheus','non') == 'oui'
|
%if %%getVar('addTargetPrometheus','non') == 'oui'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: [ "%%adresse_ip_eth0:9100"%slurp
|
- targets: [ "%%adresse_ip_eth0:9100"%slurp
|
||||||
|
|
Loading…
Reference in New Issue