Getting SNMPv2 to Graph

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

Moderators: Developers, Moderators

Post Reply
pilot006
Posts: 3
Joined: Thu May 26, 2005 12:06 pm
Location: NY
Contact:

Getting SNMPv2 to Graph

Post by pilot006 »

Hey all... hope this is a basic question. I'm attempting to graph snmpv2 graphs off a variety of Cisco devices (6509s, 2800s, 3800s) but cannot get it to work for the life of me. Pretty basic it seems. I attempt to add a new device... select Version 2 and verify the SNMP string is correct. Looks good but then I get the dreaded status from the "SNMP - Interface Statistics" query:

Code: Select all

Success [0 Items, 0 Rows]
Hrmmm... first step is to throw it into debug. The debug show like so:

Code: Select all

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/apache2/htdocs/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 '/usr/local/apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/apache2/htdocs/cacti/resource/snmp_queries/interface.xml'
Hrm... it says no data received. I then run an snmpwalk from the command line... and I get output:

Code: Select all

cacti:/ # snmpwalk -v 2c -c blahblah 10.0.0.1  .1.3.6.1.2.1.2.2.1.1 | more
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.11 = INTEGER: 11
IF-MIB::ifIndex.12 = INTEGER: 12
IF-MIB::ifIndex.13 = INTEGER: 13
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.15 = INTEGER: 15
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.17 = INTEGER: 17
IF-MIB::ifIndex.18 = INTEGER: 18
IF-MIB::ifIndex.19 = INTEGER: 19
IF-MIB::ifIndex.20 = INTEGER: 20
IF-MIB::ifIndex.21 = INTEGER: 21
IF-MIB::ifIndex.22 = INTEGER: 22
How is that so? If I change the host to be Version 1... I can now discover my interfaces and graph to my hearts content. Thanks in advance!

-Mike
http://cs-mars.blogspot.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest