Hi, maintainers Would you like to comment on this patch? Thanks a lot.
Best Regards! zhuyj On 08/19/2013 03:30 PM, zhuyj wrote: > 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 > > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders