diff --git a/deploy.yml b/deploy.yml index e8dd304..3b8738e 100644 --- a/deploy.yml +++ b/deploy.yml @@ -9,6 +9,7 @@ roles: - framework - kernel-ml + - telegraf_collect - hosts: adc_mxn remote_user: root @@ -114,6 +115,7 @@ - cert-redis - tfe - telegraf_statistic + - telegraf_collect - proxy_status # - tsg_device_tag - reboot diff --git a/roles/telegraf_collect/templates/telegraf_collect.conf.j2 b/roles/telegraf_collect/templates/telegraf_collect.conf.j2 index 56f2734..0eb75f5 100644 --- a/roles/telegraf_collect/templates/telegraf_collect.conf.j2 +++ b/roles/telegraf_collect/templates/telegraf_collect.conf.j2 @@ -1,5 +1,5 @@ [global_tags] - blade = {{bladename}} + blade = "{{bladename}}" [agent] interval = "5s" round_interval = true diff --git a/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2 b/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2 index e2d040b..561e97f 100755 --- a/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2 +++ b/roles/telegraf_statistic/templates/telegraf_statistic.conf.j2 @@ -56,4 +56,4 @@ [[outputs.influxdb]] urls = ["{{ monitor_outputs_influxdb.url }}"] - database = "tsg_stat \ No newline at end of file + database = "tsg_stat" \ No newline at end of file