summaryrefslogtreecommitdiff
path: root/pmacct/nfacct.conf
diff options
context:
space:
mode:
Diffstat (limited to 'pmacct/nfacct.conf')
-rw-r--r--pmacct/nfacct.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/pmacct/nfacct.conf b/pmacct/nfacct.conf
new file mode 100644
index 0000000..c4a7d57
--- /dev/null
+++ b/pmacct/nfacct.conf
@@ -0,0 +1,19 @@
+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
+
+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
+sql_table_version: 9
+sql_optimize_clauses: true