How to configure NetFlow Generator for server traffic monitoring

    NetFlow Generator is a functionality that can be configured with the Network Packet Sensor agent. It captures the data packets coming from non-flow exporting devices and converts them into NetFlow packets. This helps you monitor server traffic, prioritize the traffic for critical applications, and plan bandwidth upgrades with usage reports.

    To start with monitoring the server traffic, you need to have met these prerequisites and installed Network Packet Sensor. You can then configure the agent as NetFlow Generator with the following steps.

    Installing Network Packet Sensor in Microsoft Windows

    1. Launch Network Packet Sensor installation (.exe) file and click Next to start the installation

      nps-a

    2. Verify and Accept the license agreement and click next

      nps-b

    3. Choose the destination folder location (optional) or click Next to continue

      nps-c

    4. A pop up message to verify the pre-requisites will appear. Click OK to proceed, if the prerequisites are met

      nps-d

    5. Review the installation path details shown and then click Next

      nps-e

    6. Select the operation as NetFlow Generator and click Next

      nfg-server-traffic-monitoring

    7. In the communication panel, enter the Host name, HTTPs Port, Sensor Name and Sensor Installation Key. You can copy the Sensor Installation Key details from the NetFlow Analyzer GUI under Settings > ITOM Agent > Network Packet Sensor.

      nps-g

      Host Name Host name of the server in which NetFlow Analyzer is running
      HTTPs Port Port Number that NetFlow Analyzer runs on
      Sensor Name Device name for Network Packet Sensor
      Sensor Installation Key The Key displayed in NetFlow Analyzer GUI
    8. Once the communication between NetFlow Analyzer and Network Packet Sensor is complete, a message "Network Packet Sensor has successfully registered with NetFlow Analyzer server will pop up. Click ok to proceed

      nps-h

    9. Select Ethernet Card whose network traffic needs to be monitored

      nps-i

    10. Click Finish to close the installation wizard, and launch the application

      nps-j

    11. Once the installation is complete, Network Packet Sensor will run as a service in the background.

    Installing Network Packet Sensor in Linux (Console)

    • To launch the installer, type the following commands
      chmod +x ManageEngine_NetworkPacketSensor_64bit.bin
      ./ManageEngine_NetFlowGenerator_64bit.bin-i console

      where ManageEngine_NetworkPacketSensor_64bit is the name of the downloaded BIN file

      nps-k

    • Once the introduction appears, press Enter to continue

      nps-l

    • Now the license agreement part is displayed, press Enter to continue

      nps-m

    • Verify the installation folder, and type "Y" to continue

      nps-n

    • After confirming the pre-installation summary, press enter to start installing

      nps-o

    • Select the operation as NetFlow Generator and enter the number of your choice or press to accept the default.
    • nps-server-type-selection

    • In the communication details section, type in the following details
      Host Name Host name of the server in which NetFlow Analyzer is running
      HTTPs Port Port Number that NetFlow Analyzer runs on
      Sensor Name Device name for Network Packet Sensor
      Sensor Installation Key The Key displayed in NetFlow Analyzer GUI
      nps-p
    • Once the installation key is verified and communication with NetFlow Analyzer server is established, Ethernet card details will be shown, select the Ethernet card option number to be used for capturing network packets, from the displayed options
      nps-q
    • Once this is done, the installation will complete and the Network Packet Sensor will start running as a service.

    Installing NetFlow Generator in Linux(GUI Mode)

    • Type the following command in the terminal to convert the binary file to executable file
      chmod +x ManageEngine_NetworkPacketSensor_64bit.bin
    • To launch the executable file type the following command
      ./ManageEngine_NetworkPacketSensor_64bit.bin
    • Once the installation wizard opens, click next to begin installation
      nps-r
    • Click on the "I accept the terms of the License Agreement" radio button, and click Next
      nps-s
    • Select the installation directory by clicking on the "Choose" button and click Nextnps-t
    • Verify the pre-installation summary and click the install button to begin extraction
      nps-u
    • Select the operation as NetFlow Generator and click Next.

      nps-w

    • After the Server type selection, type in the Communication details, which includes
      Host Name Host name of the server in which NetFlow Analyzer is running
      HTTPs Port Port Number that NetFlow Analyzer runs on
      Sensor Name Device name for Network Packet Sensor
      Sensor Installation Key The Key displayed in NetFlow Analyzer GUI

      nps-x

    • Type in the Ethernet card number in the textbox for capturing network packets, from the Ethernet adapter box, and click next to finish up the installation

      nps-y nps-z

    • Once you click the finish button, the installation will complete and the Network Packet Sensor starts running as a service.

    Starting Network Packet Sensor as a service in Windows

    1. Open Services in taskbar and double click ManageEngine Network Packet Sensor that you intend to start.
    2. Click the Start button.

    Once the steps are complete, ManageEngine Network Sensor will start running on the device.

    Stopping Network Packet Sensor as a service in Windows

    1. Open Services in taskbar and double click ManageEngine Network Packet Sensor that you intend to stop.
    2. Click the Stop button.

    Once the steps are complete, ManageEngine Network Sensor will stop running on the device.

    Uninstalling Network Packet Sensor as a service in Windows

    1. Open Control Panel and navigate to Add/Remove programs in which Network Packet Sensor is listed.
    2. Click the ManageEngine Network Packet Sensor program and click Uninstall or right click on the ManageEngine Network Packet Sensor program and click Uninstall.

    Once the steps are complete ManageEngine Network Packet Sensor will be uninstalled from the device.

    Starting or stopping Network Packet Sensor as service in Linux

    1. Execute .linkAsService.sh from PacketSensor/bin with root login
    2. Start Network Packet Sensor by executing systemctl start PacketSensor.service or /etc/init.d/PacketSensor.service start files, depending on your OS version.
    3. Check the status of Network Packet Sensor by executing the systemctl status PacketSensor.service or /etc/init.d/PacketSensor.service status commands.
    4. Network Packet Sensor will now start as a service and start showing server traffic data.
    5. To stop Network Packet Sensor, execute the systemctl stop PacketSensor.service or the /etc/init.d/PacketSensor.service stop commands.

    Uninstalling Network Packet Sensor as a service in Linux

    1. Open installed folder PacketSensor /bin directory.
    2. Type the following command ./SensorService stop and type Delete the folder.

    Network Packet Sensor will be removed from your device.

    Network Packet Sensor post installation