summaryrefslogtreecommitdiff
path: root/pmacct/pmacctd.conf
blob: 812731564dada59588650f53f2a51e79cb1eee01 (plain)
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
!
! pmacctd configuration example
!
! Did you know CONFIG-KEYS contains the detailed list of all configuration keys
! supported by 'nfacctd' and 'pmacctd' ?
!
! debug: true
!
interface: eth0
daemonize: false
aggregate: src_host,dst_host

plugins: mysql
sql_db: pmacct
sql_table: acct
!sql_table_version: 1
sql_passwd: arealsmartpwd
sql_user: pmacct
sql_refresh_time: 90
sql_optimize_clauses: true
sql_history: 5m
sql_history_roundoff: m
! sql_preprocess: qnum=1000, minp=5
!
! networks_file: ./networks.example
! ports_file: ./ports.example
! sampling_rate: 10
! sql_trigger_time: 1h
! sql_trigger_exec: /home/paolo/codes/hello.sh
!