Server Centralized detection cacti

Source: Internet
Author: User
Tags php language mysql rrd rrdtool snmp mysql database port number root directory

I. Overview of CACTI

1. Cacti is a software implemented in the PHP language, its main function is to use the SNMP service to obtain the data, and then use RRDtool to store and update the data, when the user needs to view the data, use RRDtool to generate the graph to present to the user. Therefore, SNMP and RRDtool are the key to cacti. SNMP is related to the  and RRDtool is related to the data storage and graph generation.

2. mysql with PHP program to store some variable data and the variable data to call, such as: Host name, host IP, SNMP community name, port number, template information and other variables.

3. SNMP  is not stored in MySQL, but exists in the RRDtool-generated RRD file (under the Rra folder in the cacti root directory). RRDtool Update and storage of data is the processing of RRD files, rrd files are fixed-size files (Round Robin Archive), and the number of data pens it can store is defined at the time of creation.

1> Configuration Lamp Environment

2> installation RRDtool and NET-SNMP

3> installation Cacti

4> configuration Cacti

5> Configure cacti Connection database

6 > Configure Cron Scheduled Tasks

7 > Configuration power-on Self-starter

8> Test

1> Configuration Lamp Environment

A. Install Apache

It's directly yum.


B. Installing the MySQL database

Yum-y install MySQL mysql-server mysql-devel



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.