public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* snmp agent : how does it work
@ 2007-01-29  9:53 Nelly PISON
  2007-01-29 10:15 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Nelly PISON @ 2007-01-29  9:53 UTC (permalink / raw)
  To: ecos-devel

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.
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 .

Thanks for any response
Nelly PISON


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: snmp agent : how does it work
  2007-01-29  9:53 snmp agent : how does it work Nelly PISON
@ 2007-01-29 10:15 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-01-29 10:15 UTC (permalink / raw)
  To: Nelly PISON; +Cc: ecos-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-29 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-29  9:53 snmp agent : how does it work Nelly PISON
2007-01-29 10:15 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).