Re: Flow of Net-SNMP execution

This is a discussion on Re: Flow of Net-SNMP execution within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 2005-06-15 at 08:08, kanda.samy@wipro.com wrote: > I am going to develope one ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-15-2005
Dave Shield
 
Posts: n/a
Default Re: Flow of Net-SNMP execution

On Wed, 2005-06-15 at 08:08, kanda.samy@wipro.com wrote:

> I am going to develope one SNMP agent using Net-SNMP that
> 1) accept get request form manager
> 2) process the PDU
> 3) without returning the value to the manager, my agent should
> pass all the PDU information (OID , Manager address ) to
> some other module.
> 4) Then I have to get the response from that module
> 5) I have to form the return PDU and send to that particular
> manager.


That's pretty much what our agent does currently.
Did you have a particular mechanism in mind for step 3) ?

> 3) Can i redirect execution to some other module from
> the mib2c created code.


mib2c is really aimed at implementing MIB modules for the
Net-SNMP agent. If you're going to be writing your own agent,
it's probably not going to be of much use to you.

> To do this i need to know the complete execution flow of the Net-SNMP
> like
> 1) How it is receiving the PDU
> 2) How i can get the OID from the received PDU.


> Please give me this information or let me know where i can
> get the flow of execution of net-snmp.


See the code under the 'agent' directory.

Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0