Ntopng How to install Ntopng Network Traffic Monitoring Tool

Ntopng is a very useful network traffic monitoring system, its a monitoring tool with detailed graphs and flows. Its interface having a number of view options of network traffic, including the top flow talkers, top hosts (Send/Receive) data, application protocols in use, top flow senders data live. Each and every node’s active flow can be viewed using the ntopng.
For reference www.ntop.org.
To Install Ntopng, the following steps are followed, first of all we need to upgrade the repository files, create the following file to start up for installation:
# vi /etc/yum.repos.d/ntop.repo
[ntop] name=ntop packages baseurl=http://www.nmon.net/centos/6.5/x86_64/ enabled=1 gpgcheck=1 gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri
Now create the file in “/etc/yum.repos.d/epel.repo extra repositories”
# vi /etc/yum.repos.d/epel.repo
[epel] name=Extra Packages for Enterprise Linux 6 - baseurl=http://mirror.digmia.com/epel/6Server/x86_64/ #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch= failovermethod=priority enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 [epel-debuginfo] name=Extra Packages for Enterprise Linux 6 - - Debug baseurl=http://download.fedoraproject.org/pub/epel/6//debug #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch= failovermethod=priority enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1 [epel-source] name=Extra Packages for Enterprise Linux 6 - - Source baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch= failovermethod=priority enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 gpgcheck=1
Now do the following:
To clean all yum data
yum clean all
To update the repositories and all installed packages following command is used.
yum update -y
Redis and Hiredis are the required packages for the Ntopng installation, so need to install it before going to install ntopng
yum install redis hiredis
if there will be problem for installation of redis or hiredis, do install the following rpm:
rpm -ivh http://mirror.digmia.com/epel/6Server/x86_64/epel-release-6-8.noarch.rpm
Now install the pf_ring
yum install pfring
after successful installation of all the above mentioned packages, install ntopng with its packages
yum install ntopng ntopng-data nbox
Now edit the ntopng configuration file and make the following changes.
vi /etc/ntopng/ntopng.conf
-n=1 -g=-1 -G=/var/tmp/ntopng.pid -i=eth0 -i=eth1
Now edit the ntopng start “ntopng.start” file and make following changes.
vi /etc/ntopng/start.conf
--local-networks 192.168.0.0 ## give your local IP Ranges here. --interface 0
Now run the following commands to start the services of redis and ntopng.
service redis start service ntopng start
Al Hamdu Lillah we have done it.
The Following graphs will be displayed on completion of installation process and configuration of ntopng.