This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: snmp agent : how does it work


On Mon, Jan 29, 2007 at 10:53:39AM +0100, Nelly PISON wrote:
> Hello,
> 
> I have to realize an SNMP agent on a board with ecos and  the freeBSD 
> TCP/IP stack that already work fine
> 
> 1 - does the ecos agent snmp work without problem ?
> 
> 2 - I want to manage only 4 data to be read by a manager. I think it is 
> possible to do so without creating necessarily  a MIB.

You always need a MIB. 

> So in the user init function I want to declare them: which function can 
> be use?
> I look for  an equivalent to netsnmp_register_int_instance() that I 
> found in an example about SNMP
> But this function doesn't exist in the ecos packages .

Take a look at the existing agent MIB implementations. eg 
packages/net/snmp/agent/current/src/mibgroup/mibII/ip.c

        Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]