Hi, maintainers This patch is similar with snmpTargetAddr patch. Would you like to merge this patch into trunk?
Best Regards! zhuyj On 08/19/2013 12:58 PM, zhuyj wrote: > Hi, > > I run the following commands: > > --snmpset -c NETMAN -v 2c 128.224.162.243 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.0.25 i 5 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.'..' = INTEGER: > createAndWait(5) > > --snmpget -c NETMAN -v 2c 128.224.162.243 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.0.25 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.'..' = No Such Instance > currently exists at this OID > > --snmpget --version > NET-SNMP version: 5.7.2 > --snmpset --version > NET-SNMP version: 5.7.2 > > This is because paramName in struct targetParamTable_struct is > NUL-terminated string. Now we modify it to counted-string. It can work > now. > > --snmpset -c NETMAN -v 2c 128.224.162.243 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.0.25 i 5 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.'..' = INTEGER: > createAndWait(5) > --snmpget -c NETMAN -v 2c 128.224.162.243 > SNMP-TARGET-MIB::snmpTargetParamsRowStatus.0.25 -Ofn > .1.3.6.1.6.3.12.1.3.1.7.0.25 = INTEGER: notReady(3) > > Now I attached the patch in the attachment. Please check it. > Would you like to merge this patch into trunk? > > Best Regards! > Zhuyj ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders