Fix template

This commit is contained in:
Philippe Caseiro 2018-06-05 14:27:32 +02:00
parent 2de724da57
commit 598c1d1807
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ scrape_configs:
# Nothing to configure # Nothing to configure
%else %else
static_configs: static_configs:
- targets: [ "127.0.0.1:9100"%slurp - targets: [ "%%adresse_ip_eth0:9100"%slurp
%if %%getVar('ajout_client_prometheus','non') == 'oui' %if %%getVar('ajout_client_prometheus','non') == 'oui'
%for %%cliPr in %%getVar('prCli',[]) %for %%cliPr in %%getVar('prCli',[])
%if %%cliPr.prCliSonde == 'Node Exporter' %if %%cliPr.prCliSonde == 'Node Exporter'