Browse Source

Try 004

FixSondes
Philippe Caseiro 1 year ago
parent
commit
38883c4fca
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tmpl/prometheus.yml

+ 2
- 2
tmpl/prometheus.yml View File

@@ -23,8 +23,8 @@ scrape_configs:
23 23
     static_configs:
24 24
 %if %%getVar('ajout_client_prometheus','non') == 'oui'
25 25
   %for %%cliPr in %%getVar('prCli',[])
26
-    %if %%cliPr.CliSonde == 'Node Exporter'
27
-      - targets: ['%%client_prometheus:9100']
26
+    %if %%cliPr.prCliSonde == 'Node Exporter'
27
+      - targets: ['%%cliPr.prCliIP:9100']
28 28
     %end if
29 29
   %end for
30 30
 %end if

Loading…
Cancel
Save