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