Chapter 47. snmp for ecos, Version, Snmp packages in the ecos source repository – Comtrol eCos User Manual

Page 615: Mibs supported, Snmp for ecos

Advertising
background image

Chapter 47. SNMP for eCos

Version

This is a port of UCD-SNMP-4.1.2

Originally this document said: See http://ucd-snmp.ucdavis.edu/ for details. And send them a postcard.

The project has since been renamed “net-snmp” and re-homed at http://net-snmp.sourceforge.net/ (http://net-
snmp.sourceforge.net/) where various new releases (of the original, not eCos ports) are available.

The original source base from which we worked to create the eCos port is available from various archive
sites

such

as

ftp://ftp.freesnmp.com/mirrors/net-snmp/

(ftp://ftp.freesnmp.com/mirrors/net-snmp/)

or

ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ (ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/) generally with

this filename and details:

ucd-snmp-4.1.2.tar.gz. . . . . . Nov

2

2000

1164k (ftp://ftp.freesnmp.com/mirrors/net-

snmp/ucd-snmp-4.1.2.tar.gz)

SNMP packages in the eCos source repository

The SNMP/eCos package consists of two eCos packages; the SNMP library and the SNMP agent.

The sources are arranged this way partly for consistency with the original release from UCD, and so as to accom-
modate possible future use of the SNMP library without having an agent present. That could be used to build an
eCos-based SNMP client application.

The library contains support code for talking SNMP over the net - the SNMP protocol itself - and a MIB file parser
(ASN-1) which is not used in the agent case.

The agent contains the application specific handler files to get information about the system into the SNMP world,
together with the SNMP agent thread (

snmpd

in

UNIX

terms).

MIBs supported

The standard set in MIB-II, together with the Ether-Like MIB, are supported by default. The MIB files used to
compile the handlers in the agent and to “drive” the testing (snmpwalk et al under

LINUX

) are those acquired from

that same UCD distribution.

These are the supported MIBs; all are below mib2 == 1.3.6.1.2.1:

system

{ mib2 1 }

interfaces

{ mib2 2 }

[ address-translation “at” { mib2 3 } is deprecated ]

ip

{ mib2 4 }

icmp

{ mib2 5 }

tcp

{ mib2 6 }

udp

{ mib2 7 }

[ exterior gateway protocol “egp” { mib2 8 } not supported ]

511

Advertising