Disclaimer: this series of documents is from the stone note. If you reprint the documents, please indicate the source. I keep the ownership of the documents and welcome to reprint them.
I,Overview
1. cacti is a software implemented in PHP. Its main function is to use the SNMP service to obtain data and then use rrdtool to store and update data, when you need to view data, use rrdtool to generate charts and present them to users. Therefore, SNMP and rrdtool are the key to cacti. SNMP is related to data collection, and rrdtool is related to data storage and chart generation.
2. MySQL uses PHP programs to store variable data and call variable data, such as host name, Host IP address, SNMP group name, port number, template information, and other variables.
3. SNMP captures data not stored in MySQL, but stored in the RRD file generated by rrdtool (in the RRA folder of the cacti root directory ). Rrdtool updates and stores data as RRD files, and RRD files as round robin archive files ), the number of data records it can store has been defined at the time of creation. For more information about rrdtool, see rrdtool.
II,CactiArchitecture and workflow
1. Cacti Architecture
2.Cacti Workflow
Reprinted: http://blog.sina.com.cn/s/blog_4e424e2101000b5x.html