pmacct/sfacctd.conf
Lars Vogdt 4b4d815fc7 Accepting request 408254 from home:mnhauke:security
- add systemd scripts
- add manpage for pmacct
- remove not longer supported build options
  - enable-v4-mapped
  - with-pgsql-includes
- fix build for older SUSE versions (SLES11SP4, SLES12, OpenSUSE 13.1)
- add patch for psql-header detection on SLES11SP4 and openSUSE 13.1
  - pmacct-pgsql-fix-header-detection-without-autoreconf.diff

- update to version 1.6.0

OBS-URL: https://build.opensuse.org/request/show/408254
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/pmacct?expand=0&rev=81
2016-09-10 08:07:39 +00:00

30 lines
688 B
Plaintext

! sfacctd configuration
!
!
!
daemonize: true
pidfile: /var/run/sfacctd.pid
syslog: daemon
!
! 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
!
! 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/sfacctd_recovery_log