reduce CPU usage by doing netflow samping in iptables

This commit is contained in:
FAELIX SALT
2020-03-30 08:56:27 +00:00
parent 1488e40075
commit b6d01c8683
3 changed files with 5 additions and 5 deletions

View File

@ -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] }}