Hi, Thanks for clarifying. I guess I was oversimplifying due to lack of knowledge on the matter.
I will remember this just in case. As we will be sending to a team used to process sFlow from Juniper MXs and we export both from a mixture of Cisco devices with different Netflow versions. Best regards and thanks for your attention. Regards, Pau 2016-02-10 18:29 GMT+01:00 Paolo Lucente <pa...@pmacct.net>: > Hi Pau, > > On the sampling part: this is not supported but for a good reason, i > would say. Sampling is, yes, about sending less data over but also > about being able to renormalize data using some math; sampling packets > passing via an interface makes sense; dropping some well-formed NetFlow > packets (each of which contains several flows, each potentially passing > via different interfaces, etc.) has less sense. > > What you really want is a thing that, supposing for simplicity you are > sampling 1:1 at your routers, reads NetFlow packets, builds state on a > per router or more fine-grained basis, samples flows algorithmically > and constructs brand new NetFlow packets. Opposed to packet sampling > (where you only need a sampling rate as a multiplication factor), flow > sampling may require knowledge of how the algorithm does operate, in > order to (more accurately) renormalize. For example: C7600 (at least > until RSP720) was doing flow sampling and it took them three pages of > high level algorithm description (*) to give you a chance to be somehow > accurate renormalizing sampled data. > > Cheers, > Paolo > > (*) > http://www.cisco.com/c/en/us/td/docs/routers/7600/ios/12-2SR/configuration/guide/swcg/nde.pdf > > On Mon, Feb 08, 2016 at 03:27:34PM +0100, KA PDE wrote: > > Hi all, > > > > I've recently discovered pmacct and I'm evaluating it to forward netflow > > data for security purposes to a set of collectors, some of them requiring > > less amount of data sent. > > > > I have a simple configuration using the tee plugin. I've managed to send > > flow information to NFsen but I'm unable to find a way of sampling to the > > other destination.Is this achievable with pmacct? > > > > ! nfacctd configuration > > ! > > ! > > ! > > daemonize: true > > pidfile: /var/run/nfacctd.pid > > syslog: daemon > > > > nfacctd_port: 9996 > > nfacctd_ip: 88.22.33.99 > > plugin_pipe_size: 10240000 > > plugin_buffer_size: 10240 > > > > plugins: tee[nfsen], tee[pmacct] > > tee_receiver[nfsen]: 127.0.0.1:9995 > > tee_receiver[pmacct]: 127.0.0.1:9999 > > ! sampling_rate[pmacct]: 4096 > > tee_transparent: true > > > > Thanks in advance and best regards, > > > > Pau > > > _______________________________________________ > > pmacct-discussion mailing list > > http://www.pmacct.net/#mailinglists > > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists >
_______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists