Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Top Posters

Who's Online (0)

Powered by Vanilla. Made with Bootstrap.
Ntop network usage tutorial
  • [Intro]
    This is a quick little write-up for a useful program called ntop. What is ntop? ntop is a tool to view network usage. This is useful for system admins in particular.

    [Installing]
    Installing ntop is easy. Just use these commands:

    sudo aptitude update
    sudo aptitude install ntop

    Done ;)

    [Setting up]
    First, we must set the ntop Admin password. To do this, use the following command:

    sudo ntop -A

    You should get something like this:

    Thu Dec 23 22:43:37 2010 NOTE: Interface merge enabled by default
    Thu Dec 23 22:43:37 2010 Initializing gdbm databases


    ntop startup - waiting for user response!


    Please enter the password for the admin user: [color=red]Your desired password[/color]
    Please enter the password again: [color=yellow]Your desired password again[/color]
    Thu Dec 23 22:43:39 2010 Admin user password has been set


    Now for restarting:

    sudo /etc/init.d/ntop restart

    chronic@ubuntu:~$ sudo /etc/init.d/ntop restart
    Stopping network top daemon: ntop
    Starting network top daemon: Thu Dec 23 22:46:02 2010 NOTE: Interface merge enabled by default
    Thu Dec 23 22:46:02 2010 Initializing gdbm databases
    ntop


    [Viewing]
    Viewing is perhaps the easiest task. Once ntop is up and running, open your browser and navigate to http://localhost:3000/

    Done. Theres your network usage stats.

    NOTE: Use the
    man ntop
    command to learn more about this cool tool. RTFM!

    --Chroniccommand