packages/admin/pmacct/files/sfacctd.conf
nico 424ca0ab39 [packages] pmacct: use VARIANTs, add sfacctd
* use VARIANTs to build basic, mysql, postgresql & sqlite derivatives
 * add sfacctd (sFlow accounting daemon)
 * add config-time dependency on IPv6



git-svn-id: svn://svn.openwrt.org/openwrt/packages@28468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-17 11:04:31 +00:00

28 lines
603 B
Plaintext

!
! sfacctd configuration example
!
! debug: true
daemonize: true
pidfile: /var/run/sfacctd.pid
! aggregate_filter[dummy]: src net 192.168.0.0/16
aggregate: src_host, dst_host
! plugin_buffer_size: 1024
! sfacctd_port: 5678
plugins: memory
imt_buckets: 65537
imt_mem_pools_size: 65536
! imt_mem_pools_number: 0
! plugins: mysql
! plugins: pgsql
! plugins: sqlite3
! 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