>>>>> On Tue, 4 Jan 2005 10:54:48 -0500, "Graham, Patrick" <[EMAIL PROTECTED]> 
>>>>> said:

Patrick> On the proxy server snmpd.conf we have: 
Patrick> proxy -v 3 -Cn auth -u myuser -l authNoPriv -a SHA -A my_password
Patrick> remote_agent .1.3.6.1.2.1.1.5.0 .1.3.6.1.2.1.1.6.0
 
Patrick> On the manager system the get we issue is:
Patrick> snmpget -v 3 -u myuser -l authNoPriv -a SHA -A my_password proxy_agent
Patrick> .1.3.6.1.2.1.1.5.0
 
the problem is that for the proxy line you used the -Cn flag which
says to map the request using an SNMPv3 context so that the remote
agent is accessed through a different context.  Try:

snmpget -n auth -v 3 -u myuser -l authNoPriv -a SHA -A my_password proxy_agent 
.1.3.6.1.2.1.1.5.0

Generally you should only want to use either the -Cn option or the
remapping of OID options.  IE, you probably want to just do this:

proxy -v 3 -Cn auth -u myuser -l authNoPriv -a SHA -A my_password remote_agent 
.1.3.6.1.2.1.1.6.0

and then access the remote agent with the -Cn auth flag or the local
agent without it but always use  .1.3.6.1.2.1.1.6.0.
-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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

Reply via email to