How To Monitor Network Traffic and Statistics with ntop Tool? – POFTUT

How To Monitor Network Traffic and Statistics with ntop Tool?

ntop is network traffic and statistic monitoring tool. ntopprovides similar philosophy to top command. There is also web based gui which makes it elegant to use. ntop packages are provided by popular distributions like Ubuntu, Debian, Mint, Fedora, CentOs, RHEL etc.

Install ntop For Debian, Ubuntu, Kali, Mint

We can install ntop with apt like below.

Install ntop For Fedora, CentOS, RHEL

We can install ntop tool with the yum like below.

Set ntop Web Interface Password

As stated previously ntop provides web interface and console interface too. In order to use web interface we should set password. We can set password using ntop command with root privileges where sudo can be used.

Set ntop Password

Set ntop Password

Start ntop Service

ntop can work as a web service too. We can start ntop service with the systemctl command like below.

Check ntop Service Status

We can check status of the ntop service with the status option of systemctl command. If the service is working we will see a green active in the output.

Check ntop Service Status

Check ntop Service Status

Enable Web Interface To The Network

By default web service is accessible from localhost. We need to enable it to the network to access remotely. We will edit configuration file /etc/ntop.conf

echo '

Change following line

to the following

LEARN MORE  Best Tools To Monitor Linux

and than restart service with the follwing command.

Web Interface

We can use web interface of the ntop command using browser. Web interface is provided from TCP 3000 port by default. There is also HTTPS connection which is secure provided by TCP 3001 port. We will use admin username and password we set.

Web Interface

Web Interface


Leave a Reply

Your email address will not be published. Required fields are marked *