Hi,

I am writing code to enable SNMP features for my C++ application.
I have gone through all the examples and find delayed_instance.c suites
my needs.
I want to register a root OID (1.3.6.1.4.1.3814.3) with the NetSNMP
library with a callback so that any query for OID containing the root
OID (for eg. 1.3.6.1.4.1.3814.3.1.0 ; 1.3.6.1.4.1.3814.3.2.0 etc.)
should flow to this callback.

I am using netsnmp_create_handler_registration() to register the root
OID. 
When I run my application and do a snmp get for the root OID, the
callback method gets called. 
However when I query for other OID containing the root-oid, it is not
getting called.

Is there a alternate method to register a root OID with all its
subnodes? 
Please advise.
Sorry if I am vague in my description, this is my first post. 

Thanks,
SSinha


                                        
-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain 
confidential and proprietary information of Alcatel-Lucent and/or its 
affiliated entities. Access by the intended recipient only is authorized. Any 
liability arising from any party acting, or refraining from acting, on any 
information contained in this e-mail is hereby excluded. If you are not the 
intended recipient, please notify the sender immediately, destroy the original 
transmission and its attachments and do not disclose the contents to any other 
person, use it for any purpose, or store or copy the information in any medium. 
Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or 
its affiliated entities.
                                        
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to