CentOS 5.5 Consolidated Cacti+monitor+told+ntop Deployment

Source: Internet
Author: User
Tags rrdtool snmp centos

Environment:

Centos5.5 ip:192.168.100.153 Cacti

Centos5.5 ip:192.168.100.151 DNS

Demand:

Deployment Cacti+monitor+told+ntop can monitor deployment properly

Implement:

First, early deployment

1, first of all to ensure that lamp can be normal operation, we use the source to install the relevant installation specific to see our lamp deployment. Of course, you can also use the RPM or Yum installation ~

Ensure lamp is installed properly or yum install yum install-y php php-mysql php-snmp mysql mysql-server net-snmp net-snmp-libs net-snmp-utils php-pdo pe Rl-dbd-mysql Red regardless of our source code installation lamp is RPM or yum need to install;

2, to ensure that DNS can resolve our cacti server. Add a record;

Ii. deployment of cacti;

1, the installation of SNMP, we use Yum installation, relatively dependent on the package more than we directly yum to install it; clients also need to install NET-SNMP net-snmp-libs

Yum–y Install NET-SNMP net-snmp-libs net-snmp-utils PHP-SNMP

2. After installation, we edit the SNMP profile and restart the service.

Vim/etc/snmp/snmp.conf Modify three lines

Com2sec Notconfiguser 192.168.100.153 Public to modify the IP address of the cost machine

Access Notconfiggroup "" Any noauth exact none none modified to all

View all included 1 80 remove the front "#" number

Service SNMPD Restart

3. Compile and install rrdtool files

Extract Tar zxf rrdtool-1.2.30.tar.gz

Enter RRDtool

./configure does not need to be installed with the installation directory by default

Make && make install edit complete

If compilation fails

[Root@localhost cacti+ntop+awstats]# tar zxvf cgilib-0.5.tar.gz

[Root@localhost cgilib-0.5]# make

[Root@localhost cgilib-0.5]# CP Libcgi.a/usr/local/lib

[Root@localhost cgilib-0.5]# CP cgi.h/usr/include/

[root@localhost cacti+ntop+awstats]# yum-y Install Libart_lgpl-devel pango-devel (if not available)

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.