Hi,
I have had the same error explain in the ticket #1535960 (http://sourceforge.net/tracker/index.php?func=detail&aid=1535960&group_id=134917&atid=732011).
When I was quering systems with more than 30 partitions, I've got the error message "ERROR: Status table:
Message size exceeded maxMsgSize". When I increased max_msg_size near to 65535, I got fragmentation of UDP packet.
The problem is that the plugin makes only one call of get_request() with lots of OIDS (more than 100 in my case). I've made a patch which call get_request() with maximum 12 OIDS, and gather all data in a for loop.
I will attach with this ticket :
- error.log : which display the full debug trace of the problem described
- check_snmp_storage-1.3.3-get_request_too_big.lng.patch : this is the patch applied on check_snmp_storage.pl script to solve the problem.
The patch has been tested on Solaris and Linux with success.
Best regards,
patch to solve "message size exceeded maxMsgSize" error
Here is the command line I use during my tests :
tauop@nagios:/usr/lib/nagios/plugins# ./check_snmp_storage.pl -v -H XXX.XXX.XXX.XXX -C public -m / -w 80 -c 90 -t 60 -o 65535
I've also added "$session->debug( Net::SNMP->DEBUG_ALL)" at line 392, to have all debug messages.
debug messages