From: Malathi P. <mal...@ya...> - 2010-06-20 15:56:54
|
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 <mal...@ya...> wrote: From: Malathi Panyam <mal...@ya...> Subject: how to increase the MaxMsgSize to 5000 To: net...@li... Cc: "Dave Shield" <D.T...@li...> 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 |