[SOLVED] "SNMP error" but some data collects.

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Weedy
Posts: 23
Joined: Thu Jan 26, 2006 7:07 pm

[SOLVED] "SNMP error" but some data collects.

Post by Weedy »

everything used to work fine but somewhere along the way this happend. Heres an example of a current WTF

Code: Select all

Data Query Debug Information
 
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/weedy.1.vg/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 '/var/www/weedy.1.vg/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/weedy.1.vg/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/weedy.1.vg/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/weedy.1.vg/htdocs/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/weedy.1.vg/htdocs/cacti/resource/snmp_queries/interface.xml'
 
# snmpwalk -v 2c -c public 192.168.8.1 .1.3.6.1.2.1.2.2.1.1
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
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

what kind of device do you want to graph ?
[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]
Weedy
Posts: 23
Joined: Thu Jan 26, 2006 7:07 pm

Post by Weedy »

standard linux computer. Linux 2.6.23-gentoo #1 Tue Oct 23 23:19:27 EDT 2007 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Could you try with a minimalistic snmpd.conf :

Code: Select all

rocommunity public
and then use the "ucd/net SNMP" template ?
[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]
Weedy
Posts: 23
Joined: Thu Jan 26, 2006 7:07 pm

Post by Weedy »

apache (php?) needed a restart. crapiest bug ever.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests