net-snmp proxy configuration

"Young, Alistair" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello all,
 
I am trying to configure the net-snmp to use another agent for certain
requests.  I've added a line like this to my snmpd.conf file and have
restarted the daemon:
 
proxy -v 3 -lauthNoPriv -aMD5 -Apassword -uuser agenthost .1.3.6.etc
 
I can successfully query the second agent directly:
 
$ snmpget -v 3 -lauthNoPriv -aMD5 -Apassword -uuser agenthost .1.3.6.etc
 
But this fails when I try to access the OID through the proxy:
 
$ snmpget -v 3 -lauthNoPriv -aMD5 -Apassword -uuser localhost .1.3.6.etc
 
Looking at the logging on the second agent, it is rejecting the request
because of an invalid engine ID.
 
I have tried configuring the proxy to use SNMPv1, like so:
 
proxy -v 1 -c public agenthost .1.3.6.etc
 
And this then works rather nicely.
 
So my question is - how can I configure net-snmp to talk to the second
agent via SNMPv3?  I've tried specifying the second agent's engine ID in
snmpd.conf but this didn't appear to help.
 
I'm running net-snmp 5.3 on a Linux box.  The second agent is an
SNMP4J-based agent running on a separate, Windows, machine.
 
Thanks,
 
 
Alistair.


Please help Logica to respect the environment by not printing this email  /  Merci d'aider Logica à préserver l'environnement en évitant d'imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.