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:
- Login to the Windows system hosting the eG external agent.
- Run the command prompt in elevated mode.
- Go to the <EG_INSTALL_DIR>\Netflow\bin directory and execute the CreateNetflowService.bat batch file.
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.
- 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.
- 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.
- 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.