找回密码
 立即注册
monitoring监控RRDtoolCacti | 邮电通讯系统 2022-06-28 63 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
Cacti是一种利用RRDtool、snmp、PHP、mysql、apache多种工具而成的一种监控软件,其源代码基于PHP脚本编写并公开,它的基本工作流程就是:1.定期执行php脚本代码,通过snmp读取指定监控项目的snmp信息,然后将结果保存到rrdtool数据文件中。2.在web监控界面中通过php读取rrdtool并生成指定监控项目和指定时间段的监控曲线图。它主要有以下一些特点:1.基于RRDtool使效率提高。Cacti基于RRDtool存储监控数据,在查询指定时间段的监控数据时候不用浏览整个数据文件,和mrtg的文本log相比具有更高的效率。监控曲线图片的生成并不想mrtg那样和数据采集同步并定时成生,而是通过RRDtool提供的图片生成工具使用PHP脚本来生成动态web图片。2.监控项目曲线图多样化。RRDtool的图片生成工具提供了多种参数,这样可以动态设置更多样式的曲线图,也可以将若干监控项目集中显示在一张图片中,例如我们如果要同时显示http/ftp/dns多种协议的流量时就可以派上用场了。当然,其他如颜色,曲线样式,图片大小格式,说明文字等都可以定制产生。另外最大的一个改进功能是定时时间段的曲线图生成,突破了mrtg中日周月年的固定模式。3.基于web配置与监控,操作简单Cacti是一种web方式的软件,监控项目的新建、配置、管理、监控都是基于web方式来操作的,这对于使用者来说是非常方便。一、背景二、MRTG与Cacti比较三、软件安装四、软件配置五、设置Cacti监控网络设备六、关于不出图的几点原因总结Cacti相关资料

(Cacti is a monitoring software using RRDTOOL, SNMP, PHP, MySQL and Apache. Its source code is written and published based on PHP script. Its basic workflow is as follows: 1. execute PHP script code regularly, read SNMP information of specified monitoring items through SNMP, and then save the results to RRDTOOL data file. 2. in the web monitoring interface, read the RRDTOOL through PHP and generate the monitoring graph of the specified monitoring items and the specified time period. It mainly has the following characteristics: 1. improve the efficiency based on RRDTOOL. Cacti stores monitoring data based on RRDTOOL. It does not need to browse the entire data file when querying monitoring data in a specified time period. Compared with the text log of MRTG, cacti has higher efficiency. The generation of monitoring curve images is not synchronized with data collection and generated regularly like MRTG, but uses php script to generate dynamic web images through the image generation tool provided by RRDTOOL. 2. monitor the diversification of project curve. The RRDTOOL's image generation tool provides a variety of parameters, so that you can dynamically set more styles of graphs, or display several monitoring items in one image. For example, if you want to display the traffic of multiple http/ftp/dns protocols at the same time, it can be used. Of course, others such as color, curve style, image size format, and explanatory text can be customized. In addition, one of the biggest improvements is the generation of curve graph in fixed time period, which breaks through the fixed mode of day, week, month and year in MRTG. 3. web based configuration and monitoring, easy operation cacti is a web-based software. The creation, configuration, management and monitoring of monitoring items are all based on Web, which is very convenient for users. 1、 Background II. Comparison between MRTG and cacti III. software installation IV. software configuration v. setting cacti monitoring network equipment VI. summary of cacti related data on several reasons for not drawing)

[下载]16410555394.rar




上一篇:动态ip的捕获
下一篇:[私人珍藏]网管必备-各种脚本集合