免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: joecen
打印 上一主题 下一主题

你还在用mrtg吗?--使用cacti监测系统性能 [复制链接]

rengang 该用户已被删除
421 [报告]
发表于 2005-12-30 00:24 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
422 [报告]
发表于 2006-01-08 21:06 |只看该作者
原帖由 kasper121438 于 2005-12-29 11:18 发表
好文章啊 不过我现在正在学着使用ntop 也是很不错的 而且似乎更加容易上手^_^


ntop的工作原理不一样。ntop是通过抓包来对流量进行统计,而cacti通过snmp。我所以一般将ntop用在网关或独立的机器上。

不过两者都通过rrdtool绘图。

论坛徽章:
0
423 [报告]
发表于 2006-01-13 10:36 |只看该作者
更新:
cacti从0.4.8g版本开始支持mysql5数据库

论坛徽章:
0
424 [报告]
发表于 2006-02-05 15:41 |只看该作者
我用net-snmp的tar包安装,例如net-snmp-5.2.1.tar.gz,安装之后发现没有HOST-RESOURCES-MIB - -!
请教怎样安装才可以?

论坛徽章:
0
425 [报告]
发表于 2006-02-20 11:51 |只看该作者

我在windows 2003上面安装了一套 cacti

但画不出图,很是郁闷???

论坛徽章:
0
426 [报告]
发表于 2006-02-22 11:52 |只看该作者
shell>; ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
运行完我输入
shell>; cd mysql
怎么显示 No such file or directory



我是菜鸟,但也想做个cacti玩下

论坛徽章:
0
427 [报告]
发表于 2006-02-24 15:07 |只看该作者

请教,装完后,rra目录中没有文件

按照LZ的方法安装完毕,没有错误,但是在RRA目录下没有文件,导致在界面上无法显示图片,是何原因?已经用snmpget、snmpwalk试过,可以采集到数据的。

论坛徽章:
0
428 [报告]
发表于 2006-03-02 16:07 |只看该作者
请问怎么生成丢包率的图


怎么设置啊

论坛徽章:
0
429 [报告]
发表于 2006-03-02 16:44 |只看该作者

好贴,顶!!!

好贴,解释了我1年之前的一个疑问!!!

论坛徽章:
0
430 [报告]
发表于 2006-03-03 22:23 |只看该作者
我的CACTI也是安装好之后无法生成图形。查看RRA目录下面没有.rrd文件。手工执行
/usr/local/php/bin/php /usr/local/www/htdocs/cacti/poller.php的时候显示这样的错误:
03/03/2006 08:58:42 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
03/03/2006 08:58:42 PM - SYSTEM STATS: Time:292.9150 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:11 RRDsProcessed:0

Warning: pclose(): 43 is not a valid stream resource in /usr/local/www/htdocs/cacti/lib/rrd.php on line 47

