File: pmacctd-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 (39 lines) | stat: -rw-r--r-- 874 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
39
!
! pmacctd configuration example
!
! Did you know CONFIG-KEYS contains the detailed list of all configuration keys supported ?
!
! General configs
!
! debug: true
daemonize: false
sampling_rate: 10
!
! libpcap daemon configs
!
pcap_interface: eth0
!
! 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: true
sql_history[foo]: 1m 
sql_history_roundoff[foo]: mh
! sql_preprocess[foo]: qnum=1000, minp=5
! sql_trigger_time[foo]: 1h
! sql_trigger_exec[foo]: /path/to/trigger.sh  
! networks_file[foo]: /path/to/networks.example
! ports_file[foo]: /path/to/ports.example