Forwarding: http://baike.baidu.com/view/1358799.htm
Cacti is a set of graphic analysis tools for network traffic monitoring developed based on PHP, MySQL, SNMP, and rrdtool.
Cacti uses snmpget to obtain data and uses rrdtool to draw images. In addition, you do not need to understand the complex parameters of rrdtool. It provides powerful data and user management functions, allowing each user to view the tree structure, host, and any graph, and perform user verification with LDAP, you can also add templates by yourself, which are very powerful and complete. User-friendly.
Cacti
The development of the software cacti is based on making it easier for rrdtool users to use the software. In addition to the basic SNMP traffic and system information monitoring, cacti can also plug-in scripts and add templates to make a variety of monitoring charts. 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.
MySQL and PHPProgramStore and call variable data, such as host name, Host IP address, SNMP group 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 (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.