执行snmpwalk -v 2c -c public 127.0.0.1  .1.3.6.1.4.1.2021.11.51.0
响应信息为:
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 1183
不知道是什么问题?
另外想问一下编译PHP的时候是否需要带--with-php-snmp(不大记得是不是了)这样的参数?
还有:
我的CACTI所在目录归属和权限是这样的:
[root@YunFu-DB cacti]# ls -l
总用量 832
-rw-r--r--    1 1000     users        5892  1月  4 11:08 about.php
-rw-r--r--    1 1000     users        4773  1月  4 11:08 auth_changepassword.php
-rw-r--r--    1 1000     users        6189  1月  4 11:08 auth_login.php
-rw-------    1 1000     users      170643  1月  4 11:08 cacti.sql
-rw-r--r--    1 1000     users       13108  1月  4 11:08 cdef.php
-rw-r--r--    1 1000     users       16569  1月  4 11:08 cmd.php
-rw-r--r--    1 1000     users        5917  1月  4 11:08 color.php
-rw-r--r--    1 1000     users        2753  1月  4 11:08 copy_cacti_user.php
-rw-r--r--    1 1000     users       17536  1月  4 11:08 data_input.php
-rw-r--r--    1 1000     users       28164  1月  4 11:08 data_queries.php
-rw-r--r--    1 1000     users       43802  1月  4 11:08 data_sources.php
-rw-r--r--    1 1000     users       30344  1月  4 11:08 data_templates.php
drwxr-xr-x    5 1000     users        4096  1月  4 11:08 docs
-rw-r--r--    1 1000     users        6110  1月  4 11:08 gprint_presets.php
-rw-r--r--    1 1000     users        3423  1月  4 11:08 graph_image.php
-rw-r--r--    1 1000     users       10497  1月  4 11:08 graph.php
-rw-r--r--    1 1000     users        6319  1月  4 11:08 graph_settings.php
-rw-r--r--    1 1000     users       11945  1月  4 11:08 graphs_items.php
-rw-r--r--    1 1000     users       30752  1月  4 11:08 graphs_new.php
-rw-r--r--    1 1000     users       46835  1月  4 11:08 graphs.php
-rw-r--r--    1 1000     users       10097  1月  4 11:08 graph_templates_inputs.php
-rw-r--r--    1 1000     users       17367  1月  4 11:08 graph_templates_items.php
-rw-r--r--    1 1000     users       22578  1月  4 11:08 graph_templates.php
-rw-r--r--    1 1000     users       23122  1月  4 11:08 graph_view.php
-rw-r--r--    1 1000     users       33450  1月  4 11:08 host.php
-rw-r--r--    1 1000     users       14236  1月  4 11:08 host_templates.php
drwxr-xr-x    2 1000     users        4096  1月  4 11:08 images
drwxr-xr-x    5 1000     users        4096  2月 27 13:51 include
-rw-r--r--    1 1000     users        2271  1月  4 11:08 index.php
drwxr-xr-x    2 1000     users        4096  1月  4 11:08 install
drwxr-xr-x    3 1000     users        4096  1月  4 11:08 lib
-rw-r--r--    1 1000     users       15141  1月  4 11:08 LICENSE
drwxr-xr-x    2 cactiuser users        4096  1月  4 11:08 log
-rw-r--r--    1 1000     users        1796  1月  4 11:08 logout.php
-rw-r--r--    1 1000     users        4673  1月  4 11:08 poller_commands.php
-rw-r--r--    1 1000     users        2325  1月  4 11:08 poller_export.php
-rw-r--r--    1 1000     users        9441  1月  4 11:08 poller.php
-rw-r--r--    1 1000     users        4343  1月  4 11:08 poller_reindex_hosts.php
-rw-r--r--    1 1000     users          71  1月  4 11:08 README
-rw-r--r--    1 1000     users        4170  1月  4 11:08 rebuild_poller_cache.php
drwxr-xr-x    5 1000     users        4096  1月  4 11:08 resource
drwxr-xr-x    2 cactiuser users        4096  1月  4 11:08 rra
-rw-r--r--    1 1000     users        6622  1月  4 11:08 rra.php
drwxr-xr-x    2 1000     users        4096  1月  4 11:08 scripts
-rw-r--r--    1 1000     users        6760  1月  4 11:08 script_server.php
-rw-r--r--    1 1000     users         353  1月  4 11:08 script_server.pl
-rw-r--r--    1 1000     users        4833  1月  4 11:08 settings.php
-rw-r--r--    1 1000     users        6813  1月  4 11:08 templates_export.php
-rw-r--r--    1 1000     users        5954  1月  4 11:08 templates_import.php
-rw-r--r--    1 1000     users       17463  1月  4 11:08 tree.php
-rw-r--r--    1 1000     users       27829  1月  4 11:08 user_admin.php
-rw-r--r--    1 1000     users       11388  1月  4 11:08 utilities.php
是否有问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP