(netflow) add flowd / flowd aggregator templates

This commit is contained in:
Ad Schellevis 2016-04-05 14:03:40 +02:00
parent 7a4fe2a1f4
commit fc160e8ef8
4 changed files with 33 additions and 0 deletions

View File

@ -1,2 +1,5 @@
netflow.conf:/usr/local/etc/netflow.conf
rc.conf.d:/etc/rc.conf.d/netflow
flowd.rc.conf.d:/etc/rc.conf.d/flowd
flowd_aggregate.rc.conf.d:/etc/rc.conf.d/flowd_aggregate
flowd.conf:/usr/local/etc/flowd.conf

View File

@ -0,0 +1,4 @@
logfile "/var/log/flowd.log"
listen on 127.0.0.1:2056
flow source 0.0.0.0/0
store ALL

View File

@ -0,0 +1,13 @@
#
# Automatic generated configuration for netflow.
# Do not edit this file manually.
#
{%
if helpers.exists('OPNsense.Netflow.collect.enable')
and
OPNsense.Netflow.collect.enable|default('0') == "1"
%}
flowd_enable="YES"
{% else %}
flowd_enable="NO"
{% endif %}

View File

@ -0,0 +1,13 @@
#
# Automatic generated configuration for netflow.
# Do not edit this file manually.
#
{%
if helpers.exists('OPNsense.Netflow.collect.enable')
and
OPNsense.Netflow.collect.enable|default('0') == "1"
%}
flowd_aggregate_enable="YES"
{% else %}
flowd_aggregate_enable="NO"
{% endif %}