(It is to obtain data through snmpget, use RRDtool to draw graphics, and you don't need to understand the complex parameters of RRDtool at all. It provides very powerful data and user management functions. It can specify that each user can view the tree structure, H/OST and any graph. It can also be combined with LDAP for user authentication, and can also add templates by itself. Powerful and perfect. Friendly interface. The development of the software Cacti is based on making it easier for RRDTool users to use the software. In addition to basic Snmp traffic and system information monitoring, Cacti can also plug in Scripts and add Templates to make various monitoring graphs. 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 the data. When the user needs to view the data, use rrdtool to generate a chart and present it to the user. So snmp and rrdtool are the keys to cacti. Snmp is related to data collection, and rrdtool is related to data storage and graph generation. Mysql cooperates with the PHP program to store some variable data and call the variable data, such as: host name, host ip, snmp community name, port number, template information and other variables. The data captured by snmp is not stored in mysql, but in the rrd file generated by rrdtool (under the rra folder of the cacti root directory). The update and storage of data by rrdtool is the management of the rrd file. The rrd file is an archive file with a fixed size (RoundRobinArchive), and the number of data entries it can store has been defined when it is created.)