diff options
-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 |