Hi!

I just found pmacct and tested a little bit with it. Sounds like a
perfect match for my needs. But currently I got stuck in configuring the
following solution: I need to account all flows per IP as sent and
received traffic (per month). I do not know how to use the keys to
achieve this. I tested by transferring 10 MB:

[EMAIL PROTECTED] scp 10M [EMAIL PROTECTED]:~

and measured:

[EMAIL PROTECTED] pmacct -s
DST_IP           PACKETS     BYTES
10.2.1.4         7612        10819117
10.2.1.214       3967        214888
10.2.1.2         2           82

but I expected/need to see 10M of outgoing on 10.2.1214 and 10M of
incoming on 10.2.1.4 - so how can I configure this? My actual
configuration is:

----8<--------------------------------------------------------
daemonize: true
pidfile: /var/run/pmacctd.pid
syslog: daemon
interface: eth0
aggregate[inbound]: dst_host
aggregate[outbound]: src_host
!I only want to "account" on my LAN
aggregate_filter[inbound]: dst net 10.2.0.0/16 
aggregate_filter[outbound]: src net 10.2.0.0/16
!Later use a db
plugins: memory[inbound], memory[outbound]
----8<--------------------------------------------------------

And how to get totals over a certain period of time for example a month?
Use the db to calculate?

Thank you very much for your help!

Best regards
Daniel

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

Reply via email to