Deploying the eG NetFlow Collector

The next step is to deploy the eG NetFlow Collector. As mentioned already, the collector has to be created as a Windows service. Note that the collector service has to be created on the same Windows host on which the external agent monitoring the target NetFlow device has been deployed.

To create the collector service on the external agent host, follow the steps below:

  1. Login to the Windows system hosting the eG external agent.
  2. Run the command prompt in elevated mode.
  3. Go to the <EG_INSTALL_DIR>\Netflow\bin directory and execute the CreateNetflowService.bat batch file.
  4. Successful execution of the batch file will result in the creation of a Windows service named eGNetFlowAgent. To confirm the creation of this service, open the Services window on the collector host. If you find the eGNetflowAgent service displayed therein (see Figure 2), it denotes that the collector has been successfully deployed.

     

    Figure 2 : The eGNetflowAgent service displayed in the Services window

  5. By default, the collector listens on UDP port 9996 for NetFlow records from the managed NetFlow device. To make sure that the NetFlow device communicates with the collector via this port, make sure you open this port on the firewall.
  6. Once this is done, proceed to start the collector service. For this, right-click on the eGNetFlowAgent service in Figure 2 and select the Start option from the shortcut menu that appears.
  7. On the other hand, if the default UDP port 9996 is already in use, then you will first have to change the listening port of the collector. In this case therefore, skip step 6 above; instead, follow the steps detailed in the Configuring the eG NetFlow Collector to Receive NetFlow Records topic.