Collectd
collectd是一个守护(daemon)进程,用来收集系统性能和提供各种存储方式来存储不同值的机制。比如以RRD 文件形式。
What does collectd do?
当系统运行和存储信息的时候,Collectd会周期性统计系统的相关统计信息。那些信息可以用来找到当前系统性能瓶颈。(如作为性能分析performance analysis)和预测系统未来的load(如能力部署capacity planning).如果你需要美观的图形来显示您的数据,并且已经厌烦了内部解决方案,恭喜您,你找到了正确的地方。
一般来说,一图胜过千言,所以这里显示了某个系统在过去60分钟内的CPU利用率图形。
Why collectd?
在互联网上还有其他的免费,开源的项目类似于collectd的项目。为什么你要选择collectd呢?
和其他项目相比,我们觉得collectd有一些主要的特点:第一,它完全是由C语言编写,故性能很高,可移植性好,它允许运行在
系统没有脚本语言支持或者cron daemon的系统上,比如嵌入式系统。同时,它包含优化以及处理成百上千种数据集的新特性。
collectd包含有超过70多种插件,其中有标准的case到非常特殊和高级的专题。同时,collectd提供强大的网络联网特性,它能
以多种方式来扩充。最后,collectd开发及时同时文档支持也是非常好的。
Limitations:
虽然collectd能够很大程度满足您的管理需求,但是它还是存在一些不足:
-它本身不能生成图形。虽然它能写RRD文件,但是它不能从这些文件生成图形。在contrib/ 目录下包含简单的脚本,可以
看看kcollectd,一个X window前端和drraw,一个非常通用的解决方案。
-监控功能已经被添加到了4.3版本,但是至今它只能进行简单门阀检测。
=======================================================================
visiti http://collectd.org/ to get more information.
collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files .
collectd gathers statistics about the system it is running on and stores this information. Those statistics can then be used to find current performance bottlenecks (i. e. performance analysis ) and predict future system load (i. e. capacity planning ). Or if you just want pretty graphs of your private server and are fed up with some homegrown solution you're at the right place, too ;).
Usually one graph says more than a thousand words, so here's a graph showing the CPU utilization of a system over the last 60 minutes:
There are other free, open source projects that are similar to collectd – a few links are listed on the related sites page. So why should you use collectd ? There are some key differences we think set collectd apart. For one, it's written in C for performance and portability, allowing it to run on systems without scripting language or cron daemon, such as embedded systems. At the same time it includes optimizations and features to handle hundreds of thousands of data sets. It comes with over 70 plugins which range from standard cases to very specialized and advanced topics. It provides powerful networking features and is extensible in numerous ways. Last but not least: collectd is actively developed and supported and well documented. A more complete list of features is available.
While collectd can do a lot for you and your administrative needs, there are limits to what it does:
contrib/
, though. Take a look at kcollectd , an X frontend, and drraw , a very generic solution, though. More utility programs are listed on the related projects page.