wiki:Packages/SNMP

Version 1 (modified by ChrisJohns, on Dec 1, 2005 at 10:32:38 AM) (diff)

First pass at some doco.

SNMP

!!! NetSNMP

The NetSNMP package can be used with RTEMS to provide a full agent implementation. The NetSNMP project can be found at the following link -

http://net-snmp.sourceforge.net/

NetSNMP implements the V1, V2 and V3 versions of the protocol which can be accessed through the SNMP library API. The package also implements a full agent and included in the agent is a MIB-II standard mib. RTEMS used the FreeBSD networking stack and part of this is the sysctl interface. NetSNMP can use this interface to obtain data about interfaces and networking stack.

!! Building NetSNMP

These instruction have been tested using RTEMS 4.6.x for the M68K Coldfire processor.

# Download the NetSNMP package from the RTEMS FTP site (ftp://ftp.rtems.org/pub/rtems/4.6.99.2/contrib/net-snmp/). # Unpack the source code. # Create a build directory. # Configure, name and install.

$ wget ftp://ftp.rtems.org/pub/rtems/4.6.99.2/contrib/net-snmp/rtems-net-snmp-5-0-8.tar.gz $ tar zxf rtems-net-snmp-5-0-8.tar.gz $ mkdir rtems-m68k $ cd rtems-m68k $ ../rtems-net-snmp-5-0-8/configure --target=m68k-rtems --prefix=/opt/rtems $ make $ make install

I have only tested v1 and V2.

!! Starting NetSNMP