I would like some help. To learn how to set up a proxy server, I want to
proxy my Linux SNMP server (aurelius) on my Windows SNMP server
(localhost). I tried to follow the guidance at:

http://net-snmp.sourceforge.net/wiki/index.php/Snmpd_proxy

So I added the following to my snmpd.config file on my Windows box.


### The following works:
#proxy -v 2c -c public aurelius .1.4 .1.3

### I would like to use context proxy like the following:
com2sec -Cn ctx_myswitch user1 default aurelius
view all included .1
access notConfigGroup ctx_myswitch any noauth exact all none none
proxy -Cn ctx_myswitch -v 2c -c public aurelius .1.3


This does not work as I get the following, where I expect to see the third
snmpgetnext to report the same as the second snmpgetnext below.

C:\Users\markw>snmpgetnext -v 2c -c public localhost .1.3.6
SNMPv2-MIB::sysDescr.0 = STRING: Windows DESKTOP-6FJOPTT 10.0.17134 Windows
10 Enterprise Intel64 Family 6 Model 26 Stepping 4

C:\Users\markw>snmpgetnext -v 2c -c public aurelius .1.3.6
SNMPv2-MIB::sysDescr.0 = STRING: Linux aurelius 3.13.0-40-generic
#69-Ubuntu SMP Thu Nov 13 17:56:26 UTC 2014 i686

C:\Users\markw>snmpgetnext -v 2c -c ctx_switch localhost .1.3.6
Timeout: No Response from localhost.

Mark.
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to