Try 004
This commit is contained in:
parent
325acbf537
commit
38883c4fca
|
@ -23,8 +23,8 @@ scrape_configs:
|
|||
static_configs:
|
||||
%if %%getVar('ajout_client_prometheus','non') == 'oui'
|
||||
%for %%cliPr in %%getVar('prCli',[])
|
||||
%if %%cliPr.CliSonde == 'Node Exporter'
|
||||
- targets: ['%%client_prometheus:9100']
|
||||
%if %%cliPr.prCliSonde == 'Node Exporter'
|
||||
- targets: ['%%cliPr.prCliIP:9100']
|
||||
%end if
|
||||
%end for
|
||||
%end if
|
||||
|
|
Loading…
Reference in New Issue