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.

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:

ntop_netstat

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

ntop_welcome_page

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.

ntop_configuration_page

2. Global Traffic Status

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

ntop_global_traffic_page

3. Host Information

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

ntop_hostinfo_page

4. Network Load Statistics

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

ntop_network_load_page

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.

8 comments

  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?
    Thanks.

  2. Tell me what password&user name will be used? As they said ..
    And ..is 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
    Thanks

    • 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.

Sponsored Stories