Hi, Everyone
  
I'm new to pmacct. I have just set up one collector to collect netflow v9
data from a GSR.
I want to statistic the traffic through the pos10/0 which ifindex is 54. The
following is my nfacctd config:

debug: true
daemonize: true
nfacctd_ip: 10.10.10.10
nfacctd_port: 2055
plugins: memory[test]
nfacctd_time_secs: true
pre_tag_map: /var/nfv9/cfg/pretag_map
aggregate[test]:
src_host,dst_host,src_port,dst_port,proto,tos,src_as,dst_as,tos

/var/nfv9/cfg/pretag_map is:
id=1000   ip=a.a.a.a  in=54   out=54

I have some questions:
1. Can I use ifindex to filter the traffic. Because I just need to analyze
the traffic throug the pos10/0 which ifindex is 54. I won't use network
prefix to judge in or out.
2. I think there are something wrong with my config.  The pre_tag_map
doesn't work. Whatever the ip appointed, the result is the same. I can't
display the ifindex by memory plugin either.
3. Can pmacct statistic the topN such as ip, as, protocol like flow-tools?

Thanks!

Wang Yan
















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

Reply via email to