Install ntop on Red Hat Enterprise Linux / CentOS Linux

Download latest ntop

Visit ntop project to grab latest version. You can use wget to grab the same enter:
# cd /opt
# wget http://freshmeat.net/redir/ntop/7279/url_tgz/ntop-3.3.6.tar.gz

Untar tar ball enter:
# tar -zxvf ntop-3.3.6.tar.gz

Configure and Compile ntop under RHEL

You must have RRDTool installed. You also need to install libpcap enter:
# yum install libpcap-devel libpcap
Type the following commands to compile and install ntop:
# cd ntop
# ./autogen.sh

Just type make to compile ntop:
# make
Just type make install to install ntop:
# make install
# make install-data-as

Create ntop user

Type the following command to run ntop as ntop user enter:
# useradd -M -s /sbin/nologin -r ntop

Setup directory permissions

Next you need to setup directory permissions enter:
# chown ntop:root /usr/local/var/ntop/
# chown ntop:ntop /usr/local/share/ntop/

Setup ntop user admin password

Type the following command to set ntop admin password enter:
# ntop -A
Sample output:

Mon Jul 28 03:38:34 2008  NOTE: Interface merge enabled by default
Mon Jul 28 03:38:34 2008 Initializing gdbm databases

ntop startup - waiting for user response!

Please enter the password for the admin user:
Please enter the password again:
Mon Jul 28 03:38:42 2008 Admin user password has been set

Start ntop

Type the following command to start ntop:
# /usr/local/bin/ntop -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon
Sample output:

Mon Jul 28 03:42:19 2008  NOTE: Interface merge enabled by default
Mon Jul 28 03:42:19 2008 Initializing gdbm databases

If you have multiple interface (eth0 eth1 and so on) start ntop as follows:
# /usr/local/bin/ntop -i "eth0 eth1" -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon
Where

  • -i "eth0 eth1" : Specifies the network interface or interfaces to be used by ntop for network monitoring. Here you are monitoring eth0 and eth1.
  • -d : Run ntop as a daemon.
  • -L : Send all log messages to the system log (/var/log/messages) instead of screen.
  • -u ntop : Start ntop as ntop user
  • -P /usr/local/var/ntop : Specify where ntop stores database files. You may need to backup database as part of your disaster recovery program.
  • --skip-version-check : By default ntop accesses a remote file to periodically check if the most current version is running. This option disables that check.
  • --use-syslog=daemon : Use syslog daemon.

How do I view ntop stats?

By default ntop listen on 3000 port. You can view ntop stats by visiting following url:
http://localhost:3000/
OR
http://server-ip:3000/

duck life

duck life

Good article, I would love to read this article. It contains a lot of useful information.

duck life

muneer ahmed

asda

A simple bookmarking tool that makes it easy to save, organize and share your favorite web pages. Access your bookmarks from any computer, phone or tablet. Listango works on all modern web browsers… my gmail login

aftab ali

seo

A gambling club join extra gives noteworthy edge to a player and can have any kind of effect between a triumphant player and a failure.  cresus casino bonus

aftab ali

seo

So simply accept on their endeavors to make the move culminate.  shifting retail

muneer ahmed

asdas

Slotty Vegas Casino additionally has a versatile club that is extraordinary. Their versatile gambling club utilizes Netent's new Touch innovation, which has been improved to work consistently for the two iOS and Android cell phones. Sportium

muneer ahmed

asdaasdasd

This is a wonderful product, taking into account all the information about it, this type of product that prevents user interest in the site, and you will share more ... good luck. easy cobbler recipe

james stephens

assignments writing

Since joining college, Ireland Assignment Assistance has been the first choice of students. Students reach them for help in their work as they have the best team of well-trained writers. Students are never dissatisfied with the services of Ireland assignment writing.

thesis proofreading services

thesis proofreading services

The team of professional assignment help experts at SingaporeAssignmentHelp.com offers all its students the best thesis proofreading services. The knowledgeable writers will resolve all your problems and present a plagiarism free work.

Java Assignment Help | Online Assignment Help

Java Assignment Help | Online Assignment Help

Students often feel issues in writing assignment, so to make students comfortable in java assignment we help them to write their assignments with online assignment help. If ever you feel any problem in writing something you can visit our website Java Assignment Help.

kujarux

kujarux

The High Growth Markets segment expands mcdvoice franchise and store operations in China, Italy, Korea, Poland, Russia, Spain, Switzerland, and the Netherlands. The Foundational Markets & Corporate segment refers to the firm’s administrative activities.

Database error

ERROR From DB mySQL

DB Error: Database query failed!
» Error No: 1062
» Error detail: Duplicate entry '11700399' for key 'PRIMARY'
» Query: INSERT INTO bd_estore_online_users (id,store_id,sid,uid,username,usertype,ip,last_updated,last_page) VALUES (NULL,'9412','7cccplboirqd5areag2aguqc00','0','Guest','0','54.162.15.31','2018-09-21 03:31:19','/a180657/install-ntop-on-red-hat-enterprise-linux-centos-linux.html')