1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
!
! nfacctd configuration example
!
! Did you know CONFIG-KEYS contains the detailed list of all configuration keys supported ?
!
! General configs
!
! debug: true
daemonize: false
!
! NetFlow/IPFIX daemon configs
!
! nfacctd_port: 5678
! nfacctd_time_secs: true
nfacctd_time_new: true
!
! Plugins definitions
!
plugins: mysql[foo]
! plugins: pgsql[foo]
!
! 'foo' plugin configuration
!
aggregate[foo]: src_host, dst_host
sql_db[foo]: pmacct
sql_table[foo]: acct
sql_table_version[foo]: 1
! sql_table_version[foo]: 2
! sql_table_version[foo]: 3
sql_passwd[foo]: arealsmartpwd
sql_user[foo]: pmacct
sql_refresh_time[foo]: 60
! sql_optimize_clauses[foo]: true
sql_history[foo]: 1m
sql_history_roundoff[foo]: mh
! sql_preprocess[foo]: qnum=1000, minp=5
! networks_file[foo]: /path/to/networks.example
! ports_file[foo]: /path/to/ports.example
|