From b2bbc899ae007f7bbccce7d111f4dd5a473ad801 Mon Sep 17 00:00:00 2001 From: fumingwei Date: Mon, 22 May 2023 14:20:41 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E4=BF=AE=E6=94=B9tfe=20metric=E6=A8=A1?= =?UTF-8?q?=E6=9D=BFtelegraf=5Fip=E9=85=8D=E7=BD=AE=E9=A1=B9=E7=AC=94?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/roles/tfe/templates/tfe.conf.j2.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/tfe/templates/tfe.conf.j2.j2 b/ansible/roles/tfe/templates/tfe.conf.j2.j2 index d6e0e21a..db7bbe35 100644 --- a/ansible/roles/tfe/templates/tfe.conf.j2.j2 +++ b/ansible/roles/tfe/templates/tfe.conf.j2.j2 @@ -247,11 +247,11 @@ accept_tag_key=data_center [proxy_hits] cycle=1000 telegraf_port=8900 -{% if dp_certstore.location == 'local' %} -cert_store_host=127.0.0.1 +{% if dp_steering_proxy.location == 'local' %} +telegraf_ip=127.0.0.1 {% endif %} -{% if dp_certstore.location == 'foreign'%} -cert_store_host=192.168.100.1 +{% if dp_steering_proxy.location == 'foreign'%} +telegraf_ip=192.168.100.1 {% endif %} app_name="proxy_rule_hits"