File: nfacctd-sql.conf.example

package info (click to toggle)
pmacct 1.7.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,904 kB
  • sloc: ansic: 110,430; sh: 4,794; cpp: 4,375; python: 3,632; makefile: 525
file content (38 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (5)
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