2016-09-10 08:07:39 +00:00
|
|
|
! pmacctd configuration
|
2006-06-10 11:56:22 +00:00
|
|
|
!
|
|
|
|
!
|
|
|
|
!
|
|
|
|
daemonize: true
|
2016-09-10 08:07:39 +00:00
|
|
|
pidfile: /var/run/pmacctd.pid
|
|
|
|
syslog: daemon
|
2006-06-10 11:56:22 +00:00
|
|
|
!
|
2016-09-10 08:07:39 +00:00
|
|
|
! interested in in and outbound traffic
|
|
|
|
aggregate: src_host,dst_host
|
|
|
|
! on this network
|
|
|
|
pcap_filter: net 127.0.0.0/8
|
|
|
|
! on this interface
|
|
|
|
interface: lo
|
2006-06-10 11:56:22 +00:00
|
|
|
!
|
2016-09-10 08:07:39 +00:00
|
|
|
! storage methods
|
|
|
|
!plugins: pgsql
|
|
|
|
!sql_host: localhost
|
|
|
|
!sql_passwd:
|
|
|
|
! refresh the db every minute
|
|
|
|
!sql_refresh_time: 60
|
|
|
|
! reduce the size of the insert/update clause
|
|
|
|
!sql_optimize_clauses: true
|
|
|
|
! accumulate values in each row for up to an hour
|
|
|
|
!sql_history: 1h
|
|
|
|
! create new rows on the minute, hour, day boundaries
|
|
|
|
!sql_history_roundoff: mhd
|
|
|
|
! in case of emergency, log to this file
|
|
|
|
!sql_recovery_logfile: /var/lib/pmacct/pmacctd_recovery_log
|