找回密码
 立即注册
家庭/个人应用 2022-08-30 106 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
是通过snmpget来获取数据,使用RRDtool绘画图形,而且你完全可以不需要理解RRDtool复杂的参数。它提供了非常强大的数据和用户管理功能,可以指定每一个用户能查看树状结构、H/OST以及任何一张图,还可以与LDAP结合进行用户验证,同时也能自己增加模板,功能非常强大完善。界面友好。软件Cacti的发展是基于让RRDTool使用者更方便使用该软件,除了基本的Snmp流量跟系统资讯监控外,Cacti也可外挂Scripts及加上Templates来作出各式各样的监控图。cacti是用php语言实现的一个软件,它的主要功能是用snmp服务获取数据,然后用rrdtool储存和更新数据,当用户需要查看数据的时候用rrdtool生成图表呈现给用户。因此,snmp和rrdtool是cacti的关键。Snmp关系着数据的收集,rrdtool关系着数据存储和图表的生成。Mysql配合PHP程序存储一些变量数据并对变量数据进行调用,如:主机名、主机ip、snmp团体名、端口号、模板信息等变量。snmp抓到数据不是存储在mysql中,而是存在rrdtool生成的rrd文件中(在cacti根目录的rra文件夹下)。rrdtool对数据的更新和存储就是对rrd文件的管理,rrd文件是大小固定的档案文件(RoundRobinArchive),它能够存储的数据笔数在创建时就已经定义。

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

[下载]16072048739.rar




上一篇:神码防火墙设备
下一篇:ISE无线场景配置指南