Hi, Magnus

Please help me to merge this patch into trunk. Thanks a lot.

Best Regards!
Zhu Yanjun

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


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to