Cacti Monitoring platform Building (based on Centos6.7)

Source: Internet
Author: User
Tags php language rrdtool snmp

As a Linux SA, the most important thing in daily life is to ensure the normal and stable operation of the website, we need to monitor the running state of the website and the server in real time, then we need to use open source software (cacti, nagios, Zabbix, etc.) monitoring to realize. Cacti is a PHP language implementation of a software, its main function is to use the SNMP service to obtain data, and then use RRDtool to store and update the data, when the user needs to view the data with the RRDtool to generate a chart presented to the user. Therefore, SNMP and RRDtool are the key to cacti. SNMP is related to the collection of data, RRDtool is related to data storage and chart generation. The SNMP catch data is not stored in MySQL, but exists in the RRDtool generated RRD file (under the Rra folder in the cacti root directory, the RRA suffix is typically the name). The simple schematic diagram is as follows:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/04/wKioL1fRdaLTc-SKAAEyvX_jt-Y755.png-wh_500x0-wm_3 -wmp_4-s_1616648118.png "title=" image 1.png "alt=" Wkiol1frdaltc-skaaeyvx_jt-y755.png-wh_50 "/>

Installation steps:

    1. Install lamp Environment:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/87/04/wKioL1fRd6Cjt8fKAAAKOOzho68012.png "title=" 11.png "alt=" Wkiol1frd6cjt8fkaaakoozho68012.png "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/87/04/wKioL1fRd8-ho-AEAABT_eemT8E813.png-wh_500x0-wm_3 -wmp_4-s_2235272782.png "title=" Qq20160908223749.png "alt=" Wkiol1frd8-ho-aeaabt_eemt8e813.png-wh_50 "/>


2. Installing the RRDtool Collection tool

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/87/04/wKioL1fReUjBuwpRAAAhc1AnThs902.png "style=" float: none; "title=" 13.png "alt=" Wkiol1freujbuwpraaahc1anths902.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/87/06/wKiom1fReUnwHPDrAAAvF7frY18026.png "style=" float: none; "title=" 14.png "alt=" Wkiom1freunwhpdraaavf7fry18026.png "/>

3. Installing the SNMP Service

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/87/06/wKiom1fRedqgDVi6AAAmUN3NZm0020.png "title=" 15.png "alt=" Wkiom1fredqgdvi6aaamun3nzm0020.png "/>

4. Install the cacti main program

Download Cacti Source Package http://www.cacti.net/downloads/cacti-0.8.8a.tar.gz

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/87/06/wKiom1fRf0rzB_kSAAAxeG8IayU943.png-wh_500x0-wm_3 -wmp_4-s_921400541.png "title=" 16.png "alt=" Wkiom1frf0rzb_ksaaaxeg8iayu943.png-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/05/wKioL1fRgXygCGt2AABOBmk1BP8419.png-wh_500x0-wm_3 -wmp_4-s_3954034278.png "title=" 17.png "alt=" Wkiol1frgxygcgt2aabobmk1bp8419.png-wh_50 "/>

5. Create a cacti database


This article is from the "Li Xiaodong" blog, make sure to keep this source http://lixiaodong2016.blog.51cto.com/11693292/1850923

Cacti Monitoring platform Building (based on Centos6.7)

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.