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