From c1135630283fa22b56af69be9acd1556ecf2be82 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Thu, 17 Dec 2020 12:17:28 +0100 Subject: flow-accounting: T3132: enable egress traffic accounting --- data/templates/netflow/uacctd.conf.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data/templates') diff --git a/data/templates/netflow/uacctd.conf.tmpl b/data/templates/netflow/uacctd.conf.tmpl index fdf96e7c3..1938901d2 100644 --- a/data/templates/netflow/uacctd.conf.tmpl +++ b/data/templates/netflow/uacctd.conf.tmpl @@ -5,7 +5,11 @@ pidfile: /var/run/uacctd.pid uacctd_group: 2 uacctd_nl_size: 2097152 snaplen: {{ snaplen }} +{% if templatecfg['enable-egress'] != none %} +aggregate: in_iface,out_iface,src_mac,dst_mac,vlan,src_host,dst_host,src_port,dst_port,proto,tos,flows +{% else %} aggregate: in_iface,src_mac,dst_mac,vlan,src_host,dst_host,src_port,dst_port,proto,tos,flows +{% endif %} plugin_pipe_size: {{ templatecfg['plugin_pipe_size'] }} plugin_buffer_size: {{ templatecfg['plugin_buffer_size'] }} {% if templatecfg['syslog-facility'] != none %} -- cgit v1.2.3