[packages] pmacct: use VARIANTs, add sfacctd
[openwrt/svn-archive/archive.git] / admin / pmacct / files / sfacctd.conf
1 !
2 ! sfacctd configuration example
3 !
4 ! debug: true
5 daemonize: true
6 pidfile: /var/run/sfacctd.pid
7 ! aggregate_filter[dummy]: src net 192.168.0.0/16
8 aggregate: src_host, dst_host
9 ! plugin_buffer_size: 1024
10 ! sfacctd_port: 5678
11 plugins: memory
12 imt_buckets: 65537
13 imt_mem_pools_size: 65536
14 ! imt_mem_pools_number: 0
15 ! plugins: mysql
16 ! plugins: pgsql
17 ! plugins: sqlite3
18 ! sql_db: pmacct
19 ! sql_table: acct
20 ! sql_table_version: 2
21 ! sql_passwd: arealsmartpwd
22 ! sql_user: pmacct
23 ! sql_refresh_time: 90
24 ! sql_optimize_clauses: true
25 ! sql_history: 10m
26 ! sql_history_roundoff: mh
27 ! networks_file: ./networks.example