Hello,

I try to run pmacct on a debian 7 box.
Basically everything runs fine, except sometimes pmacctd mud miscount the 
traffic, since the average packetize goes over 1500 (latest size observed about 
7.000) wich is not possible (MTU-Limit of 1500 bytes).

Same problem with the debian packages an a fresh compiled version from 1.5.rc2.

Any Ideas?

regards

Johannes

P.S. Used config 
! pmacctd configuration
!
!
daemonize: true
pidfile: /var/run/pmacctd.pid
syslog: daemon
aggregate[inbound]: dst_host
aggregate[outbound]: src_host,proto
aggregate[TMPflowSRC]: src_host,src_port,proto
aggregate[TMPflowDST]: dst_host,proto
aggregate_filter[TMPflowSRC]: udp
aggregate_filter[TMPflowDST]: udp
plugins: mysql[inbound], mysql[outbound], mysql[TMPflowSRC], mysql[TMPflowDST]
sql_table[inbound]: acct_%Y_%m_in
sql_table[outbound]: acct_%Y_%m_out
sql_table[TMPflowSRC]: acct_TMPflowSRC
sql_table[TMPflowDST]: acct_TMPflowDST
sql_table_schema[inbound]: /etc/pmacct/inbound.schema
sql_table_schema[outbound]: /etc/pmacct/outbound.schema
networks_file[inbound]: /etc/pmacct/networks
networks_file[outbound]: /etc/pmacct/networks
networks_file[TMPflowSRC]: /etc/pmacct/networks
ports_file[TMPflowSRC]: /etc/pmacct/ports-udp 

! on this interface
interface: eth0

sql_db: pmacct
sql_table_version: 4 
sql_passwd: secret ;)
sql_user: pmacct
! refresh the db every 1  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 5 minutes
sql_history: 1m 
! create new rows on the minute, hour, day boundaries
sql_history_roundoff: m
! Multivalue-Support, bei mysql schneller
sql_multi_values: 12000000

! viele Daten hier, mehr puffer
sql_cache_entries: 64000

ports_file: /etc/pmacct/ports
! nur inserts
sql_dont_try_update: true

! intern puffern
plugin_buffer_size: 163840
plugin_pipe_size: 40960000


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to