Proxy test.net-snmp.org on my server using context

Mark Christiansen <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CABbGQ1fgwBUtEo63xkb6X62L+s7OUMG1WwdvtH4N3hq6VyQkMQ@mail.gmail.com>
I would like some help proxying test.net-snmp.org on my local server. I
followed directions at:

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

Here is what I added to my localhost snmpd.conf file:



###########################################################################
# Proxy using context
###########################################################################

# com2sec [-Cn CONTEXT] SECNAME SOURCE COMMUNITY
com2sec -Cn ctx_test notConfigUser default test.net-snmp.org

# view VNAME TYPE OID [MASK]
view allview included .1

# access GROUP CONTEXT {any|v1|v2c|usm|tsm|ksm} LEVEL PREFX READ WRITE
NOTIFY
access notConfigGroup ctx_test any noauth exact allview none none

# proxy [-Cn CONTEXTNAME] [SNMPCMD_ARGS] HOST OID [REMOTEOID]
proxy -Cn ctx_test -v 2c -c public test.net-snmp.org .1.3



Here is what I get when I get when I run snmpgetnext:

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  test.net-snmp.org localhost .1.3.6
Timeout: No Response from localhost.

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.