找回密码
 立即注册
OA系统 2022-06-26 50 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
1.cacti是用php语言实现的一个软件,它的主要功能是用snmp服务获取数据,然后用rrdtool储存和更新数据,当用户需要查看数据的时候用rrdtool生成图表呈现给用户。因此,snmp和rrdtool是cacti的关键。Snmp关系着数据的收集,rrdtool关系着数据存储和图表的生成。2.Mysql配合PHP程序存储一些变量数据并对变量数据进行调用,如:主机名、主机ip、snmp团体名、端口号、模板信息等变量。3.snmp抓到数据不是存储在mysql中,而是存在rrdtool生成的rrd文件中(在cacti根目录的rra文件夹下)。rrdtool对数据的更新和存储就是对rrd文件的处理,rrd文件是大小固定的档案文件(RoundRobinArchive),它能够存储的数据笔数在创建时就已经定义。关于RRDTool的知识请参阅RRDTool教学。

(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.)

[下载]15584327592.rar




上一篇:iperf命令
下一篇:TCPView 3.0免费的端口和线程监控工具汉化