From 43104a77eab96337df1863633e3db4e25b035ed9 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 16 May 2005 02:31:54 +0000 Subject: Add pmacct package git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@915 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/pmacct/files/nfacctd.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/pmacct/files/nfacctd.conf (limited to 'package/pmacct/files/nfacctd.conf') diff --git a/package/pmacct/files/nfacctd.conf b/package/pmacct/files/nfacctd.conf new file mode 100644 index 0000000000..a9817b2185 --- /dev/null +++ b/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 -- cgit v1.2.3