Hi Amirudeen,

There is no limit to string length as long as String DataStructure can hold the 
value it will be fine.

you told, you have shorten the length and it start working, what string you 
used at that time in Windows "\0\r" can cause problem 

use the snmpset with "-d" option that will tell debugging options, use tcpdump 
to capture the packet to see what actually passed to the Agent.

--
Anish



________________________________
 From: Amirudeen <amirud...@stee.stengg.com>
To: net-snmp-coders@lists.sourceforge.net 
Sent: Friday, 6 September 2013 10:09 AM
Subject: Some major issue with the net snmp
 


Hi guys,
 
I am using the net snmp source code on the client side.
Using the Microsoft snmp manager I tried to send the following command :
 
snmpset -v1 -c public 10.3.1.1 1.3.6.1.4.1.12868.100.1.1.5.26.2 s 
"2/0/r100s100i9r100s100i9r100s100i9r100s100i9r100s100i9r100s100i9r100s100i9"   
 
For some reason the snmp agent never sends any successful response. Instead the 
snmp managet retries 6 times before giving up the sending.
 
When I reduce the string size to a small size then I don’t face any issue.
 
Does this mean that there is a limit to the string length that can be used by 
the client?
 
Please enlighten me on this ASAP.
 
Thanks
 
Amir
Singapore
 
 

[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&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