RE: Length of string variable in a Trap

"Edison C." <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Mike.
What is the maximum length of a SNMP packet supported by NET-SNMP? Is it
64KB since max size of UDP packet size is 64KB?  
I am planning to have at-least 2 variables of 4096 length. Is that a
cause for concern? 

Thanks 
Edison

-----Original Message-----
From: Mike Ayers [mailto:[email protected]] 
Sent: Wednesday, August 29, 2007 12:53 AM
To: Edison C.; [email protected]
Subject: RE: Length of string variable in a Trap


> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Edison C.

> Could someone let me know what is the maximum length of a 
> string that can be stored in a varbind(part of the variable 
> list)  in  a Trap?

	65,535 8-bit bytes.  If you are going to deal with large
strings, make certain that you are using the byte length and not the
character length, which can be less than a quarter of the byte length in
extreme circumstances!


	HTH,

Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.