mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(netflow) add flowd / flowd aggregator templates
This commit is contained in:
parent
7a4fe2a1f4
commit
fc160e8ef8
@ -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
|
||||
|
||||
@ -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
|
||||
@ -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 %}
|
||||
@ -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 %}
|
||||
Loading…
x
Reference in New Issue
Block a user