RE: Length of string variable in a Trap

This is a discussion on RE: Length of string variable in a Trap within the SNMP Users forums, part of the Networking and Network Related category; Thanks Mike. What is the maximum length of a SNMP packet supported by NET-SNMP? Is it 64KB since max ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-30-2007
Edison C.
 
Posts: n/a
Default RE: Length of string variable in a Trap

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:mike_ayers@tvworks.com]
Sent: Wednesday, August 29, 2007 12:53 AM
To: Edison C.; net-snmp-users@lists.sourceforge.net
Subject: RE: Length of string variable in a Trap


> From: net-snmp-users-bounces@lists.sourceforge.net
> [mailto:net-snmp-users-bounces@lists.sourceforge.net] 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:39 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0