summaryrefslogtreecommitdiffstats
path: root/openwrt/package/pmacct/files/nfacctd.conf
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-16 02:31:54 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-16 02:31:54 +0000
commitb418a072de49818898dc7c0226f5da285e5c3be9 (patch)
tree2ea8f0cf2e68565de065624a8ebb880c3d63bcba /openwrt/package/pmacct/files/nfacctd.conf
parentf57a147ad85b7efc787714b93fc50eaf06067d64 (diff)
Add pmacct package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@915 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/pmacct/files/nfacctd.conf')
-rw-r--r--openwrt/package/pmacct/files/nfacctd.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/openwrt/package/pmacct/files/nfacctd.conf b/openwrt/package/pmacct/files/nfacctd.conf
new file mode 100644
index 000000000..a9817b218
--- /dev/null
+++ b/openwrt/package/pmacct/files/nfacctd.conf
@@ -0,0 +1,28 @@
+!
+! nfacctd configuration example
+!
+! debug: true
+daemonize: true
+pidfile: /var/run/nfacctd.pid
+! aggregate_filter[dummy]: src net 192.168.0.0/16
+aggregate: src_host, dst_host
+! plugin_buffer_size: 1024
+! nfacctd_port: 5678
+! nfacctd_time_secs: true
+! nfacctd_time_new: true
+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