1.delete telegraf_statistic output influxdb

2.modify mcn0 and mcn123 mrzcpd config  icore
3.modify firewall template  tags error
This commit is contained in:
fumingwei
2020-11-20 11:18:49 +06:00
parent fb1ad1955b
commit 0ab4d2a4ec
6 changed files with 24 additions and 13 deletions

View File

@@ -56,5 +56,5 @@
template:
src: "{{ role_path }}/templates/tsg_conn_sketch.inf.j2"
dest: /home/mesasoft/sapp_run/plug/business/tsg_conn_sketch/tsg_conn_sketch.inf
tags: template tags: template
tags: template

View File

@@ -32,7 +32,11 @@ promisc=1
[service]
# lcore id for i/o service, use comma to split
iocore={{ mrzcpd.iocore }}
{% if bladename == "mcn0" %}
iocore={{ mcn0_mrzcpd.iocore }}
{% else %}
iocore={{ mcn123_mrzcpd.iocore }}
{% endif %}
distmode=2
hashmode=0

View File

@@ -33,7 +33,11 @@ promisc=1
[service]
# lcore id for i/o service, use comma to split
iocore={{ mrzcpd.iocore }}
{% if bladename == "mcn0" %}
iocore={{ mcn0_mrzcpd.iocore }}
{% else %}
iocore={{ mcn123_mrzcpd.iocore }}
{% endif %}
distmode=2
hashmode=0

View File

@@ -30,6 +30,6 @@
ServiceAddress= ":8100"
data_format = "influx"
[[outputs.influxdb]]
urls = ["{{ monitor_outputs_influxdb.url }}"]
database = "tsg_stat"
#[[outputs.influxdb]]
# urls = ["{{ monitor_outputs_influxdb.url }}"]
# database = "tsg_stat"