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] SNMP returning no data, no interface list

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
leoutskot



Joined: 15 Nov 2005
Posts: 1
Location: Mexico

PostPosted: Tue Nov 15, 2005 8:14 pm    Post subject: [SOLVED] SNMP returning no data, no interface list Reply with quote

I've spend about 3 hours trying to figure this out and I've seen alot of people with the same problem.

In cacti 0.8.6g (and perhaps f), using redhat (I've seen enterprise, RH9, Fedora 3 and 4 mentioned) there's a problem getting the list of interfaces to be detected, which allows you to graph traffic.

The typical problems involve the following errors:
"No SNMP data returned" (from verbose query in the devices detail)
No data returned while running snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.1
General problems getting Interface - Traffic graphs to work

The problem resides in the permissions for SNMP version 1 users in the /etc/snmp/snmpd.conf file

You need to change the following limits:
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1

to:
view systemview included .1.3.6.1.2.1
view systemview included .1.3.6.1.2.1.25.1.1

This reduces the limits to the pubic group's access using smtpwalk and allows cacti to get the list of interfaces.
Back to top
rafiso



Joined: 10 Dec 2005
Posts: 20

PostPosted: Sun Dec 11, 2005 11:58 am    Post subject: Perfect 10 ! Reply with quote

THANKS YOU !!!!!!!!!!!!!!!!!!!!!!!!!

EVERYTHING IS WORKING ON MY LINUX BOX NOW
Back to top
spacelobsters



Joined: 15 Mar 2007
Posts: 12

PostPosted: Fri Mar 16, 2007 11:39 am    Post subject: Reply with quote

i've tried this and it does not fix mine
Back to top
gandalf
Developer


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

PostPosted: Sat Mar 17, 2007 5:48 am    Post subject: Reply with quote

Please install php-snmp and retry
Reinhard
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Mon Mar 19, 2007 3:57 am    Post subject: Reply with quote

spacelobsters wrote:
i've tried this and it does not fix mine

Hi

can you try with a minimalistic snmpd.conf :
Code:
rocommunity public
Back to top
spacelobsters



Joined: 15 Mar 2007
Posts: 12

PostPosted: Wed Mar 28, 2007 10:37 am    Post subject: Reply with quote

must correct myself, it did indeed work STICKY!!?!
Back to top
Alberello



Joined: 21 Nov 2006
Posts: 4

PostPosted: Thu Mar 29, 2007 7:34 am    Post subject: Reply with quote

Thanks!!!!!!!!!!!!!!!!!
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Fri Mar 30, 2007 2:29 am    Post subject: Reply with quote

You can follow the HowTo in my signaure for further Net-SNMP configuration.
Back to top
drag0n3t



Joined: 10 Sep 2007
Posts: 1

PostPosted: Tue Sep 11, 2007 5:50 pm    Post subject: is fix!! Reply with quote

thks a lot!!
Back to top
batofd



Joined: 01 Nov 2007
Posts: 3

PostPosted: Thu Nov 01, 2007 3:56 pm    Post subject: Reply with quote

Hey I tried that fix but I'm still having issues. Im able to do

Code:
snmpwalk -v 1 -c public 127.0.0.1 .1.3.6.1.2.1



As soon as I add .2 to it I receive "End of MIB". Should I reinstall snmpd?
Back to top
gandalf
Developer


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

PostPosted: Fri Nov 02, 2007 5:47 am    Post subject: Reply with quote

What OID are actually heading for? What kind of data are you expecting?
Reinhard
Back to top
batofd



Joined: 01 Nov 2007
Posts: 3

PostPosted: Mon Nov 05, 2007 8:38 am    Post subject: Reply with quote

I'm receiving the same error when attempting to start the SNMP - Interface Statistics data query. I tried to manually run the snmpwalk but I get "End of MIB" when I try to run the full command.
Back to top
bzposse



Joined: 06 Dec 2007
Posts: 1

PostPosted: Thu Dec 06, 2007 11:16 am    Post subject: Fixed problem of SNMP returning no data, no interface list Reply with quote

This post helpd me fix this issue on my build...Thanks to all whom contributed to this post
Back to top
komunikasys



Joined: 31 Aug 2008
Posts: 5

PostPosted: Sun Aug 31, 2008 2:29 am    Post subject: Reply with quote

batofd wrote:
I'm receiving the same error when attempting to start the SNMP - Interface Statistics data query. I tried to manually run the snmpwalk but I get "End of MIB" when I try to run the full command.


make sure your snmp configuration has:

view all included .1 80

best regards,

Raymond Victorio
Back to top
giana



Joined: 05 Nov 2007
Posts: 7

PostPosted: Sun Oct 19, 2008 5:32 am    Post subject: Reply with quote

i run cacti 0.8.6j on FC5 on our companys cacti server with
view systemview included .1.3.6.1.2.1.1
view systemview included .1.3.6.1.2.1.25.1.1
traffic graphs are fine so far.

now i installed cacti 0.8.7b via yum install cacti on my homeserver FC8
i got no traffic graphs. then i changed snmpd.conf
from: view systemview included .1.3.6.1.2.1.1
__to: view systemview included .1.3.6.1.2.1
now i have also fine traffic graphs on my fc8 with 0.8.7b
thanks leoutskot
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group