diff options
author | Daniel Langesten <daniel.langest@gmail.com> | 2015-03-25 11:28:00 +0100 |
---|---|---|
committer | Daniel Langesten <daniel.langest@gmail.com> | 2015-03-25 11:28:00 +0100 |
commit | 14bd9ef0eaee359328ce3a3b9ed887c2742db98c (patch) | |
tree | 72bf525a7629e85a1b0f550423c94e35560660ba | |
parent | 52281e116fdaeaa4ddd55e23504709d1d3508c9d (diff) |
updated nfacctd config
-rw-r--r-- | pmacct/nfacctd.conf | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pmacct/nfacctd.conf b/pmacct/nfacctd.conf index c4a7d57..e52355a 100644 --- a/pmacct/nfacctd.conf +++ b/pmacct/nfacctd.conf @@ -1,17 +1,23 @@ +!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 -!plugins: print +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 -nfacctd_port: 5678 sql_refresh_time: 90 sql_history: 1m sql_history_roundoff: m |