This commit is contained in:
Philippe Caseiro 2018-06-04 10:36:34 +02:00
parent 325acbf537
commit 38883c4fca

View File

@ -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