Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[solved] No more variables left in this MIB View

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
prxbl



Joined: 28 Nov 2007
Posts: 18

PostPosted: Thu Oct 09, 2008 2:07 pm    Post subject: [solved] No more variables left in this MIB View Reply with quote

Hello I've just installed cacti on Ubuntu, everything works fine except for the SNMP - interface statistics data query. When i try to verbose query it it shows the following :
Code:

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/site/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'
+ Found item [ifIndex='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 1 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Testing'] index: 8 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 2 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 1 [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 18 [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 3 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 5 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='No more variables left in this MIB View (It is past the end of the MIB tree)'] index: 6 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='4.20.1.2'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/site/resource/snmp_queries/interface.xml'



I've also tried to run those queries with snmpwalk:
Code:

root@ubuntu:/usr/share/snmp# snmpwalk -v 2c -c public localhost .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr = No more variables left in this MIB View (It is past the end of the MIB tree)
root@ubuntu:/usr/share/snmp# snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.2
End of MIB
root@ubuntu:/usr/share/snmp#


I'm runing:
Cacti Version 0.8.7b
NET-SNMP version: 5.4.1
Mysql Server version: 5.0.51a-3ubuntu5.1
PHP 5.2.4-2ubuntu5.3

when I try to create a new graph it looks like this(picture attached)



print.GIF
 Description:
 Filesize:  50.23 KB
 Viewed:  455 Time(s)

print.GIF


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Thu Oct 09, 2008 4:05 pm    Post subject: Reply with quote

If the snmpwalk fails, cacti will fail as well. I suppose that your snmpd.conf on the target host is not yet set up correctly
Reinhard
Back to top
prxbl



Joined: 28 Nov 2007
Posts: 18

PostPosted: Fri Oct 10, 2008 2:16 am    Post subject: Reply with quote

Thanks Reinhard, i forget to post my conf file, here it is:
File: /usr/share/snmp/snmpd.conf (is this the one in use ? because i'm not sure )


Code:

deleted by gandalf
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12604
Location: Muenster, Germany

PostPosted: Fri Oct 10, 2008 7:24 am    Post subject: Reply with quote

Please, in any case, do NOT POST CREDENTIALS
Replace them by sth arbitrary at least.
In any case, make sure that an snmpwalk running on the cacti system against your target receives valid SNMP data. In fact, this may be related to snmpd.conf on the target system.
Reinhard
Back to top
prxbl



Joined: 28 Nov 2007
Posts: 18

PostPosted: Fri Oct 10, 2008 9:11 am    Post subject: Reply with quote

Reinhard i don't know what i did wrong by posting my conf file, what credentials ?

other data query's work well, doing snmpwalk on them works ok, graphs ok(example logged in users, hard disk space)

cacti is runing on the same system as snmpd

also i tried snmpwalk -v 2c -c public localhost system
and i noticed this

Code:
SNMPv2-MIB::sysORUpTime.8 = No more variables left in this MIB View (It is past
the end of the MIB tree)
Back to top
prxbl



Joined: 28 Nov 2007
Posts: 18

PostPosted: Fri Oct 10, 2008 1:50 pm    Post subject: probl solved Reply with quote

problem solved by modifying /usr/share/snmp/snmpd.conf
i enabled com2sec readwrite default private
and changed the community setting in cacti and it started to work
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group