[Solved] Quidway8500Series can't cacti

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

[Solved] Quidway8500Series can't cacti

Post by feelgirl »

I'am use Cacti to Supervise and control Quidway8500Series switch.
when I use the Template under screan,I can't see The SNMP - Interface Statistics .
But Quidway6500Series,is OK,graph can view.
My system is windows2003
I need help!

Debuging informaiton:
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'
+ 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'
+ 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'
+ 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'
+ 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'
Attachments
edit.JPG
edit.JPG (65.06 KiB) Viewed 9120 times
Last edited by feelgirl on Mon May 05, 2008 9:38 pm, edited 3 times in total.
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

The result is under screen.
Attachments
result.JPG
result.JPG (54.43 KiB) Viewed 9118 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) does cacti show the system uptime in the top left?

2) manually snmpwalk 1.3.6.1.2.1.2.2.1.1 and post the results.
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

1) in my cacti page,no time is view
2)when i run
C:\Documents and Settings\Administrator>snmpwalk 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)
C:/net-snmp/etc/snmp/snmp.conf: line 4: Warning: Unknown token: view.
C:/net-snmp/etc/snmp/snmp.conf: line 5: Warning: Unknown token: view.
snmpwalk: Unknown host (1.3.6.1.2.1.2.2.1.1) (No such file or directory)


3) now,when i creat the Quidway8512,use ucd/net-snmp,snmp version V1 temperlate .when I click Creat ,page is none(white screan).
but ,when i click Devices,I can saw the Quidway8512,but no grahp is creat.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Your device doesn't support SNMP apparently, is misconfigured or at the very least doesn't report its interfaces.
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

My device is support the snmp ,In my device ,when I debugging snmp,can saw some packets send to my host.
In my cacti service host,I allso can saw the device's snmp information:
SNMP Information
System: Huawei VRP software Quidway S8505 product version S8500-VRP310-R1278P02 Copyright(c) 1998-2006 Huawei Technologies Co., Ltd. All rights reserved. Compiled Nov 24 2006 23:23:09, RELEASE SOFTWARE
Uptime: 3357928900 (388 days, 13 hours, 13 minutes)
Hostname: NB-BL-DQ-SW1-S8505-1.MAN
Location: NB-BL-DQ
Contact: HuaWei 800-8302118

In the area of Associated Data Queries,when I debugging the SNMP - Interface Statistics ,the page retrun:
http://localhost/cacti/host.php?action= ... &host_id=3

But when I debugging other device,the page retrun :
http://localhost/cacti/host.php?action= ... tails=true
then I can saw the device's graphs.

Operating System: windows2003
Webserver: IIS6
Cacti: 0.8.7B
Spine: CMD.PHP
MySQL: appserv-win32-2.5.9.exe
PHP: appserv-win32-2.5.9.exe
RRDTool (Cygwin or Win32 version): rrdtool-1.2.15-cygwin-1.5.20
Net-SNMP: net-snmp-5.4.0-1.win32
Cygwin (cygwin1.dll version): rrdtool-1.2.15-cygwin-1.5.20
Plugin Architecture:
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Well thats all great and dandy that snmp is turned on, but your device doesn't support the standard interface MIB for traffic. Consult the documentation on what MIBs it does support.

2) You do realize that http://localhost/ isn't valid on the Internet, right?
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

BSOD2600 wrote:1) does cacti show the system uptime in the top left?

2) manually snmpwalk 1.3.6.1.2.1.2.2.1.1 and post the results.
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

and
C:\net-snmp\bin>snmpget -v 2c -c publict 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 = No Such Instance currently exists at this OID


please help !!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, looks like that device does report its interfaces, good. Change the host template to generic snmp device (ucd/net is for linux). Click on verbose query for the snmp interface query. Post the results.
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

Change the Host Template to generic SNMP-enabled host
(Verbose Query) the SNMP - Interface Statistics
results:
+ 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'
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Something weird is going on here. Your manual snmpwalk contained only ifIndex, yet cacti's snmpwalk only returned ifIP? Are you editing the results you're pasting here? If not, your device really doesn't conform to SNMP RFC's, which is creating some problems.
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

