免费注册 查看新帖 |

Chinaunix

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

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

论坛徽章:
0
451 [报告]
发表于 2006-06-26 16:11 |只看该作者
Console -> Create New Graphs
*Create Graphs for this Host

Data Query [ucd/net - Get Monitored Partitions]   

This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information.

Data Query Debug Information

+ Running data query [2].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/net-snmp_disk.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.2021.9.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/net-snmp_disk.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/net-snmp_disk.xml'
+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/net-snmp_disk.xml'



这个是为什么,不能显示图形,但是能监控WIN的,谢谢

论坛徽章:
0
452 [报告]
发表于 2006-06-29 12:21 |只看该作者
原帖由 xiangxiaobao 于 2006-6-26 16:11 发表
Console -> Create New Graphs
*Create Graphs for this Host

Data Query [ucd/net - Get Monitored Partitions]   

This data query returned 0 rows, perhaps there was a problem executing this  ...


不能获取snmp信息,应该是你的snmp设置没有允许其取得该OID的信息。

论坛徽章:
0
453 [报告]
发表于 2006-06-29 12:44 |只看该作者
若我想让 snmp 多抓取一些自己定义的信息,可以通过修改 snmp 服务器端的 MIB 库来实现对 OID 节点信息的扩充?
liaozhigang 该用户已被删除
454 [报告]
发表于 2006-06-29 15:39 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
455 [报告]
发表于 2006-06-30 09:05 |只看该作者

C:\cacti>php poller.php 出错 请大家帮忙 谢谢

cacti安装完了,web界面看到的图为 X,图显示不出来。到目录里一看没有产生rrd文件  php poller.php结果一看,显示信息如下,请各位朋友会诊一下.  谢谢     

--------------------------------------------------------------------------------


C:\cacti>php poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
C:/net-snmp/etc/snmp/snmp.conf: line 2: Warning: Unknown token: persistentDir.
C:/net-snmp/etc/snmp/snmp.conf: line 3: Warning: Unknown token: tempFilePattern.

Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
C:/net-snmp/etc/snmp/snmp.conf: line 2: Warning: Unknown token: persistentDir.
C:/net-snmp/etc/snmp/snmp.conf: line 3: Warning: Unknown token: tempFilePattern.

X-Powered-By: PHP/4.4.3RC1
Content-type: text/html

06/29/2006 04:00:55 PM - SYSTEM STATS: Time: 14.9928 s, Method: cmd.php, Process
es: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4

------------------
snmp.conf 文件信息
C:\net-snmp\etc\snmp>more snmp.conf

mibdirs C:/net-snmp/share/snmp/mibs
persistentDir C:/net-snmp/snmp/persist
tempFilePattern C:/net-snmp/temp/snmpdXXXXXX


snmpwalk -v 2c -c public 192.168.0.1 是能取到信息的


相关的路径设置信息 ,不知道对不对 是这个符号 吗 / ?

--------------------------------------------------------------------------------
mail:cnsecurity@gmail.com

论坛徽章:
0
456 [报告]
发表于 2006-06-30 09:41 |只看该作者

cacti可以取到本机器的信息,但取不到交换机的

cacti取本机的信息的时候,能画的图也就是能画那几个仅有的Graph template ,如果是画次换机的端口的流量怎么增加 图表模板呢?
还有就是可不可以基于ip地址画流量图呢?我觉得这个要在次换机上设置的吧?
  还请高手指点一二。

论坛徽章:
0
457 [报告]
发表于 2006-07-05 18:20 |只看该作者
太好了`~`~正需要,,多谢楼主..

论坛徽章:
0
458 [报告]
发表于 2006-07-07 10:28 |只看该作者
原帖由 joecen 于 2006-6-29 12:21 发表


不能获取snmp信息,应该是你的snmp设置没有允许其取得该OID的信息。


snmp信息如何配置才能允许其取得该OID的信息呢?

论坛徽章:
0
459 [报告]
发表于 2006-08-21 17:07 |只看该作者
如果想给cacti增加报警功能该从那里下手?

论坛徽章:
0
460 [报告]
发表于 2006-08-25 22:06 |只看该作者
原帖由 platinum 于 2006-6-29 12:44 发表
若我想让 snmp 多抓取一些自己定义的信息,可以通过修改 snmp 服务器端的 MIB 库来实现对 OID 节点信息的扩充?


(好久没上cu了。)

不需要修改mib这么麻烦,open-snmp的配置文件中可以定义自己的oid。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP