Re :Re: How can I retrieve request id for inform requests

"girish" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1202807427.S.5340.11431.f4mail-234-217.rediffmail.com.old.1202808155.3073@webmail.rediffmail.com>
Thanks for your reply Dave.Even if I cant handle the response is there any way by which I can get the inform request Id, just to inform my subagent application that a notification has been sent with such a request id.???On Tue, 12 Feb 2008 09:01:54 +0000 "Dave Shield"  wrote  On 12 Feb 2008 06:50:37 -0000, girish  wrote:  &gt;        I'm using agent-subagent approach in my application  &gt;         I'm using send_v2trap to send the inform request to master.  &gt; Once I send a request to master I need to retrieve the request id to  &gt; process the inform response. How can I do this???    You can't - the response packet is handled by the agent framework.  It isn't passed back to the MIB module code.    The design of the Net-SNMP agent trap API is that a MIB module  requests that a notifica
 tion be sent, and that's the end of its  responsibility.  Questions of trap versions, where the traps should  go, and how to handle responses are left to the main agent code.    There's simp
 ly no mechanism for passing this information back  to the MIB code.    Dave    -------------------------------------------------------------------------  This SF.net email is sponsored by: Microsoft  Defy all challenges. Microsoft(R) Visual Studio 2008.  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/  _______________________________________________  Net-snmp-users mailing list  [email protected]  Please see the following page to unsubscribe or change other options:  https://lists.sourceforge.net/lists/listinfo/net-snmp-users    


Regards,
Girish

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.