How to Install ntopng on Ubuntu 20.4.1

To Install ntopng on Ubuntu 20.4.1

Introduction:

Ntopng is the latest version of the original ntop. It is a network traffic scrutiny that controls network usage which is based on libpcap. It is used for High-Speed Web-based Traffic Analysis and Flow Collection.

Installation process:

Run lsb_release command to check the installed version of OS as follows.

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

Use this command to update the repository files.

root@linuxhelp:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease         
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease            
Reading package lists... Done

To install the ntopng use the following command.

root@linuxhelp:~# apt-get install ntopng
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  fonts-font-awesome fonts-glyphicons-halflings javascript-common libatomic1 libdbi1 libhiredis0.14 libjemalloc2
  libjs-bootstrap libjs-d3 libjs-jquery libjs-jquery-form libjs-jquery-metadata libjs-jquery-tablesorter
  libjs-jquery-ui libjs-rickshaw liblua5.1-0 libndpi2.6 libnorm1 libpgm-5.2-0 librrd8 libwireshark-data libzmq5

Open the default configuration file and add a connection name.

 root@linuxhelp:~#  vim /etc/ntopng.conf 

Restart the ntopng service.

root@linuxhelp:~# systemctl restart ntopng

Change the default admin password.

Here you can see the upload and download speed

Here you can see the upload and download size by hosts

Here you can see the upload and download size by ports

With this the method to install ntopng on ubuntu 20.4.1 comes to an end.

Tag : ntop Ubuntu
FAQ
Q
What is the goal of "ntopng"?
A
Here I have to mention some of the goals of "ntopng",
1. Sort network traffic according to many criteria including IP address, port, L7 protocol, throughput, AS.

2. Show network traffic and IPv4/v6 active hosts.

3. Produce long-term reports about various network metrics such as throughput, application protocols

4. Top X talkers/listeners, top ASs, top L7 applications.

5. For each communication flow report network/application latency/RTT, TCP stats
Q
How can I report the protocol usage in Ntopng?
A
Yes you can report the protocol usage using Ntopng.
Q
How can I monitor network traffic?
A
Yes well you can do network traffic monitoring
Q
Does it supports ipv4 and ipv6 in ntopng?
A
Yes full support for ipv4 and ipv6
Q
Does it support full layer-2 in ntopng?
A
Yes it does support full layer 2.