Ntop Installation Process

Source: Internet
Author: User
Tags rrdtool
Ntop installation process-Linux Enterprise Application-Linux server application information. See the following for details. Ntop monitoring linux system network status
The mrtg tool is usually used to monitor the network status. Today, I asked cooler to compare the network status. He said ntop, and I also tried it. I encountered N problems in the middle. all are dependencies between broken software packages. problems with earlier and later versions. okay.

I. NTOP Functions
NTOP mainly provides the following functions:
Automatically identifies useful information from the network;
Converts intercepted data packets into a format that is easy to recognize;
Analyzes communication failures in the network environment;
Detects communication bottlenecks in the network environment;
Record the time and process of network communication.
It can identify various problems on the network by analyzing network traffic, or determine whether a hacker is attacking the network system; it also allows you to easily display detailed information such as specific network protocols, hosts occupying a large amount of bandwidth, target hosts for various communications, transmission time of data packets, and delay of transmitted data packets. By understanding this information, the network manager can respond to faults in a timely manner and optimize and adjust the network to ensure the efficiency and security of network operation.

2. My Environment
OS: rhel 5
Kernel: 2.6.15
Installed: apache2.2.6 + php5.2.4 + gd (freetype + zlib + jpeg + libpng + libxml2)
For installation of these software, see my previous articles:

Three software packages and dependencies
Ntop3.3: http://jaist.dl.sourceforge.net/sourceforge/ntop/ntop-3.3.tar.gz
Libpcap: ftp://ftp.pld-linux.org/dists/2... el-0.9.4-1.i686.rpm
Ftp://ftp.pld-linux.org/dists/2... ap-0.9.4-1.i686.rpm
Install: rpm? Uvh .......
Rrdtool: ftp://ftp.pucpr.br/rrdtool/rrdtool-1.2.9.tar.gz
Cgilib: http://www.infodrom.org/projects... d/cgilib-0.5.tar.gz
Ntop 3.3 required: apache rrdtool-1.2 above libpcap
Rrdtool needs: cgilib freetype and so on. If you have installed the package I mentioned above, it will be okay. Otherwise, there will be something missing.

Note: rrdtool 1.2 and later versions do not have cgilib zlib, so you need to install it manually.
Rrdtool 1.2 and later versions also require cgilib 5. Please note

4. Install software

Cgilib
# Tar zxvf cgilib-0.5.tar.gz
# Cd cgilib-0.5
# Make
# Cp libcgi. a/usr/lib
# Cp cgi. h/usr/include

Rrdtool
# Tar zxvf rrdtool-1.2.9.tar.gz
# Cd rrdtool-1.2.9
#./Configure? Prefix =/usr/local/rrdtool
# Make; make install

Ntop
# Tar zxvf ntop-3.3.tar.gz
# Cd ntop-3.3
#./Configure? Prefix =/usr/local/ntop
# Make; make install
# Cp packages/RedHat/ntop. conf. sample/etc/ntop. conf

5. Configure ntop
# Groupadd ntop
# Useradd ntop? G ntop
# Mkdir/var/log/ntop // create a log storage path
# Chown? R ntop. ntop/usr/local/ntop/share/ntop
# Chown? R ntop. ntop/var/log/ntop
# Cd/usr/local/ntop/bin
#./Ntop? A // set the password
# Ntop-P/var/log/ntop/-u nobody & // start the service

//-P [directory] specifies the path for storing the. db file.
//-U [user] specifies the service to start the user

Set automatic start upon startup:
# Echo "ntop-p/var/log/ntop & 2> 1 1>/dev/null">/etc/rc. d/rc. local

Configuration complete.
IP input: http: // ip: 3000.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.