[INFO] [SOLVED] SNMP returning no data, no interface list
Moderators: Developers, Moderators
[INFO] [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.
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.
Perfect 10 !
THANKS YOU !!!!!!!!!!!!!!!!!!!!!!!!!
EVERYTHING IS WORKING ON MY LINUX BOX NOW
EVERYTHING IS WORKING ON MY LINUX BOX NOW
-
- Posts: 12
- Joined: Thu Mar 15, 2007 9:24 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hispacelobsters wrote:i've tried this and it does not fix mine
can you try with a minimalistic snmpd.conf :
Code: Select all
rocommunity public
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Posts: 12
- Joined: Thu Mar 15, 2007 9:24 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
You can follow the HowTo in my signaure for further Net-SNMP configuration.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Hey I tried that fix but I'm still having issues. Im able to do
As soon as I add .2 to it I receive "End of MIB". Should I reinstall snmpd?
Code: Select all
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?
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
-
- Posts: 5
- Joined: Sun Aug 31, 2008 2:06 am
make sure your snmp configuration has: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.
view all included .1 80
best regards,
Raymond Victorio
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
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
Who is online
Users browsing this forum: No registered users and 3 guests