-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpmacctd.conf
More file actions
29 lines (24 loc) · 1.02 KB
/
Copy pathpmacctd.conf
File metadata and controls
29 lines (24 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
debug: false
pidfile: /var/run/sfacctd.pid
! remember to configure logrotate if you use logfile
!logfile : /var/log/sfacct.log
! returns warning messages in case of data loss
! look at CONFIG-KEYS for details
! bufferization of data transfers between core process and active plugins (default 4MB)
plugin_pipe_size: 10240000
! The value has to be <= the size defined by 'plugin_pipe_size' and keeping a ratio < 1:1000 between the two
! Once a buffer is filled, it is delivered to the plugin
plugin_buffer_size: 10240
! automatically renormalizes byte/packet counters value basing on information acquired
! and take count of the sampling_rate in the (s)Flow sample
pmacctd_renormalize: true
pcap_interface: brvpn
pcap_filter: src net 10.254.0.0/16 or dst net 10.254.0.0/16
plugins: print[print]
aggregate[print]: src_host, dst_host, proto
print_output_file[print]: /tmp/pmacct_avg.json
print_output[print]: json
print_history[print]: 5m
print_history_roundoff[print]: m
print_refresh_time[print]: 300
print_trigger_exec[print]: /root/optimizer.py