Try 001
This commit is contained in:
@ -22,11 +22,11 @@ scrape_configs:
|
||||
- files: [ "%%job_file_config/*.yml" ]
|
||||
static_configs:
|
||||
%if %%getVar('ajout_client_prometheus','non') == 'oui'
|
||||
%if not %%is_empty(%%nouveau_node_exporter)
|
||||
%for %%client_prometheus in %%nouveau_node_exporter
|
||||
%for %%cliPr in %%getVar('prCli',[])
|
||||
%if %%cliPr.CliSonde == 'Node Exporter'
|
||||
- targets: ['%%client_prometheus:9100']
|
||||
%end for
|
||||
%end if
|
||||
%end if
|
||||
%end for
|
||||
%end if
|
||||
|
||||
#alerting:
|
||||
|
Reference in New Issue
Block a user