diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-20 11:17:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 11:17:13 +0100 |
commit | 0cf4694a23b20e7f15fb8b8b349c16dfc3e17ade (patch) | |
tree | b81e963d837d6e9e3acd78ecb28be1e973c7eb73 /data | |
parent | ae567b86495bf0bbadf19d396df60186979558a4 (diff) | |
parent | da03caa27446f32eb39c8458d443e9fd94452ad2 (diff) | |
download | vyos-1x-0cf4694a23b20e7f15fb8b8b349c16dfc3e17ade.tar.gz vyos-1x-0cf4694a23b20e7f15fb8b8b349c16dfc3e17ade.zip |
Merge pull request #647 from jpbede/feature/flowacc-enable-egress
flow-accounting: T3132: enable egress traffic accounting
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/netflow/uacctd.conf.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
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 %} |