Fix template
This commit is contained in:
parent
2de724da57
commit
598c1d1807
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue