Cacti studied for some time, the middle encountered some problems, and eventually set up. Write down your own installation process so that you don't forget to review the data again. At the same time also provide to interested friends!
I. Introduction to CACTI
Three. Cacti working principle
Four. Interpretation of nouns
1. Rrdtools
Use RRDtool to store and process data that is collected through SNMP. This data is most likely the number of bytes (bits) received or sent by a network or computer. It can also be used to show tidal waves, rays of sunlight, power consumption, visitors to the show, noise levels near the airport, the temperature of your favorite resorts, the temperature of refrigerators, and anything you can imagine.
The most you need is a metric, and a sensor that can provide the data to RRDtool. RRDtool lets you create databases, store data, extract data, and create images in PNG format that is displayed in a Web browser. These PNG images since the data you collect, it can be the network average usage, peak.
2.RRD
Round Robin Database Ring
3.SNMP
SNMP (Simple network Management protocal) is an important role in the monitoring subsystem of the architecture system. Basically, the basic principle is that each monitored host or node (such as a switch) runs an agent that collects all the relevant information about the node and listens for SNMP port, which is UDP 161, and receives instructions from the monitoring host (query and settings) from this port.
If the RHEL5 net-snmp is used, then the monitored host needs to install NET-SNMP (including the SNMPD agent), and the monitor side needs to install Net-snmp-utils. If you compile yourself, you need a library of Beecrypt (Libbeecrypt) and Elf (libraryelf).
Each agent maintains a tree-shaped database called MID (Management information Base, management information base), each of which is called the Object Identifier (OID), which is used in net-snmp-utils Tools. These nodes represent the host system's devices such as interface description (eth0, etc.), Physical address (MAC), interface type, etc., may be system information, or need to monitor the process, etc. ...