The Full Wiki

Net-SNMP: Wikis

Advertisements
  
  

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

From Wikipedia, the free encyclopedia

Net-SNMP
Developer(s) open source community
Stable release 5.5 / 2009-09-24; 3 months ago
Operating system Most
Type Network Management
License BSD licenses
Website www.net-snmp.org

Net-SNMP is a suite of software for using and deploying the SNMP protocol (v1, v2c and v3 and the AgentX subagent protocol). It supports IPv4, IPv6, IPX, AAL5, Unix domain sockets and other transports. It contains a generic client library, a suite of command line applications, a highly extensible SNMP agent, perl modules and python modules.

Contents

Distribution

Net-SNMP is housed on SourceForge and is usually in the top 100 projects in the sourceforge ranking system. It was the March 2005 SourceForge Project of the Month. It is very widely distributed and comes included with many operating systems including most distributions of Linux, FreeBSD, OpenBSD, Solaris, and Mac OS X. It is also, of course, available from the Net-SNMP web site.

History

Steve Waldbusser of CMU started a freely available SNMP tool kit in 1992. The package was later abandoned by CMU and Wes Hardaker at UC Davis renamed it to UCD-SNMP and extended it to meet the network management needs of the Electrical Engineering department there. Eventually Mr. Hardaker left the university and realized that the project was now network wide and thus renamed it to Net-SNMP to reflect its distributed development.[1].

The roots of the Net-SNMP project are long and a full description can be found on the Net-SNMP history page.

SNMP Applications Included With Net-SNMP

Application Description
encode_keychange produce the KeyChange string for SNMPv3.
snmptranslate translate MIB OID names between numeric and textual forms.
snmpget communicates with a network entity using SNMP GET requests.
snmpgetnext Communicates with a network entity using SNMP GETNEXT requests.
snmpbulkget Communicates with a network entity using SNMP GETBULK requests.
snmpwalk retrieve a subtree of management values using SNMP GETNEXT requests.
snmpbulkwalk retrieve a subtree of management values using SNMP GETBULK requests.
snmpset communicates with a network entity using SNMP SET requests.
snmptrap Sends SNMP TRAP or INFORM notification messages.
snmpd A SNMP agent that responds to SNMP requests for a given host.
snmptrapd A SNMP demon that listens for SNMP TRAPs or INFORMs and logs or acts upon them.
snmptest communicates with a network entity using SNMP requests.
mib2c A MIB conversion utility that can translate MIB structures into other forms, such as C-code
tkmib a perl/Tk interactive graphical MIB browser for SNMP.
Advertisements

Snmpwalk

The command snmpwalk uses the SNMP GETNEXT request to query a network for a tree of information.

An object identifier (OID) may be given on the command line. This OID specifies which portion of the object identifier space will be searched using GETNEXT requests. All variables in the subtree below the given OID are queried and their values presented to the user. If no OID argument is present, snmpwalk will search the subtree rooted at SNMPv2-SMI::mib-2 (including any MIB object values from other MIB modules, that are defined as lying within this subtree).

Example

An example of snmpwalk usage (this will retrieve all of the variables under the system OID):

$ snmpwalk -Os -c public -v 1 zeus system
sysDescr.0 = STRING: "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
sysObjectID.0 = OID: enterprises.hp.nm.hpsystem.10.1.1
sysUpTime.0 = Timeticks: (155274552) 17 days, 23:19:05
sysContact.0 = STRING: ""
sysName.0 = STRING: "zeus.net.cmu.edu"
sysLocation.0 = STRING: ""
sysServices.0 = INTEGER: 72  

References


Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message