On 20/09/2007, shwth_k kk <[EMAIL PROTECTED]> wrote: > Just like that I want to register a handler so that we can control the > INFORM_RESPONSE from the manager.
Which - INFORM, or RESPONSE? The library deals with the RESPONSE acknowledgement automatically. It's not passed back to the agent proper. The INFORM request is received and processed by snmptrapd (or equivalent trap receiver) - not the agent. > Could you please guide us. Sorry - it's the start of the academic year here, so you'll get very quick responses at best from me. Try reading up on "snmptrapd" - man pages, tutorial pages etc. That should do what you want. > Also when we compiled the MIB it generated send_XXX_trap() so that we > can use them to send traps, but i'm unable to understand how to handle > the INFORM RESPONSE. Will mib2c generate recv_XXX_trap() ? No. mib2c is dealing with code for the agent, not snmptrapd. > Also we > want to send INFORM and not trap, will send_v2trap() send INFORM also. Yes - please read the snmpd.conf documentation and FAQ entries relating to sending traps. > Do we need to specify anything in particular. "informsink" Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders