reduce CPU usage by doing netflow samping in iptables
This commit is contained in:
@ -1332,7 +1332,7 @@ system {
|
||||
interface {{ iface_name }}
|
||||
{% endif %}{% endfor %}
|
||||
netflow {
|
||||
sampling-rate {{ pillar['netflow']['sampling-rate']}}
|
||||
sampling-rate 1
|
||||
{% for server in pillar['netflow']['servers'] %}
|
||||
server {{ server.split(":")[0] }} {
|
||||
port {{ server.split(":")[1] }}
|
||||
|
Reference in New Issue
Block a user