when I change The OID to .1 .1.3.6.1.2.1.2.2.1.2
results:
C:\net-snmp\bin>snmpwalk -v 2c -c nbroot 61.*.*.1 .1.3.6.1.2.1.2.2.1.2
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)
C:/net-snmp/etc/snmp/snmp.conf: line 4: Warning: Unknown token: view.
C:/net-snmp/etc/snmp/snmp.conf: line 5: Warning: Unknown token: view.
C:/net-snmp/etc/snmp/snmp.conf: line 6: Warning: Unknown token: view.
C:/net-snmp/etc/snmp/snmp.conf: line 7: Warning: Unknown token: view.
IF-MIB::ifDescr.9 = STRING: GigabitEthernet0/1/1
IF-MIB::ifDescr.17 = STRING: GigabitEthernet0/1/2
IF-MIB::ifDescr.25 = STRING: GigabitEthernet0/1/3
IF-MIB::ifDescr.33 = STRING: GigabitEthernet0/1/4
IF-MIB::ifDescr.41 = STRING: GigabitEthernet0/1/5
IF-MIB::ifDescr.49 = STRING: GigabitEthernet0/1/6
IF-MIB::ifDescr.57 = STRING: GigabitEthernet0/1/7
IF-MIB::ifDescr.65 = STRING: GigabitEthernet0/1/8
IF-MIB::ifDescr.73 = STRING: GigabitEthernet0/1/9
IF-MIB::ifDescr.81 = STRING: GigabitEthernet0/1/10
IF-MIB::ifDescr.89 = STRING: GigabitEthernet0/1/11
IF-MIB::ifDescr.97 = STRING: GigabitEthernet0/1/12
IF-MIB::ifDescr.105 = STRING: GigabitEthernet0/1/13
IF-MIB::ifDescr.113 = STRING: GigabitEthernet0/1/14
IF-MIB::ifDescr.121 = STRING: GigabitEthernet0/1/15
IF-MIB::ifDescr.129 = STRING: GigabitEthernet0/1/16
IF-MIB::ifDescr.137 = STRING: GigabitEthernet0/1/17
IF-MIB::ifDescr.145 = STRING: GigabitEthernet0/1/18
IF-MIB::ifDescr.153 = STRING: GigabitEthernet0/1/19
IF-MIB::ifDescr.161 = STRING: GigabitEthernet0/1/20
IF-MIB::ifDescr.169 = STRING: GigabitEthernet0/1/21
IF-MIB::ifDescr.177 = STRING: GigabitEthernet0/1/22
IF-MIB::ifDescr.185 = STRING: GigabitEthernet0/1/23
IF-MIB::ifDescr.193 = STRING: GigabitEthernet0/1/24
IF-MIB::ifDescr.402653198 = STRING: NULL0
IF-MIB::ifDescr.402653200 = STRING: InLoopBack0
IF-MIB::ifDescr.402653622 = STRING: Vlan-interface50
IF-MIB::ifDescr.402694198 = STRING: Aux6/0/1
IF-MIB::ifDescr.402694202 = STRING: M-Ethernet6/0/0
IF-MIB::ifDescr.872415241 = STRING: GigabitEthernet13/1/1
IF-MIB::ifDescr.872415249 = STRING: GigabitEthernet13/1/2
IF-MIB::ifDescr.872415257 = STRING: GigabitEthernet13/1/3
IF-MIB::ifDescr.872415265 = STRING: GigabitEthernet13/1/4
IF-MIB::ifDescr.872415273 = STRING: GigabitEthernet13/1/5
IF-MIB::ifDescr.872415281 = STRING: GigabitEthernet13/1/6
IF-MIB::ifDescr.872415289 = STRING: GigabitEthernet13/1/7
IF-MIB::ifDescr.872415297 = STRING: GigabitEthernet13/1/8
IF-MIB::ifDescr.872415305 = STRING: GigabitEthernet13/1/9
IF-MIB::ifDescr.872415313 = STRING: GigabitEthernet13/1/10
IF-MIB::ifDescr.872415321 = STRING: GigabitEthernet13/1/11
IF-MIB::ifDescr.872415329 = STRING: GigabitEthernet13/1/12
IF-MIB::ifDescr.872415337 = STRING: GigabitEthernet13/1/13
IF-MIB::ifDescr.872415345 = STRING: GigabitEthernet13/1/14
IF-MIB::ifDescr.872415353 = STRING: GigabitEthernet13/1/15
IF-MIB::ifDescr.872415361 = STRING: GigabitEthernet13/1/16
IF-MIB::ifDescr.872415369 = STRING: GigabitEthernet13/1/17
IF-MIB::ifDescr.872415377 = STRING: GigabitEthernet13/1/18
IF-MIB::ifDescr.872415385 = STRING: GigabitEthernet13/1/19
IF-MIB::ifDescr.872415393 = STRING: GigabitEthernet13/1/20
IF-MIB::ifDescr.872415401 = STRING: GigabitEthernet13/1/21
IF-MIB::ifDescr.872415409 = STRING: GigabitEthernet13/1/22
IF-MIB::ifDescr.872415417 = STRING: GigabitEthernet13/1/23
IF-MIB::ifDescr.872415425 = STRING: GigabitEthernet13/1/24
IF-MIB::ifDescr.872415433 = STRING: GigabitEthernet13/1/25
IF-MIB::ifDescr.872415441 = STRING: GigabitEthernet13/1/26
IF-MIB::ifDescr.872415449 = STRING: GigabitEthernet13/1/27
IF-MIB::ifDescr.872415457 = STRING: GigabitEthernet13/1/28
IF-MIB::ifDescr.872415465 = STRING: GigabitEthernet13/1/29
IF-MIB::ifDescr.872415473 = STRING: GigabitEthernet13/1/30
IF-MIB::ifDescr.872415481 = STRING: GigabitEthernet13/1/31
IF-MIB::ifDescr.872415489 = STRING: GigabitEthernet13/1/32
IF-MIB::ifDescr.872415497 = STRING: GigabitEthernet13/1/33
IF-MIB::ifDescr.872415505 = STRING: GigabitEthernet13/1/34
IF-MIB::ifDescr.872415513 = STRING: GigabitEthernet13/1/35
IF-MIB::ifDescr.872415521 = STRING: GigabitEthernet13/1/36
IF-MIB::ifDescr.872415529 = STRING: GigabitEthernet13/1/37
IF-MIB::ifDescr.872415537 = STRING: GigabitEthernet13/1/38
IF-MIB::ifDescr.872415545 = STRING: GigabitEthernet13/1/39
IF-MIB::ifDescr.872415553 = STRING: GigabitEthernet13/1/40
IF-MIB::ifDescr.872415561 = STRING: GigabitEthernet13/1/41
IF-MIB::ifDescr.872415569 = STRING: GigabitEthernet13/1/42
IF-MIB::ifDescr.872415577 = STRING: GigabitEthernet13/1/43
IF-MIB::ifDescr.872415585 = STRING: GigabitEthernet13/1/44
IF-MIB::ifDescr.872415593 = STRING: GigabitEthernet13/1/45
IF-MIB::ifDescr.872415601 = STRING: GigabitEthernet13/1/46
IF-MIB::ifDescr.872415609 = STRING: GigabitEthernet13/1/47
IF-MIB::ifDescr.872415617 = STRING: GigabitEthernet13/1/48

please help me !

I use MiB Browser,can saw all the information for My host.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

oh, I see you walked only the DESCRIPTION OIDs in that last one. Should've snmpwalked 1.3.6.1.2.1.2.2.1 for the full interfaces.

Anyways, since that device has a lot of interfaces, you should increase the timeout to it in cacti. Also increase your memory and timeout values in php.ini. You might also consider playing around with the max OIDS per request, in cacti's options. Then see if the verbose query for SNMP - Interface Statistics returns more data.
feelgirl
Posts: 18
Joined: Sun Apr 06, 2008 1:18 am
Contact:

Post by feelgirl »

thanked you very much for your great strength help .
According to you of suggestion, I have already Solve the problem.
Thank you again for your reply!
isabellaleo
Posts: 8
Joined: Mon Jan 13, 2014 1:20 pm

Re: [Solved] Quidway8500Series can't cacti

Post by isabellaleo »

feelgirl
which was the solution for the problem? i have the samen problem, i need help.

What did you change?

BSOD what "timeout to it in cacti" do i have to change what time do you mean?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests