We use the nfdump package to collect and analyze the netflow data.
NFDump official website: http://nfdump.sourceforge.net/
Install nfdump on CentOS 5
For Ubuntu, use apt-get to install.