D-Link DES-2110 - no graphs on 0.8.7b

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

D-Link DES-2110 - no graphs on 0.8.7b

Post by Xirss »

I tried to use cacti to display graphs from DES-2110.
It works correctly (but possibly sometimes slow) with SNMP v1 & v2c.
On command snmpwalk -v 2c -c private 10.0.0.1 .1.3.6.1.2.1.2.2.1.1 - I get correct interface list:

Code: Select all

IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.604 = INTEGER: 604
But on click "Verbose query" in cacti I get this:

Code: Select all

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/seti.kr.ua/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
I changed in settings SNMPv2 to SNMPv1 - as result I get list of interfaces, but I see only blank graphs with zeros. But on snmpwalk -v 2c -c private 10.0.0.1 .1.3.6.1.2.1.2.2.1.10 - I get correct values:

Code: Select all

IF-MIB::ifInOctets.1 = Counter32: 2098814005
IF-MIB::ifInOctets.2 = Counter32: 1658476060
IF-MIB::ifInOctets.3 = Counter32: 3927431236
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 220128974
IF-MIB::ifInOctets.6 = Counter32: 1821625096
IF-MIB::ifInOctets.7 = Counter32: 0
IF-MIB::ifInOctets.8 = Counter32: 0
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 411107485
IF-MIB::ifInOctets.604 = Counter32: 4616643
This result I've got also for v1 request.
Timeout in settings - 2 sec (2000 msec), I tried to increase it to 50 sec - no effects.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try snmpbulkwalk using parm -Cr50 against that target and respond
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

I get "No response from host".
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

In this case, either 087c is required (includes an option to suppress snmpbulkwalk) or V1 must be set
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

v1 also doesn't work (I got an interface list, but on graphs I get only zeroes).
Update to 0.8.7c and setting max OID to 1 in settings/poller has no effect...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Then please proceed as given at the 2nd link of my sig, step by step, and post results
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

Thanks.
Switch doesn't support 64bit counters :( So tree .1.3.6.1.2.1.31 was empty.
But still remains question about v2 queries. Spine with selected SNMP v2 works OK, but in GUI I can't update list of interfaces.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Xirss wrote:Thanks.
Switch doesn't support 64bit counters :( So tree .1.3.6.1.2.1.31 was empty.
But still remains question about v2 queries. Spine with selected SNMP v2 works OK, but in GUI I can't update list of interfaces.
What happens, then? We recently fixed an issue in this area, patch will be provided soon. I simply want to make sure that your issue is not a new one
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

Such like before update.
I set "max OID" to 1 (as I understand this will supress snmpbulkwalk query), then set SNMPv2 for host, and tried to press "Verbose query" - I get after some time "No SNMP data returned".
P.S. IMHO it'll be good idea to make for every host choice what method of query will be used...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post screenshot after pressing Verbose Query. I both need the top and the bottom of the page.
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

Here it is.
Attachments
cacti.png
cacti.png (46.09 KiB) Viewed 5710 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please retry using version 0.8.7d. We corrected a bug concerning SNMP output parsing
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

After upgrade I get same result...
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Is it possible to have an online session for debugging?
Reinhard
Xirss
Posts: 21
Joined: Mon May 26, 2008 7:43 am
Location: UA
Contact:

Post by Xirss »

Yes. My ICQ is in profile. Send me a message when yo'll have free time - I'm mostly in online at GMT 10.00-22.00
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests