Browse Source

Fix template

Philippe Caseiro 11 months ago
parent
commit
598c1d1807
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tmpl/prometheus.yml

+ 1
- 1
tmpl/prometheus.yml View File

@@ -25,7 +25,7 @@ scrape_configs:
25 25
 # Nothing to configure
26 26
 %else
27 27
     static_configs:
28
-        - targets: [ "127.0.0.1:9100"%slurp
28
+        - targets: [ "%%adresse_ip_eth0:9100"%slurp
29 29
     %if %%getVar('ajout_client_prometheus','non') == 'oui'
30 30
         %for %%cliPr in %%getVar('prCli',[])
31 31
             %if %%cliPr.prCliSonde == 'Node Exporter'