On 05/02/2008, Lisa Morgan <[EMAIL PROTECTED]> wrote:
> Each OID is registered individually by calling
> 'netsnmp_create_handler_registration()'.

No - that just creates the handler registration structure.
How are these OIDs actually registered?
What is the full code of your initialisation function?


> The handler calls netsnmp_set_request_error() with SNMP_ERR_NOSUCHNAME

You should probably be using SNMP_ERR_NOSUCHINSTANCE or
SNMP_ERR_NOSUCHOBJECT  (depending on circumstances).
But this is only relevant for GET requests.   When processing GETNEXT
requests you would simply return without setting a value.


It's difficult to be more precise without further details about exactly
what your code looks like.

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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to