Netexpert FAQ 网络分析专家学习建议入口 @netexpert成员申请指南
网络分析时代 netexpert积分规则的说明 Netis招贤纳士(2008年11月22日更新)
发新话题
打印

请高手不吝赐教:CACTI 无法监测华为8500系列交换机

请高手不吝赐教:CACTI 无法监测华为8500系列交换机

本人菜鸟.刚刚学习CACTI.
Cacti Version 0.8.7b
Cacti OS win2003
当我Host Template 选择UCD/NET SNMP HOST
SNMP Version 选择 V2
SNMP - Interface Statistics Success [0 Items, 0 Rows]
debugging后显示:
Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'

然而,我手工跑snmpwalk时,显示:
C:\net-snmp\bin>snmpwalk -v 2c -c public 61.*.*.1 .1.3.6.1.2.1.2.2.1.1
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.17 = INTEGER: 17
IF-MIB::ifIndex.25 = INTEGER: 25
IF-MIB::ifIndex.33 = INTEGER: 33
IF-MIB::ifIndex.41 = INTEGER: 41
IF-MIB::ifIndex.49 = INTEGER: 49
IF-MIB::ifIndex.57 = INTEGER: 57
IF-MIB::ifIndex.65 = INTEGER: 65
IF-MIB::ifIndex.73 = INTEGER: 73
IF-MIB::ifIndex.81 = INTEGER: 81
IF-MIB::ifIndex.89 = INTEGER: 89
IF-MIB::ifIndex.97 = INTEGER: 97
IF-MIB::ifIndex.105 = INTEGER: 105
IF-MIB::ifIndex.113 = INTEGER: 113
IF-MIB::ifIndex.121 = INTEGER: 121
IF-MIB::ifIndex.129 = INTEGER: 129
IF-MIB::ifIndex.137 = INTEGER: 137
IF-MIB::ifIndex.145 = INTEGER: 145
IF-MIB::ifIndex.153 = INTEGER: 153
IF-MIB::ifIndex.161 = INTEGER: 161
IF-MIB::ifIndex.169 = INTEGER: 169
IF-MIB::ifIndex.177 = INTEGER: 177
IF-MIB::ifIndex.185 = INTEGER: 185
IF-MIB::ifIndex.193 = INTEGER: 193
IF-MIB::ifIndex.402653198 = INTEGER: 402653198
IF-MIB::ifIndex.402653200 = INTEGER: 402653200
IF-MIB::ifIndex.402653622 = INTEGER: 402653622
IF-MIB::ifIndex.402694198 = INTEGER: 402694198
IF-MIB::ifIndex.402694202 = INTEGER: 402694202
IF-MIB::ifIndex.872415241 = INTEGER: 872415241
IF-MIB::ifIndex.872415249 = INTEGER: 872415249
IF-MIB::ifIndex.872415257 = INTEGER: 872415257
IF-MIB::ifIndex.872415265 = INTEGER: 872415265

当我把Host Template 改成 generic SNMP-enabled host 后,
debugging SNMP-Interface,显示:
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='61.*.*.1'] index: 402653622 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 402653200 [from regexp oid parse]
+ Found item [ifIP='127.255.255.254'] index: 402653210 [from regexp oid parse]
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/AppServ/www/cacti/resource/snmp_queries/interface.xml'
只显示了ifIP的3个信息.
这个是哪里出问题了吗>?
还是我的host temperlate选择有问题.如果有问题,我该如何自己定义一个适合华为的temperlate呢。

请各位高手给我指条明路吧..

TOP

我用MRTG 也没法收到8500交换机的信息,同样配置 在3900上就是可以,无语问苍天。。。。。。

TOP

华为和问题把SNMP修改成为SNMP Verison All看能不能解决吧。
H3C是对后期的产品的MIB作了修改。比如75/95
8500的话以前用Solarwinds读取过一些信息,后来的就没试过了。
个人建议,检查一下版本文件,如果条件允许改一个2007。5月之前发布的版本。那个时候H3C应该没有对版本作太大的修改。只是建议

TOP

发新话题
版块跳转