CactiIt is a graphic analysis tool for network traffic monitoring. It combines LAMP functions for network traffic monitoring and is very convenient to operate! Let's get to know about Cacti and Its workflow.
I. Introduction
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.