NTOP Installation and Configuration

Source: Internet
Author: User

Production environment:

Operating system: Centos release 6.6 (Final)

Monitoring network traffic tool: ntop-5.0.1.tar.gz

tasks: compiling and installing ntop software

ntop is a monitoring network traffic tool, with ntop Display network usage is more intuitive and detailed than some other network management software.

1. Check the installation environment: Install the dependent packages

[[Email protected]]# yum–y Install libtool libpcap-devel gdbm-devel gdbm make Pango-devel GD

2. Install the required plugins

[Email protected]]# yum–y libpcap GeoIP RRDtool

3. Compile and install ntop

[Email protected]]# tar zxvf ntop-5.0.1.tar.gz

[[Email protected]]# CD ntop-5.0.1

[[Email protected]]# mv ntop-5.0.1 ntop

[[email protected]] #cd ntop

[[Email Protected]]#./autogen.sh–with-tcpwrap

[[Email protected]]# make && make install

4. Configure ntop

# Useradd NTOP

# password ntop

#cd/usr/local/ntop/var

#chown ntop:ntop ntop

#cpntop/packages/redhat/ntop.conf.sample/usr/local/ntop/etc/ntop/ntop.conf

#vim ntop.conf Note the following fields

--user ntop Run as ntop

--db-file-path/usr/local/ntop/share/ntop Data Storage Directory

--interface eth0 Monitored NIC

–-http-server 3000 Ports running

5. start ntop

#cd/usr/local/ntop/bin

#./ntop–d–p/usr/local/ntop/var/ntop

The NTOP default listener port is 3000, so you can enter http://117.40.239.9:3000 in the browser to view the NTOP monitor screen. Note: Be sure to turn on port 3000 on the firewall or you cannot access it.

650) this.width=650; "Src=" http://s5.51cto.com/wyfs02/M01/78/88/wKioL1Z_i62ARv0QAAODib0m04I351.jpg " Title= "00.jpg" alt= "wkiol1z_i62arv0qaaodib0m04i351.jpg"/>6. Installing the cacti ntop plugin

[[Email protected]~]# cd/var/www/html/cacti/plugins

[Email protected]]# wget http://cactiusers.org/downloads/ntop.tar.gz

[Email protected]]# tar zxvf ntop.tar.gz

Then open the Cacti management console and give the admin "view" ntop permission in the user management-admin-zone. Refresh the cacti and click the NTOP logo next to "console" to see the NTOP monitoring data. Visit: Http://117.40.239.9/cacti, you can view the following:

650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/78/8A/wKiom1Z_jHDBywHsAAPXQuoJpLw538.jpg "title=" 22.jpg "alt=" Wkiom1z_jhdbywhsaapxquojplw538.jpg "/>

Summary:

Installation method:

1, can be installed through Yum, installation is simple, but for beginners, it is not recommended to use this method, the configuration will not do;

2, it is recommended to compile the installation, since the trouble, but the entire configuration and troubleshooting will be a great help.

Operating mode:

1, directly through the address: http://117.40.239.9:3000/

2, through the cacti platform operation: http://117.40.239.9/cacti/

Test results:

1, run slowly, do not know what reason.

2, the initial operation, unable to obtain comprehensive data, the collection of data has a buffer time process.

3, the proposed use of IE browser, 360 browser can not display graphics data.



This article is from the "Linux~dba~mba~eie" blog, make sure to keep this source http://sky9896.blog.51cto.com/2330653/1728764

NTOP Installation and Configuration

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.