install
First install JDK1.4.2 or above and mysql 4.x.
Create a database named flowdata ('mysql -u root -p[password]' to enter it and 'create database if not exist flowdata')
Secondly, uncompress the jnca-beta-0.91.jar and modify the properties files located under etc/ directory
Add the current directory (i.e the dot "." where etc and cai is located) and mysql-connector-java-3.1.10-bin.jar to ClassPath system variable ( it should contain the rt.jar shipped with JDK as well)
launch "java cai.flow.collector.Run create_db" to create the tables. e.g in windows, the command line should be similar to "D:\Dev\netflow\jnca>java -classpath %classpath%;.\mysql-connector-java-3.1.10-bin.jar;.;.. cai.flow.collector.Run create_db"
Carefully read the netflow.properties file under the etc directory, you have to add your router ip to the
launch "java cai.flow.collector.Run" as :"D:\Dev\netflow\jnca>java -classpath %classpath%;.\mysql-connector-java-3.1.10-bin.jar;.;.. cai.flow.collector.Run"
Configure nprobe or cisco/juniper router to export netflow v1 v5 v7 v8 v9 UDP packet to current host:2055 UDP port.
wait for a couple of minutes, look up the tables to see data.
trouble shooting
Please contact me thru [email protected] or dial (0086-)13880021897 (English or Chinese language could be understood)
Detail info
Please refer to http://itknowledge.yeah.net or http://jnca.sourceforge.net
翻译:
安装:
首先安装JDK1.4.2或者更高版本和mysql 4.x。
创建名为 flowdata的数据库并且进入。
第二步,将jnca-beta-0.91.jar解压和修改位于 etc/ directory目录下的道具文件。
添加当前目录和mysql-connector-java-3.1.10-bin.jar到ClassPath system variable(同时应该也包含 rt.jar和JDK );
在windows下运行java cai.flow.collector.Run create_db 创建表。命令行应该和D:\Dev\netflow\jnca>java -classpath %classpath%;.\mysql-connector-java-3.1.10-bin.jar;.;.. cai.flow.collector.Run create_db一样。
仔细阅读当前目录下的netflow.properties 文件
等两分钟