Hello Brad,

As far as I know you need to specify two seperate fifo's like this:

  imt_path[inbound]: /tmp/pmacct_inbound.pipe
  imt_path[outbound]: /tmp/pmacct_outbound.pipe

You then have to rum pmacct twice, once for inbound and once for outbound data 
using the -p /tmp/pmacct_<dir>.pipe

HTH.

Regards,
Ruben Laban

On Tuesday 17 July 2007, Broadband Solutions wrote:
> Hi Guys
>
> I have just setup pmacct on my debian etch server. I am monitoring a class
> C, at the moment I only want inbound/outbound traffic figures (total) for
> one particular IP.
>
> I have a problem where pmacct only seems to be displaying outbound traffic.
> Well, I think it is outbound. How can I get seperate figures for outbound
> and inbound?
>
> Below is my /etc/pmacct/pmacctd.conf file, and also the results of a
> "pmacct -s"
>
> Can anyone see what I am doing wrong?
>
> Thank you kindly
>
> /etc/pmacct/pmacctd.eth0.conf:
>
> syslog:daemon
> interface: eth0
> daemonize: true
> promisc: true
>
> aggregate[inbound]: dst_host
> aggregate[outbound]: src_host
> aggregate_filter[inbound]: dst net 192.168.69.0/24
> aggregate_filter[outbound]: src net 192.168.69.0/24
>
> plugins: memory[inbound], memory[outbound]
>
> plugin_pipe_size:1024000
> plugin_buffer_size:8192
>
> imt_buckets: 65537
> imt_mem_pools_size: 1024000
>
> And here is the results of a "pmacct -s":
>
> server4:~# pmacct -s
> SRC_IP           PACKETS     BYTES
> 192.168.69.50    651         57186
> 192.168.69.1     91          12658
> 192.168.69.2     2071        193743
>
> For a total of: 3 entries
>
>
>
>
> Regards,
>
> Brad Draper


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

Reply via email to