Re: [pmacct-discussion] Traffic count only for certain networks

2009-09-24 Thread Slava Dubrovskiy
24.09.2009 01:06, Paolo Lucente пишет: And it put tag 1 and 0 in the same ip_src and ip_dst mysql select agent_id,ip_src,ip_dst,bytes from acct_v2 where ip_src like '91.206.226.104' and ip_dst like '91.209.165.1'; +--++--++ | agent_id | ip_src

Re: [pmacct-discussion] Traffic count only for certain networks

2009-09-23 Thread Paolo Lucente
Hi Slava, On Tue, Sep 22, 2009 at 11:42:37PM +0300, Slava Dubrovskiy wrote: I wish to count only traffic from/to local IP. I.e. that in base were only my local IP. For this purpose I specify my local IP in networks_file and I aggregate by src_host, dst_host. I don't wish to store not

Re: [pmacct-discussion] Traffic count only for certain networks

2009-09-23 Thread Slava Dubrovskiy
23.09.2009 09:59, Paolo Lucente пишет: Hi Slava, On Tue, Sep 22, 2009 at 11:42:37PM +0300, Slava Dubrovskiy wrote: I wish to count only traffic from/to local IP. I.e. that in base were only my local IP. For this purpose I specify my local IP in networks_file and I aggregate by

Re: [pmacct-discussion] Traffic count only for certain networks

2009-09-13 Thread Paolo Lucente
Hi Slava, On Thu, Sep 10, 2009 at 02:24:22PM +0300, Slava Dubrovskiy wrote: [ ... ] It is necessary to count the traffic with filtering on certain networks. For this purpose I need write ALL this networks to aggregate_filter. But this list of networks is big and it periodically varies. I

Re: [pmacct-discussion] Traffic count only for certain networks

2009-09-10 Thread Slava Dubrovskiy
10.09.2009 14:24, Slava Dubrovskiy пишет: Hi. I use nfacct in such configuration: debug: true daemonize: true pidfile: /var/run/nfacctd.pid syslog: daemon nfacctd_port: 8818 plugin_buffer_size: 10240 plugin_pipe_size: 1024000 aggregate[min]: src_host, dst_host, src_port, dst_port,