I'm a beginner but I'll hav a go ..


! pmacct: In + Out
!
debug: false
daemonize: true
interface: eth0
plugin_buffer_size: 2048
plugin_pipe_size: 2048000
plugins: memory
aggregate[traffic]: src_port,dst_port
aggregate_filter[traffic]:  src_net 10.11.12.0/23
aggregate_filter[traffic]:  dst_net 10.11.12.0/23
pidfile: /var/run/pmacctd.pid

then retrieve the results via

pmacct -c src_port,dst_port -N "*,80;80,*" -S -r
should give the total for the inbound and outboun traffic on port 80 for the ip rang 10.11.12.0/23 only ...
Let me know if it works ..

On 7/20/06, Peter Nixon < [EMAIL PROTECTED]> wrote:
Yes. If its not to difficult it would definitely be usefull to me. I would
like to query various subsets of the data for graphing with cacti.

I know that I can do it from sql, so its not a critical feature, but it would
be usefull.

Regards

Peter

On Thu 20 Jul 2006 17:50, Paolo Lucente wrote:
> Hi Peter,
> no, network masks are not supported for queries from pmacct client. But
> it could definitely be a good point to raise in the todo list.
>
> Cheers,
> Paolo
>
> On Thu, Jul 20, 2006 at 05:45:04PM +0300, Peter Nixon wrote:
> > Hmm. Is there any way to do something like:
> >
> > pmacct -c src_host,dst_host -N "*,10.11.12.0/23;10.11.12.0/23,*" -S
> >
> >
> > I have the following data collection:
> > # pmacct  -s | head -n1
> > SRC_IP           DST_IP           SRC_PORT  DST_PORT  PROTOCOL    PACKETS
> > BYTES
>
> _______________________________________________
> pmacct-discussion mailing list
> http://www.pmacct.net/#mailinglists

--

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc


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





--
Gregory Machin
[EMAIL PROTECTED]
www.linuxpro.co.za
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to