October 14, 2008

net-snmp proxy

For Net-snmp proxy to work, you have to specify the following in your net-snmp snmpd config file:
com2sec -Cn default
group v1
access any noauth exact all none none
proxy -Cn -v 1 -c .1.3

for example:

com2sec -Cn mycontext secname_public default public

group group_public v1 secname_public
group group_public v2c secname_public

view all included .1

access group_public mycontext any noauth exact all none none

proxy -Cn mycontext -v 1 -c public localhost:1161 .1.3

This will work.

Simply specify "rocommunity" and then add the proxy line does not work!!

No comments:

Post a Comment