Try 006bis

This commit is contained in:
Philippe Caseiro 2018-06-04 10:48:47 +02:00
parent 3eaa7feee1
commit 4bd29eaa04

View File

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