summaryrefslogtreecommitdiff
path: root/pmacct/nfacctd.conf
diff options
context:
space:
mode:
authorDaniel Langesten <daniel.langest@gmail.com>2015-03-18 10:32:52 +0100
committerDaniel Langesten <daniel.langest@gmail.com>2015-03-18 10:32:52 +0100
commit93aeab33be27c2aeb5fbac42f3a3bbb35f848d72 (patch)
tree598e8aad6a4ce949ac0770fe8f7012d63920ca1e /pmacct/nfacctd.conf
parent4061e3a9d0c3366e36d9a4a463a325701d59d5f8 (diff)
renamed file
Diffstat (limited to 'pmacct/nfacctd.conf')
-rw-r--r--pmacct/nfacctd.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/pmacct/nfacctd.conf b/pmacct/nfacctd.conf
new file mode 100644
index 0000000..c4a7d57
--- /dev/null
+++ b/pmacct/nfacctd.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