SNMP help!!!!!!!!!!!
Moderators: Developers, Moderators
SNMP help!!!!!!!!!!!
i can't get "SNMP - Interface Statistics" data
i can get data:
SNMP Information
System: FreeBSD
Uptime: 2791391698
Hostname: 4a-c02-a6
Location:xxxxxx
Contact: xxxxxxr@xxxxx
--------------------------------------------
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/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 '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
----------------------------------------
target host message:
/usr/local/snmpd/sbin/snmpd -v
NET-SNMP version: 5.0.9
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
cat /usr/local/snmpd/share/snmp/snmpd.conf
rocommunity public
load 12 14 14
exec com /usr/local/snmpd/share/snmp/snmpd.command 80 HTTPD
proc httpd
disk /
why???????????????
i can get data:
SNMP Information
System: FreeBSD
Uptime: 2791391698
Hostname: 4a-c02-a6
Location:xxxxxx
Contact: xxxxxxr@xxxxx
--------------------------------------------
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/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 '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/local/cacti/resource/snmp_queries/interface.xml'
----------------------------------------
target host message:
/usr/local/snmpd/sbin/snmpd -v
NET-SNMP version: 5.0.9
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
cat /usr/local/snmpd/share/snmp/snmpd.conf
rocommunity public
load 12 14 14
exec com /usr/local/snmpd/share/snmp/snmpd.command 80 HTTPD
proc httpd
disk /
why???????????????
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please run from command line and post the output
Reinhard
Code: Select all
snmpwalk -c <community> -v <your targets snmp version> <target host> .1.3.6.1.2.1.2.2.1.1
Reinhard
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
[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]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
And this :
Code: Select all
snmpwalk -v 1 -c public localhost ucdavis.version
[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]
4a-c02-a6# /usr/local/snmpd/bin/snmpwalk -v 1 -c public localhost ucdavis.version
UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1
UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.9
UCD-SNMP-MIB::versionDate.0 = STRING: $Date: 2002/09/23 17:13:14 $
UCD-SNMP-MIB::versionCDate.0 = STRING: Fri Apr 14 19:05:42 2006
UCD-SNMP-MIB::versionIdent.0 = STRING: $Id: versioninfo.c,v 5.1 2002/09/23 17:13:14 hardaker Exp $
UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: " --prefix=/usr/local/snmpd --with-sys-contact=postmaster@xxxx.net --with-sys-location=xxxxxx --with-persistent-directory=/var/net-snmp --with-logfile=/var/log/snmpd.log"
UCD-SNMP-MIB::versionClearCache.0 = INTEGER: 0
UCD-SNMP-MIB::versionUpdateConfig.0 = INTEGER: 0
UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 0
UCD-SNMP-MIB::versionSavePersistentData.0 = INTEGER: 0
UCD-SNMP-MIB::versionDoDebugging.0 = INTEGER: 0
4a-c02-a6#
UCD-SNMP-MIB::versionIndex.0 = INTEGER: 1
UCD-SNMP-MIB::versionTag.0 = STRING: 5.0.9
UCD-SNMP-MIB::versionDate.0 = STRING: $Date: 2002/09/23 17:13:14 $
UCD-SNMP-MIB::versionCDate.0 = STRING: Fri Apr 14 19:05:42 2006
UCD-SNMP-MIB::versionIdent.0 = STRING: $Id: versioninfo.c,v 5.1 2002/09/23 17:13:14 hardaker Exp $
UCD-SNMP-MIB::versionConfigureOptions.0 = STRING: " --prefix=/usr/local/snmpd --with-sys-contact=postmaster@xxxx.net --with-sys-location=xxxxxx --with-persistent-directory=/var/net-snmp --with-logfile=/var/log/snmpd.log"
UCD-SNMP-MIB::versionClearCache.0 = INTEGER: 0
UCD-SNMP-MIB::versionUpdateConfig.0 = INTEGER: 0
UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 0
UCD-SNMP-MIB::versionSavePersistentData.0 = INTEGER: 0
UCD-SNMP-MIB::versionDoDebugging.0 = INTEGER: 0
4a-c02-a6#
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
This is a rather old version of Net-SNMP...
Can you upgrade to a more recent one (5.2.2 seems to be the "stable" FreeBSD port) ?
Can you upgrade to a more recent one (5.2.2 seems to be the "stable" FreeBSD port) ?
[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]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
This is definitively the cause of your problem. Please follow fmangeant's instructions. As long as this query returns nothing, cacti won't make more out of thiscongcong wrote:4a-c02-a6# /usr/local/snmpd/bin/snmpwalk -v 1 -c public localhost .1.3.6.1.2.1.2.2.1.1
4a-c02-a6#
dosen't output anything
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest