免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
191 [报告]
发表于 2005-09-12 16:24 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

文件有了!发现不能采集到数据

[root@localhost net-snmp-5.2.1.2]# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0
Timeout: No Response from 127.0.0.1
[root@localhost net-snmp-5.2.1.2]# snmpget -v 2c -c public 192.168.0.1 .1.3.6.1.4.1.2021.11.52.0
Timeout: No Response from 192.168.0.1.

我重新检查了一次!麻烦指教


[root@localhost log]# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1258897
[root@localhost log]# snmpget -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1258954
[root@localhost log]#

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
192 [报告]
发表于 2005-09-12 19:00 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

[root@localhost log]# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1258897
[root@localhost log]# snmpget -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1258954
[root@localhost log]#


论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
193 [报告]
发表于 2005-09-13 08:15 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

顶一下!嘻嘻!发现现在用这个朋友是不是都不在呢?

论坛徽章:
0
194 [报告]
发表于 2005-09-13 11:24 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

[quote]原帖由 "枫影谁用了"]alhost log]#[/quote 发表:


what' s up ?
不明白你有什么问题。

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
195 [报告]
发表于 2005-09-13 13:52 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

原帖由 "joecen" 发表:


what' s up ?
不明白你有什么问题。


不好意思!我没有表达清楚 !
cacti可以建立超來, 但當我登入cacti後, 所有圖表都不能顯示, 出現x號, 請問我的cacti錯誤在那呢?

我已把 cacti php下的所有檔案chown 為777
在/cacti/rra目录为空!

我也照 你的方法做过,打开cacti以后,点data-sources ,然后选择一个再点右上角的turn on 。。。。。可是在rra目录依然为,空但當我登入cacti後, 所有圖表都不能顯示, 出現x號。

呵呵!我看了前面的贴,可是还没有解决,麻烦请指教!谢谢!

[root@localhost log]# snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 1353409
[root@localhost log]#

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
196 [报告]
发表于 2005-09-13 13:56 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

就是这个情况!谢谢!

error_66041124177004.jpg (70.5 KB, 下载次数: 8)

error_66041124177004.jpg

论坛徽章:
0
197 [报告]
发表于 2005-09-13 14:07 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

chown cactiuser.root rra log

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
198 [报告]
发表于 2005-09-13 14:27 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

原帖由 "kingnetwork"]chown cactiuser.root rra log[/quote 发表:


不好意思!结果还是一样!请问还有没有其它地方要注意的?

[quote][yushin@localhost cacti]$ ls -l
总用量 796
-rw-rw-r--  1 root      root   5892  9月  9 07:56 about.php
-rw-rw-r--  1 root      root   4773  9月  9 07:56 auth_changepassword.php
-rw-rw-r--  1 root      root   6171  9月  9 07:56 auth_login.php
-rw-rw-r--  1 root      root 170636  9月  9 07:56 cacti.sql
-rw-rw-r--  1 root      root  13108  9月  9 07:56 cdef.php
-rw-rw-r--  1 root      root  16145  9月  9 07:56 cmd.php
-rw-rw-r--  1 root      root   5917  9月  9 07:56 color.php
-rw-rw-r--  1 root      root  17536  9月  9 07:56 data_input.php
-rw-rw-r--  1 root      root  28158  9月  9 07:56 data_queries.php
-rw-rw-r--  1 root      root  43780  9月  9 07:56 data_sources.php
-rw-rw-r--  1 root      root  27183  9月  9 07:56 data_templates.php
drwxrwxr-x  5 root      root   4096  9月 12 11:27 docs
-rw-rw-r--  1 root      root   6110  9月  9 07:56 gprint_presets.php
-rw-rw-r--  1 root      root   3423  9月  9 07:56 graph_image.php
-rw-rw-r--  1 root      root  10657  9月  9 07:56 graph.php
-rw-rw-r--  1 root      root   6319  9月  9 07:56 graph_settings.php
-rw-rw-r--  1 root      root  11757  9月  9 07:56 graphs_items.php
-rw-rw-r--  1 root      root  30676  9月  9 07:56 graphs_new.php
-rw-rw-r--  1 root      root  46496  9月  9 07:56 graphs.php
-rw-rw-r--  1 root      root  10091  9月  9 07:56 graph_templates_inputs.php
-rw-rw-r--  1 root      root  17359  9月  9 07:56 graph_templates_items.php
-rw-rw-r--  1 root      root  19411  9月  9 07:56 graph_templates.php
-rw-rw-r--  1 root      root  23120  9月  9 07:56 graph_view.php
-rw-rw-r--  1 root      root  30855  9月  9 07:56 host.php
-rw-rw-r--  1 root      root  14232  9月  9 07:56 host_templates.php
drwxrwxr-x  2 root      root   4096  9月 12 11:27 images
drwxrwxr-x  5 root      root   4096  9月 12 11:57 include
-rw-rw-r--  1 root      root   2271  9月  9 07:56 index.php
drwxrwxr-x  2 root      root   4096  9月 12 11:27 install
drwxrwxr-x  3 root      root   4096  9月 12 11:27 lib
-rw-rw-r--  1 root      root  15141  9月  9 07:56 LICENSE
drwxrwxrwx  2 cactiuser root   4096  9月 12 11:27 log
-rw-rw-r--  1 root      root   1796  9月  9 07:56 logout.php
-rw-rw-r--  1 root      root   4277  9月  9 07:56 poller_commands.php
-rw-rw-r--  1 root      root   2325  9月  9 07:56 poller_export.php
-rw-rw-r--  1 root      root   8561  9月  9 07:56 poller.php
-rw-rw-r--  1 root      root     71  9月  9 07:56 README
drwxrwxr-x  5 root      root   4096  9月 12 11:27 resource
drwxrwxrwx  2 cactiuser root   4096  9月 12 11:27 rra
-rw-rw-r--  1 root      root   6622  9月  9 07:56 rra.php
drwxrwxr-x  2 root      root   4096  9月 12 11:27 scripts
-rw-rw-r--  1 root      root   6760  9月  9 07:56 script_server.php
-rw-rw-r--  1 root      root    353  9月  9 07:56 script_server.pl
-rw-rw-r--  1 root      root   4833  9月  9 07:56 settings.php
-rw-rw-r--  1 root      root   6813  9月  9 07:56 templates_export.php
-rw-rw-r--  1 root      root   5843  9月  9 07:56 templates_import.php
-rw-rw-r--  1 root      root  17461  9月  9 07:56 tree.php
-rw-rw-r--  1 root      root  28117  9月  9 07:56 user_admin.php
-rw-rw-r--  1 root      root  10913  9月  9 07:56 utilities.php
[yushin@localhost cacti]$  

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
199 [报告]
发表于 2005-09-13 15:06 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

我再顶一下       

论坛徽章:
1
白银圣斗士
日期:2015-11-23 08:33:04
200 [报告]
发表于 2005-09-13 18:03 |只看该作者

你还在用mrtg吗?--使用cacti监测系统性能

我再顶一下吧!嘻嘻!莫怪!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP