Install Ntop monitoring network software

Source: Internet
Author: User
Tags rrdtool automake
Install Ntop monitoring network software Ntop: Ntop is a network traffic monitoring tool that displays network usage more intuitive and detailed than other network management software. Ntop can even list the network bandwidth utilization of each node computer. He is flexible and fully functional...

Install Ntop monitoring network software
Ntop:
Ntop is a network traffic monitoring tool that uses ntop to display network usage in a more intuitive and detailed manner than other network management software. Ntop can even list the network bandwidth utilization of each node computer. It is a flexible and fully functional tool for monitoring and solving Lan problems. especially when ntop and nprobe are used in combination, its functions are more significant. It also provides command line input and web pages and can be applied to embedded web services.
Ntop mainly provides the following functions:
Automated Identification of useful information from the network;
Convert intercepted data packets into a format that is easy to recognize;
Analyze communication failures in the network environment
Testing the time and process of network communication
Official website:
Http://www.ntop.org/ntop.html
Lab environment and required installation packages:
Centos 5.5 IP: 192.168.20.89
Install apache
Freetype
Libpng
Libpcap
Gdbm
Libart_lgpl
Libtool
Automake
Rrdtool-1.2.27.tar.gz
Ntop-3.3.7.tar.gz
Install
1. build the environment required for ntop.
1) configure yum
# Vi/etc/yum. repos. d/CentOS-Media.repo modify configuration file
C5-media
Name = CentOS-$ releasever-Media
Baseurl = file: // media/CentOS/
File: // mnt/cdrom/change to the disk mount location
File: // media/cdrecorder/
# Mount/dev/cdrom/mnt/cdrom/Attach a CD
# Yum list you can use this command to verify whether the mount is successful. this command lists all RPMs.
2) install the apache service
Install with yum
# Yum install httpd *
 
Total download size: 7.2 M
Is this OK [y/N]: whether to install y, select Y
 
3) install other dependent packages
The installation method is the same and will not be repeated here
Yum install freetype *
Yum install libpng *
Yum install libpcap *
Yum install gdbm *
Yum install libart_lgpl *
# Yum install libtool *
# Yum install automake *
4) install rrdtool-1.2.27.tar.gz
This package can be installed only after the above package is installed. Otherwise, an error message is returned.
# Tar-zxmf rrdtool-1.2.27.tar.gz decompression
#./Configure -- prefix =/usr/local/rrdtool pre-compilation configuration
Make & make install compile and install
 
II. install Ntop
# Tar-zxmf ntop-3.3.7.tar.gz decompression
#./Autogen. sh
#./Configure -- prefix =/usr/local/ntop pre-compilation configuration
# Make & make install compile and install
# Groupadd ntop create ntop Group
# Useradd ntop-g ntop window server an ntop user and add it to the ntop Group
# Chown-R ntop: ntop/usr/local/ntop
# Mkdir/var/ntop create ntop data storage directory
Chown-R ntop: ntop/var/ntop/set permissions
# Cd/usr/local/ntop/bin/find the ntop execution script
 
#./Ntop-A set the password
3. start the service and verify the result.
# Service httpd restart start the apache service first
# Cd/usr/local/ntop/bin/find the ntop execution script
#./Ntop-P/var/ntop/-I eth0-u ntop startup service
Display page:


 
Echo "/usr/local/bin/ntop-P/var/ntop-u ntop">/etc/rc. d/rc. local is set to start upon startup!
The default port is 3000. enter the IP address and port number in the browser.


NTOP-Operation directory overview
① About: online manual.
② Summary: Overall Network Overview.
-Traffic: Traffic.
-Hosts: overview of all Hosts.
-Network Load: Network Load for each time period.
-Netflows: network traffic diagram.
③ IP Summary: traffic status and ranking details of each host.
-Traffic: Traffic Details of all hosts.
-Multicast: multi-point transmission.
-Domain: Domain name.
-Distribution: traffic status.
-Local> Local: Local traffic.
-Local> Remote: external details of all hosts.
-Remote> Local: traffic from the Remote host to the Local host.
-Remote> Remote: traffic from the Remote host to the Remote host.
④ All Protocols: view the bandwidth occupied by each host and network user details for each time period.
-Traffic: Traffic.
-Throughput: bandwidth usage list (click a host to view the detailed information and usage of the host ).
-Activity: traffic status of all hosts in each period (click a host to view the detailed information and usage status of the host ).
⑤ Local IP address: the usage of each host in the Local network.
-Routers: vro status.
-Ports Used: port usage.
-Active TCP Sessions: currently online.
-Host Fingerprint: Host snapshot information.
-Host Characterization: Host description.
-Local Matrix: Traffic Details of hosts in the Local network.
⑥ FC: Optical Network condition.
7. SCSI: SCSI device status.
Administrative Admin: adds NTOP users or restarts to stop NTOP.
Command line
In fact, NTOP can also be used through the command line method. Generally, this is the case for experts, because the modification and addition settings under the command line are very fast, and there are still many operations that cannot be implemented through graphics, it is particularly suitable for remote operations.
Common parameters are as follows.
--D: run the command in the background.
--L: write the output information to the system record file.
--R: set the automatic update frequency of the page. the default value is every 3 seconds.
--W: use other ports (default value: 3000 ).
--W: same as-w, but this is online using SSL.
--U: specify other identities for execution.
--I: specify the NTOP listening network card. "," separates multiple network cards.
--M: when you use-I to specify multiple NICs, the default value is merge statistics. to separate statistics, add this parameter.
--H: Get help information.
 

This article is from the blog "flying birds with wings"

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.