Try 004
This commit is contained in:
parent
325acbf537
commit
38883c4fca
|
@ -23,8 +23,8 @@ scrape_configs:
|
||||||
static_configs:
|
static_configs:
|
||||||
%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.CliSonde == 'Node Exporter'
|
%if %%cliPr.prCliSonde == 'Node Exporter'
|
||||||
- targets: ['%%client_prometheus:9100']
|
- targets: ['%%cliPr.prCliIP:9100']
|
||||||
%end if
|
%end if
|
||||||
%end for
|
%end for
|
||||||
%end if
|
%end if
|
||||||
|
|
Loading…
Reference in New Issue