On Tue, 2005-05-24 at 15:41, Eyal Schneider wrote: > Dave> Try removing mention of "public" from the AgentX registration call > Dave> (so it uses the default context), and see if that's any better. > > When I do so I get "Timeout: No Response from localhost". The master > agent seems to ignore the call.
That feels like access control again. Can you retrieve *anything* from the master agent? > If I understand correctly, the snmpget > command (v2c & v1) must receive a community string. Yes - that's correct. I wasn't intending that you drop "public" from the snmpget request - just from the AgentX registration. > The J.agentX API registration call I'm using takes the OID, context > and priority as arguments. <nods> Pretty much standard. > The documentation says that one can use the > community string as the context. Ah - that's a difference from our setup then. You *can* configure the Net-SNMP master agent to handle non-default contexts, but it needs a bit more fiddling. The bottom line is that SNMPv3/AgentX contexts and SNMPv1/2c communities are distinct ideas, and it's not safe to assume a mapping from one to the other. Let's make sure we're clear about what you should be trying. - the J.agentX subagent should register with a context (/community) of "" - the Net-SNMP master agent should have a config including "rocommunity public" - the snmpget/snmpwalk/etc commands should specify -v 1 -c public With this setup: a) Can you see anything in the system group? b) Can you see anything in the tcpConnTable? c) Can you see anything from your J.agentX subagent? Dave ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users