On Fri, 11 Feb 2005 16:56:17 -0800 Riju wrote:
RK>  Do SNMP v3 contexts work with agentx in 5.2.1? 

Yes, they should.

RK> I've been trying to get this work for the past few days. I was trying with
RK> 5.2 initially. Didn't work. So, I tried upgrading to 5.2.1. Still doesn't
RK> work. When I turn on the debug level logs I can see that the master agent
RK> forwards the request to the correct subagent. But, the context information
RK> doesn't seem to reach the subagent. And subagent returns " No Such Object
RK> available on this agent at this OID" error.
RK> 
RK> (This setup works fine when I do not use a context or use the context "")

How are you registering the sub-agent module?

>From the log you sent:

RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] handler:calling:
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] main handler
RK> bulk_to_ next
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] handler:calling:
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] calling handler
RK> bulk_ to_next for mode GET
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] handler:calling:
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] calling handler
RK> null for mode GET
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] helper:null: 
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] Got request
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug] helper:null: 
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug]   oid:
RK> Feb 11 16:23:09 viper GDC[16818]: [ID 702911 local0.debug]
RK> iso.3.6.1.4.1.114313. 1.2.2.1.0

This seems to indicate that the nul handler is being called, eg your hander
isn't being called.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to