Cacti+nagios Monitoring System (VI): CACTI integration ntop

Source: Internet
Author: User
Tags geoip

N Top is a monitoring network traffic tool

First, installation environment

Cd/root/download

Yum install Libtool libpcap libpcap-devel gdbm gdbm-devel zlib zlib-devel

wget http://mirror01.idc.hinet.net/EPEL/5Server/x86_64/GeoIP-1.4.8-1.el5.x86_64.rpm

wget http://mirror01.idc.hinet.net/EPEL/5Server/x86_64/GeoIP-devel-1.4.8-1.el5.x86_64.rpm

Yum-y--nogpgcheck Localinstall geoip-*.el5.x86_64.rpm

Yum-y--nogpgcheck Localinstall ettercap-*.rpm

Second, installation ntop

useradd-m-s/sbin/nologin-r ntop

wget http://down1.chinaunix.net/distfiles/ntop-4.1.0.tar.gz

Tar zxvf ntop-4.1.0.tar.gz

CD ntop-4.1.0

./autogen.sh

Make

Make install

Chown-r Ntop:ntop/usr/local/share/ntop

Chown-r Ntop:root/usr/local/var/ntop

Third, configuration ntop

1. Set the password for NTOP Admin user

ntop-a

Admin 123456

2. Start ntop

ntop-i eth0-d-l-u ntop

eth0 is your monitor. Network card used to capture traffic

3. Auto-start

Echo ' ntop-i eth0-d-l-u ntop &>/dev/null ' >>/etc/rc.d/rc.local

4. Firewall Add Trust Port 3000

Iptables-i input-p TCP--dport 3000-j ACCEPT

Service Iptables Save

5. Visit the page

http://localhost:3000

Iv. Integration of cacti ntop

Cd/root/download

wget http://docs.cacti.net/_media/plugin:ntop-v0.2-1.tgz

MV Plugin:ntop-v0.2-1.tgz ntop-v0.2-1.tgz

Tar zxvf ntop-v0.2-1.tgz-c/var/www/html/cacti/plugins/

vi/var/www/html/cacti/include/config.php

$plugins [] = ' ntop ';

In plugin Management "Install and enable plugins

In user management, check the view Ntop

Set the URL in Settings, misc:http://localhost:3000

LocalHost can also be switched to the IP address of the monitoring machine


This article is from the "Moon Ching Xing Fei" blog, please be sure to keep this source http://ywzhou.blog.51cto.com/2785388/1532141

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.