|
|
| Author |
Message |
leoutskot
Joined: 15 Nov 2005 Posts: 1 Location: Mexico
|
Posted: Tue Nov 15, 2005 8:14 pm Post subject: [SOLVED] SNMP returning no data, no interface list |
|
|
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
|
Posted: Sun Dec 11, 2005 11:58 am Post subject: Perfect 10 ! |
|
|
THANKS YOU !!!!!!!!!!!!!!!!!!!!!!!!!
EVERYTHING IS WORKING ON MY LINUX BOX NOW  |
|
| Back to top |
|
 |
spacelobsters
Joined: 15 Mar 2007 Posts: 12
|
Posted: Fri Mar 16, 2007 11:39 am Post subject: |
|
|
| i've tried this and it does not fix mine |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12604 Location: Muenster, Germany
|
Posted: Sat Mar 17, 2007 5:48 am Post subject: |
|
|
Please install php-snmp and retry
Reinhard |
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Mon Mar 19, 2007 3:57 am Post subject: |
|
|
| spacelobsters wrote: | | i've tried this and it does not fix mine |
Hi
can you try with a minimalistic snmpd.conf :
|
|
| Back to top |
|
 |
spacelobsters
Joined: 15 Mar 2007 Posts: 12
|
Posted: Wed Mar 28, 2007 10:37 am Post subject: |
|
|
must correct myself, it did indeed work STICKY!!?! |
|
| Back to top |
|
 |
Alberello
Joined: 21 Nov 2006 Posts: 4
|
Posted: Thu Mar 29, 2007 7:34 am Post subject: |
|
|
Thanks!!!!!!!!!!!!!!!!!
 |
|
| Back to top |
|
 |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Fri Mar 30, 2007 2:29 am Post subject: |
|
|
| You can follow the HowTo in my signaure for further Net-SNMP configuration. |
|
| Back to top |
|
 |
drag0n3t
Joined: 10 Sep 2007 Posts: 1
|
Posted: Tue Sep 11, 2007 5:50 pm Post subject: is fix!! |
|
|
| thks a lot!! |
|
| Back to top |
|
 |
batofd
Joined: 01 Nov 2007 Posts: 3
|
Posted: Thu Nov 01, 2007 3:56 pm Post subject: |
|
|
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: 12604 Location: Muenster, Germany
|
Posted: Fri Nov 02, 2007 5:47 am Post subject: |
|
|
What OID are actually heading for? What kind of data are you expecting?
Reinhard |
|
| Back to top |
|
 |
batofd
Joined: 01 Nov 2007 Posts: 3
|
Posted: Mon Nov 05, 2007 8:38 am Post subject: |
|
|
| 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
|
Posted: Thu Dec 06, 2007 11:16 am Post subject: Fixed problem of SNMP returning no data, no interface list |
|
|
| 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
|
Posted: Sun Aug 31, 2008 2:29 am Post subject: |
|
|
| 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
|
Posted: Sun Oct 19, 2008 5:32 am Post subject: |
|
|
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 |
|
 |
|