nfacctd.conf 642 B

12345678910111213141516171819202122232425262728
  1. !
  2. ! nfacctd configuration example
  3. !
  4. ! debug: true
  5. daemonize: true
  6. pidfile: /var/run/nfacctd.pid
  7. ! aggregate_filter[dummy]: src net 192.168.0.0/16
  8. aggregate: src_host, dst_host
  9. ! plugin_buffer_size: 1024
  10. ! nfacctd_port: 5678
  11. ! nfacctd_time_secs: true
  12. ! nfacctd_time_new: true
  13. plugins: memory
  14. imt_buckets: 65537
  15. imt_mem_pools_size: 65536
  16. ! imt_mem_pools_number: 0
  17. ! plugins: mysql
  18. ! plugins: pgsql
  19. ! sql_db: pmacct
  20. ! sql_table: acct
  21. ! sql_table_version: 2
  22. ! sql_passwd: arealsmartpwd
  23. ! sql_user: pmacct
  24. ! sql_refresh_time: 90
  25. ! sql_optimize_clauses: true
  26. ! sql_history: 10m
  27. ! sql_history_roundoff: mh
  28. ! networks_file: ./networks.example