aboutsummaryrefslogtreecommitdiffstats
path: root/package/pmacct/files/pmacctd.conf
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-16 02:31:54 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-16 02:31:54 +0000
commit43104a77eab96337df1863633e3db4e25b035ed9 (patch)
tree12a1d36a6071ee8231071af70b5a6201f12bc76d /package/pmacct/files/pmacctd.conf
parent5f30de27170d4472fb576f541d5786283e421628 (diff)
downloadupstream-43104a77eab96337df1863633e3db4e25b035ed9.tar.gz
upstream-43104a77eab96337df1863633e3db4e25b035ed9.tar.bz2
upstream-43104a77eab96337df1863633e3db4e25b035ed9.zip
Add pmacct package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@915 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pmacct/files/pmacctd.conf')
-rw-r--r--package/pmacct/files/pmacctd.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/pmacct/files/pmacctd.conf b/package/pmacct/files/pmacctd.conf
new file mode 100644
index 0000000000..65c6387ea3
--- /dev/null
+++ b/package/pmacct/files/pmacctd.conf
@@ -0,0 +1,26 @@
+!
+! pmacctd configuration example
+!
+! debug: true
+interface: vlan1
+daemonize: true
+pidfile: /var/run/pmacctd.pid
+pmacctd_id: 1
+aggregate: src_host,dst_host
+! aggregate: src_net,dst_net
+plugins: memory
+imt_buckets: 65537
+imt_mem_pools_size: 65536
+! imt_mem_pools_number: 0
+! plugins: mysql
+! plugins: pgsql
+! sql_db: pmacct
+! sql_table: acct
+! sql_table_version: 2
+! sql_passwd: arealsmartpwd
+! sql_user: pmacct
+! sql_refresh_time: 90
+! sql_optimize_clauses: true
+! sql_history: 10m
+! sql_history_roundoff: mh
+! networks_file: ./networks.example