Try 006bis
This commit is contained in:
parent
3eaa7feee1
commit
4bd29eaa04
|
@ -26,9 +26,9 @@ scrape_configs:
|
||||||
%if %%cliPr.prCliSonde == 'Node Exporter'
|
%if %%cliPr.prCliSonde == 'Node Exporter'
|
||||||
- targets: ['%%cliPr.prCliIP:9100']
|
- targets: ['%%cliPr.prCliIP:9100']
|
||||||
%end if
|
%end if
|
||||||
%if %%cliPr.prCliSonde == 'Port'
|
%end for
|
||||||
- targets: ['%%cliPr.prCliIP:%%cliPr.prCliPort']
|
%for %%cliOpen in %%getVar('prOpenCli',[])
|
||||||
%end if
|
- targets: ['%%cliOpen.prOpenCliIP:%%cliOpen.prOpenCliPort']
|
||||||
%end for
|
%end for
|
||||||
%end if
|
%end if
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue