>>>>> On Mon, 6 Feb 2006 15:04:50 +0200, "Makavy, Erez (Erez)" <[EMAIL >>>>> PROTECTED]> said:
Erez> Is there some documentation of the semantics of the netsnmp_mib_handler Erez> interface? There is some stuff in the tutorial, and some examples in agent/mibgroup/examples Erez> (e.g. Erez> 1) what do the parameters represent: Erez> netsnmp_mib_handler *handler, A pointer to the handler object you created when you registered. Erez> netsnmp_handler_registration *reginfo, Information about your registration Erez> netsnmp_agent_request_info *reqinfo, Information about the request PDU/etc being handled. Erez> netsnmp_request_info *requests The list of individual requests you need to do Erez> 2) How does the snmp engine react to different return values. Well, you shouldn't actually return errors from the function. You should actually attach them to the request that causes the problem instead. The SNMP protocol needs that information to return to the manager which particular request(s) in a PDU packet caused an error. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
