(1.cacti is a software implemented in PHP language. Its main function is to use SNMP service to obtain data, and then use RRDTOOL to store and update data. When users 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 cooperates with PHP program to store some variable data and call variable data, such as host name, host IP, SNMP community name, port number, template information and other variables. 3. The SNMP data is not stored in mysql, but in the RRD file generated by RRDTOOL (under the RRA folder of the cacti root directory). RRDTOOL processes RRD files by updating and storing data. RRD files are roundrobinarchive files with a fixed size. The number of data transactions it can store has been defined at the time of creation. For the knowledge of RRDTOOL, please refer to RRDTOOL teaching.)