This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: snmp agent : how does it work
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Nelly PISON <nelly dot pison at elios-informatique dot fr>
- Cc: ecos-devel at sources dot redhat dot com
- Date: Mon, 29 Jan 2007 11:15:08 +0100
- Subject: Re: snmp agent : how does it work
- References: <45BDC423.9010507@elios-informatique.fr>
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