|
|
|||||
Collector installation tutorialThe Network Intelligence collector software runs on i386 GNU/Linux platforms, and forms part of the Network Intelligence software package. The collector component is responsible for collecting Netflow Exports, and for their subsequent filtering and aggregation. The client software is distributed in an archive called ni-collector-x.y.z.tgz, where x, y, and z make up the version number. To extract it first create a new temporary directory. From within the newly created directory, chant the following command:
Be sure to read the copyright notice and readme.collector file that may contain any last minute notes of interest. An installation script install.collector is provided to install the files into their correct locations. You should run this as the root user. The script will prompt you for a user to run the program as. If in doubt, a user nobody is usually available. Check your /etc/passwd file if in doubt.
The installation is very fast, and all going well the software will be installed and scripts and links will be installed to run the software on startup. Edit the configuration file /etc/opt/ni/collectord.conf and make sure that all the fields you will be using have some value specified.
After saving the file you should be ok to start the collector software. The directory containing the script for starting and stopping the collector will vary from system to system. Typically either /etc/rc.d/init.d or /etc/init.d will be used. To start the collector you will need to chant something like:
Check your syslog to see if there are any unexpected messages. All going well the collector software will now be running. You can perform a basic test by using telnet to connect to the collector. The following command can be used:
The response will be something like:
If you get the AUTHENTICATION;CHALLENGE line that is a good sign that everything is working properly. Support application - bbnfcA small application called bbnfc is distributed in the archive. bbnfc stands for Bare bones netflow collector. It can be used to check for the presence of incomming Netflow Export packets on port 2055, or any other UDP port. To run it, simply chant:
This small program can be very useful for debugging purposes. Particularly when you are not sure if a router is exporting Netflow Exports, or if you suspect the source IP address differs from what you expect. Network Intelligence only listens to traffic from IP addresses you configure so this small piece of information is vital to successfully gathering statistics. |
||||||
© Gadgets Software 2001-2008 |