After digging through the agent code, I figured out that we set the 
SNMP_MAX_MSG_SIZE to 1472 in snmp_api.h. 
 
Can we increase this size? is it advisable?
 
On the other hand with SNMP_MAX_MSG_SIZE  set to 1472, I tried with different 
msg sizes, with 
$session->max_msg_size(xxxx);

I arrived at the figure 2941 bytes, if we exceed this number we see the msg 
"The message size exceeded the buffer maxMsgSize of  xxxx" 
 
So can anyone help me is this number 2941 is a perl snmp side limitation? or 
otherwsie how can I be able to set the max size to 5000? 

Thanks and Regards,
Malathi

--- On Fri, 6/18/10, Malathi Panyam <[email protected]> wrote:


From: Malathi Panyam <[email protected]>
Subject: how to increase the MaxMsgSize to 5000
To: [email protected]
Cc: "Dave Shield" <[email protected]>
Date: Friday, June 18, 2010, 8:49 AM







Hi,
    My customer is trying to increase the maxMsgSize to 5000 bytes, but seeing 
the message "Message size exceeded buffer maxMsgSize".

It works fine with 1472 bytes. How can I increase the size? 
 
On a side note we decided to support only UDP.
 
Thanks and Regards,
Malathi

 



      
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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

Reply via email to