Hi Amirudeen,
is the OID having the size limit in the MIB, please check the MIB definitions
once
SYNTAX OCTET STRING (SIZE (0..1024))
SYNTAX OCTET STRING (SIZE (0..30)
--
Anish
________________________________
From: Amirudeen <amirud...@stee.stengg.com>
To: 'Anish' <anish2g...@yahoo.co.in>
Cc: 'Net-snmp-coders' <Net-snmp-coders@lists.sourceforge.net>; Yvonne Er
<yvonn...@stee.stengg.com>; Devadoss Baskar (SMTP)
<devadossbas...@stee.stengg.com>
Sent: Thursday, 19 September 2013 12:17 PM
Subject: RE: Some major issue with the net snmp
Hi Anish,
At least this is what I was assuming as far as the String is concerned.
Actually we did some test and whenever the length exceeds 50 bytes, the snmp
agent fails to respond. I have attached the packet that is transmitted for long
string and short string.
Can you help to conclude anything based on the two files I attached here?
Thanks
Amir
From:Anish [mailto:anish2g...@yahoo.co.in]
Sent: Thursday, September 19, 2013 2:15 PM
To: Amirudeen
Cc: Net-snmp-coders
Subject: Re: Some major issue with the net snmp
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