Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1231774
  • 博文数量: 135
  • 博客积分: 10576
  • 博客等级: 上将
  • 技术积分: 1670
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-11 20:49
个人简介

不疯魔,不成活! --疯魔老杨(Crazy.LaoYang) http://www.inotes.cn/

文章分类

全部博文(135)

文章存档

2014年(4)

2012年(13)

2011年(5)

2010年(30)

2009年(56)

2008年(27)

分类: LINUX

2009-04-08 22:18:11

原文 :
 
About Cacti
Cacti is a complete network graphing solution designed to harness the power of 's data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.
关于Cacti
Cacti是一个通过利用RRETool的数据存储和图形生成功能来实现的完整网络图形解决方案 。Cacti提供快速的轮询器、高级的图形模板、多种数据获得方法、和很方便(开箱即用)的用户管理部件。这些都可以很直观的、有很容易的接口来旨做从LAN的设备到由几百台设备的复杂网络的场景。
 

What is Cacti?
Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.
什么是Cacti?
Cacti是RRDTool的一个完整前端,它存储创建图形所有需要的信息资料,而且将其植入Mysql数据库。前端完全是PHP驱动的。除了用于维护图表,数据源和数据库中的轮询文档,Cacti还可以进行数据采集。同样用SNMP支持来进行MRTG的创建流量图。

 

Data Sources
To handle data gathering, you can feed cacti the paths to any external script/command along with any data that the user will need to "fill in", cacti will then gather this data in a cron-job and populate a MySQL database/the round robin archives.

Data Sources can also be created, which correspond to actual data on the graph. For instance, if a user would want to graph the ping times to a host, you could create a data source utilizing a script that pings a host and returns it's value in milliseconds. After defining options for RRDTool such as how to store the data you will be able to define any additional information that the data input source requires, such as a host to ping in this case. Once a data source is created, it is automatically maintained at 5 minute intervals.

数据源
对于数据采集,除了用户需要填入的一些数据,你可以写入外挂脚本/命令到Cacti中相应的路径,Cacti将按“设计的工作”采集数据并将数据植入Mysql数据库/轮询文档中。

数据源也可以被创建,相当于在图表中的实际数据。例如,如果一个用户想绘制一个主机的Ping的时间图,你可以利用ping主机的脚本创建数据源来返回毫米的值。之后定义RRDTool的选项,例如,你可以定义一些数据输入源所需要的附加信息来决定如何存储数据,如在这个例子中对于主机的ping。一但一个数据源被创建,它每5分钟自动进行维护。


Graphs

Once one or more data sources are defined, an RRDTool graph can be created using the data. Cacti allows you to create almost any imaginable RRDTool graph using all of the standard RRDTool graph types and consolidation functions. A color selection area and automatic text padding function also aid in the creation of graphs to make the process easier.

Not only can you create RRDTool based graphs in cacti, but there are many ways to display them. Along with a standard "list view" and a "preview mode", which resembles the RRDTool frontend 14all, there is a "tree view", which allows you to put graphs onto a hierarchical tree for organizational purposes.
图形
一旦一个或多个数据源被定义,就可以用这些数据来创建RRDTool图表了。Cacti几乎允许你用所有标准的RRDTool图形和合并功能来创建你所可以想象的RRDTool图形。一个有色的选区和自动文本填充功能也辅助你使得创建图形的过程更容易。

在Cacti中,你不仅可以创建RRDTool基本图表,而且有多种方法显示它们。除了用标准的“列表视图”和“预览模式”,这类似RRDTool前端,有一种“树形视图”,它允许你按自己的组织意图将图形加入到一个分层级的树结构中。

User Management
Due to the many functions of cacti, a user based management tool is built in so you can add users and give them rights to certain areas of cacti. This would allow someone to create some users that can change graph parameters, while others can only view graphs. Each user also maintains their own settings when it comes to viewing graphs.

用户管理
由于Cacti功能丰富,其内置了一个用户管理工具,以便你可以添加用户并给他们分配可控区域。这允创建可以改变图形参数的一些用户,每个用户对所辖视图维护他们自己的设置。

Templating
Lastly, cacti is able to scale to a large number of data sources and graphs through the use of templates. This allows the creation of a single graph or data source template which defines any graph or data source associated with it. Host templates enable you to define the capabilities of a host so cacti can poll it for information upon the addition of a new host.

模板
最后,Cacti能够通过模板比例规范大量的数据源和图形。允许创建单一图表或数据源模板来定义任何图形和或数据源,并进行关联。主机模板能定义主机的能力,以致于Cacti能轮询模板上的信息到一个新增加的主机上。
阅读(1531) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~