From 14bd9ef0eaee359328ce3a3b9ed887c2742db98c Mon Sep 17 00:00:00 2001 From: Daniel Langesten Date: Wed, 25 Mar 2015 11:28:00 +0100 Subject: updated nfacctd config --- pmacct/nfacctd.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pmacct') 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 -- cgit v1.1