Re: [pmacct-discussion] in/out/total per IP per month

2007-12-12 Thread Paolo Lucente
Hi Daniel, in scenarios in which UPDATEs are affordable, the advice is to keep hourly and monthly stats in different tables. With proper indexing, such method is lighter compared to making sums. If UPDATEs are not affordable then, yes, there is no other choice but make sums basing on the

Re: [pmacct-discussion] in/out/total per IP per month

2007-12-11 Thread Daniel Netzer
Hi Paolo, thank you very much for your help and a great software! pmacct is exactly what I was looking for. I used a snmp based solution for accounting my traffic from switches. rtg did the job but I needed more detailed statistics and IP based accounting, upgrading to *Flow enabled hardware was

Re: [pmacct-discussion] in/out/total per IP per month

2007-12-05 Thread Paolo Lucente
Hi Daniel, your config is missing the imt_path directive for each of the plugins - ie. add to your config the following lines: imt_path[outbound]: /tmp/outbound.pipe imt_path[inbound]: /tmp/inbound.pipe You will be able to query each plugin's memory table with the following commandline: pmacct