How to Install and Configure Ntop to Monitor Network in Ubuntu

How to Install and Configure Ntop On Ubuntu

Ntop is an open-source and very useful network-monitoring tool that displays a list of hosts that are currently using the network and reports information concerning the IP traffic generated by each host. You can use a web browser to monitor your network traffic, connections and bandwidth usage. Ntop monitors and reports host traffic and supports various protocols like TCP/UDP/ICMP, IPX, ARP, DLC, Decnet, AppleTalk, and Netbios.

In this tutorial I will explain how to install and configure Ntop on Ubuntu 14.04.

Installing Ntop

You can install ntop by running the following command:

During installation you will be asked to enter the password for the administrator. Simply enter your password and finish installation.

After installing ntop, start ntop service:

By default, ntop listens on port 3000 to display network usage via a web browser.

To verify ntop is working, run:

You should see an output like the following:


View Ntop

You can see the ntop web interface by typing the url http://your-server-ip:3000 on your web browser.


The ntop screen has the following main menus:

  • About: what are ntop, credits, documentations and configurations.
  • Summary: traffic, hosts, network load, network flows
  • All protocols: traffic, throughput, activity
  • IP: summary, traffic directions, local
  • Utils: data dump, view log
  • Plugins: many plugins to enable or configure
  • Admin: configure, shutdown

You can see a screenshot of some menus in the following images.

1. Ntop Configuration

You will see the version of ntop, name of operation system and date of ntop configuration.


2. Global Traffic Status

You will see the number of the network interface with IP address and global network traffic statistics.


3. Host Information

You will see the information of your host system like hostname, IP address, MAC address, DNS and your real IP address.


4. Network Load Statistics

You will see your network load statistics of the last ten minutes, last hour, last day and last month.



After installing Ntop, you can easily monitor your network usage, network load and network traffic in real time. Feel free to leave a comment if you have any questions.

Hitesh Jethva Hitesh Jethva

Over 5 years of experience as IT system administrator for IT company in India. My skills include a deep knowledge of Rehat/Centos, Ubuntu nginx and Apache, Mysql, Subversion, Linux, Ubuntu, web hosting, web server, squied proxy, NFS, FTP, DNS, Samba, ldap, Openvpn, Haproxy, Amazon web services, WHMCS, Openstack Cloud, Postfix Mail Server, Security etc.


  1. I tried to config. ntop, but it asked for username and password. When I enter my root user and pass it did not accept it.
    I tried with my other username and pass ditto. Is there a special username and pass for ntop?

  2. Tell me what password&user name will be used? As they said ..
    And this program free?
    And used for pc..or for mobile. ?
    Ilike to work with Ubuntu system
    I want to install it in my pc
    So please tell me ..if it work i have window 7 on my pc

    1. You need to give password of admin user during ntop installation.

      You can install ntopng similar to ntop on your windows 7 pc

  3. Hey, Perform this

    apt-get –purge remove ntop
    apt-get install ntop

    while installing it will ask for interface, provide interface detail as eth0, wireless
    one clicked ok it will ask for admin password for ex: admin123, enter the password you want to set for admin user of ntop

    Once done, try logging into the ntop with credentials as user:admin & password:admin123 and you should be able to log into ntop now.

  4. I’ve installed ntop on my vps. Anyone can access it without my permission. Do you know how to secure whole ntop web interface? I mean ip:3000.

  5. Hi, i hope you still running this website. I want to ask. The installation is successful. But somehow after 3 days it takes all HDD space on my server.

    I want to ask a question
    1. Is there any way to filter kind of traffic to save?
    2. Is there a way to see those traffic in cmd? i use ubuntu server 14.04

    Thank you!

Comments are closed.