Re: [pmacct-discussion] Virtual interfaces setup problem

2014-04-02 Thread Whisky
Dear Paolo, Thanks a lot! That actually worked great. Traffic is being counted just the way I wanted it to be. As for your questions: a) I suppose an excerpt of my ifconfig will explain our setup best: eth1 Link encap:Ethernet Hardware Adresse fa:4d: c2:6f:92:01 inet Adresse:2

Re: [pmacct-discussion] Virtual interfaces setup problem

2014-04-02 Thread Paolo Lucente
Hi Stefan, We crossed each other's email, very good. So if in your config you replace the "aggregate: src_host,dst_host,proto" line with: aggregate[in]: dst_host aggregate[out]: src_host ! imt_path[in]: /path/to/in.pipe imt_path[out]: /path/to/out.pipe Then query the memory tables: shell> pmacc

Re: [pmacct-discussion] Virtual interfaces setup problem

2014-04-02 Thread Paolo Lucente
Hi Stefan, Two questions for you: a) is each virtual interface configured with a different IP address (range) or is it placed in a different VLAN? b) if you bind pmacctd (or tcpdump) to the main/real interface, say, eth1 - are you able to see all in/out traffic of all eth1 virtual interfaces? Answ

Re: [pmacct-discussion] Virtual interfaces setup problem

2014-04-02 Thread Whisky
Hi Mario. Thanks again for your reply. I'm really sorry to bother the list but I obviously don't really understand the configuration options although I've managed to narrow down the results I get. So I suggest we leave the MySQL problem aside for the time being. Here's my config on a local test s

Re: [pmacct-discussion] Virtual interfaces setup problem

2014-04-02 Thread Jentsch, Mario
Hey Stefan, I use nfacctd with a custom plugin, never used pmacctd nor one of the SQL plugins. My guess is that you don't use "aggregate[]: none" and "sql_history[]: 1d". Whatever configuration proposal I give you is a shot in the dark. To have the data of all interfaces in one table I would cre