summaryrefslogtreecommitdiff
path: root/pmacct/nfacctd.conf
blob: e52355a119e7df22a56966e3e8e8afe3e815564e (plain)
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
!plugins: print
plugins: mysql

daemonize: false
pidfile: /var/run/nfacctd.pid
aggregate: src_host,dst_host,src_port,dst_port,src_as,dst_as,pkt_len_distrib
pkt_len_distrib_bins: 0-199,200-399,400-599,600-799,800-999,1000-1499,1500-9000

nfacctd_port: 5678

!print_history: 10m
!print_refresh_time: 10
!print_time_roundoff: m
!print_output: json

sql_host: localhost
sql_db: pmacct
sql_table: acct
sql_user: pmacct
sql_passwd: arealsmartpwd
sql_refresh_time: 90
sql_history: 1m
sql_history_roundoff: m
sql_table_version: 9
sql_optimize_clauses: true