Error Cannot Get Snmp Info Message Size Exceeded Buffer Maxmsgsize
register before you can post. / Vous devez vous inscrire avant de pouvoir créer un sujet. Announcement Collapse No announcement yet. Is it safe to adjust the max_msg_size in Collapse X Collapse Posts Latest Activity Search Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts Previous Next mbrownnyc Junior Member Oreonistes Join Date: Jan 2011 Posts: 17 #1 Is it safe to adjust the max_msg_size in 16th December 2011, 22:24 Hello, I just upgraded from 2.1.2 to 2.3.3, and all my Windows hosts began to get an Unknown status of: Code: ERROR when getting SNMP version : Message size exceeded buffer maxMsgSize. After some research, I decided to change the value of the following from 10000 in the check_centreon_snmp_cpu script Code: $sess->max_msg_size(24000); 24000 is about the smallest size I was able to set the value without the script failing with the same message. Should I just set this to 65535? What are the consequences of this change? Thanks, Matt Last edited by mbrownnyc; 16th December 2011, 22:29. Tags: None Aarone Junior Member Oreonistes Join Date: Oct 2011 Posts: 3 #2 17th December 2011, 15:41 Great work. Thanks for sharing this rating. I will try it soon. Comment Post Cancel Previous Next Help Contact Us Facebook Linkedin Twitter Go to top Powered by vBulletin Version 5.2.4 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved. All times are GMT1. This page was generated at 1 minute ago. Working... Yes No OK OK Cancel X
: May 25 2007 FIRST, look at the web page associated with every script. Running the scripts : - The scripts outputs "Can't locate Net/SNMP.pm in @INC....." - How do I install Net::SNMP perl module - What are the supported platforms to run the scripts on ? - How do I get help on the options ? - Return code of X is out of bounds - Are these plugins compatible with Nagios 2.0 ? - ERROR: XXXXXX : Expected OBJECT IDENTIFIER in dotted notation. - "No Output" using Nagios 2 - Getting : "ERROR: Size table :Message size exceeded buffer maxMsgSize" - No usable data on file (X rows) Misc - Are these scripts secure ? - How can I get help ? Is there a mailling list ? https://forum.centreon.com/forum/centreon-use/plugins/12421-is-it-safe-to-adjust-the-max_msg_size-in a forum ? - Can I donate to help this project ? The scripts outputs "Can't locate Net/SNMP.pm in @INC....." You don't have Net::SNMP installed, see below How do I install Net::SNMP perl module ? There are 2 ways of doing this 1) By CPAN (best) on command line, as root : [your_host]# perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.76) ReadLine support enabled cpan> install Net::SNMP If it's the first time you run CPAN, it will probably ask http://nagios.manubulon.com/faq.html you some (simple) questions. CPAN will also ask you to satisfy some dependencies (Crypt::DES, Digest::MD5, etc..). 2) "By hand" Get the folowings modules (tar.gz format) on www.cpan.org - Crypt::DES - Digest::MD5 - Digest::SHA1 - Digest::HMAC - Net::SNMP for each one (you must install Net::SNMP at the end) : tar zxf
previous next » Print Pages: [1] Author Topic: Discovery of Nexus 5000 => Message size exceeded buffer maxMsgSize (Read 5205 times) brunonilo Guest Discovery of Nexus 5000 => Message size exceeded buffer maxMsgSize « on: January 21, 2010, 09:55:47 http://forum.nedi.ch/index.php?topic=643.0 PM » Last line of debug msg:00xxcdxxdxxport-channel1016hostnameQp=Message size exceeded buffer maxMsgSizeMtMessage size exceeded buffer https://monitoring-portal.org/index.php?thread/13175-gel%C3%B6st-message-size-exceeded-buffer-maxmsgsize/ maxMsgSizeWhere in libsnmp.pl can I set a larger msgSize?Thanks Logged brunonilo Guest Re: Discovery of Nexus 5000 => Message size exceeded buffer maxMsgSize « Reply #1 on: January 21, 2010, 10:14:34 PM » Found more about this issue...I believe that the CDP message sent by this device is exceeding the max...libsnmp.plline 960 error cannot -maxmsgsize => 65535line 1109 $r = $session->get_table('1.3.6.1.4.1.9.9.23.1.2.1.1');For any value greater than 65535 I get "Can't call method "get_table" on an undefined value at ./inc/libsnmp.pl line 1019."error after let 65535 as maxmsgsize...CDP: Ethernet101/1/24> switchname,Gi1/0/26 IP=111.111.111.111 TYP:cisco WS-CBS3120G-S Cisco IOS Software, CBS31X0 Software (CBS31X0-UNIVERSALK9-M), Version 12.2(46)SE, RELEASE SOFTWARE (fc2)Copyright error cannot get (c) 1986-2008 by Cisco Systems, Inc.Compiled Thu 21-Aug-08 16:50 by nachen SV:1 P:0mW on Gi1/0/26-FD Vl0CDP: Ethernet1/2> switchname,Et1/2 IP=111.111.111.111 TYP:N5K-C5020P-BF Cisco Nexus Operating System (NX-OS) Software, Version 4.1(3)N1(1a) SV:1 P:0mW on Et1/2-FD Vl0MtMessage size exceeded buffer maxMsgSize « Last Edit: January 21, 2010, 10:17:51 PM by whitehatguy » Logged brunonilo Guest Re: Discovery of Nexus 5000 => Message size exceeded buffer maxMsgSize « Reply #2 on: January 22, 2010, 10:18:35 PM » had to increase the "maxmsgsize" under sub DisProtocol to 5500 and add -maxmsgsize => 5000 to sub Modules. Logged rickli Administrator Hero Member Posts: 2461 Re: Discovery of Nexus 5000 => Message size exceeded buffer maxMsgSize « Reply #3 on: January 26, 2010, 06:54:10 PM » I've added 5500 on both, thanks for finding this one out! Logged Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!-Remo jsnmngwn Guest Re: Discovery of Nexus 5000 => Message size exceeded buffer maxMsgSize « Reply #4 on: April 21, 2011, 05:17:57 PM » Ran into this issue again with 1.0.6 RC1 on a Nexus 7010. Saw that libsnmp.pm actually had comment on what needed to be done, but my script-fu was not good enough to see if it would somehow detect this was a Nexus switch and adjust the message size accordingly. I th
Members Icinga PNP Icinga Exchange Monitoring Plugins NagVis Undone Threads Go to Page Bottom Sitemap monitoring-portal.org » Forum » Addons & Plugins » Plugins » [gelöst] Message size exceeded buffer maxMsgSize This site uses cookies. By continuing to browse this site, you are agreeing to our use of cookies. More details Your browser has JavaScript disabled. If you would like to use all features of this site, it is mandatory to enable JavaScript. querdenker Beginner Posts 32 Number of hosts 60 Number of services ca. 150 Operating Systems Ubuntu 8.04 LTS 1 [gelöst] Message size exceeded buffer maxMsgSize Jan 13th 2009, 7:46am Hallo zusammen Ich überwache im Moment ca. 30 Server alle Windows 2003. Bei einem Server habe ich das Problem, dass das Plugin "check_snmp_win" nicht funktioniert. Source Code nagios@nag01:/usr/local/nagios/libexec$ ./check_snmp_win.pl -2 -C public -H SERVERNAME -n "Microsoft Exchange Information Store" ERROR: Process name table : Message size exceeded buffer maxMsgSize. Auf einem anderen Server klappt es ohne Probleme. Egal was ich für einen Dienst überprüfen will, ich bekomme immer die gleiche Meldung. Auf der HP nagios.manubulon.com/faq.html#FAQ9 habe ich was gefunden aber leider geht das nicht mit "check_snmp_win" Your snmp table is too big. Some of my scripts (check_snmp_storage and check_snmp_process) now have an option (-o) to set this directly on command line (thx to Makina Corpus for the patch). In other scripts, try adding : $session->max_msg_size(5000); After the session has been initialized. Hat jemand einen Tipp? Mit der Suche habe ich nicht viel gefunden. Danke UNIX ist ein benutzerfreundliches System. Es ist nur manchmal etwas eigen in der Auswahl seiner Freunde. Open Source. Open Minds. Open Future. Post was edited 1 time, last by querdenker (Jan 13th 2009, 10:33am). Quote Report Content Go to Page Top LaMi Geek Likes Received 8 Posts 3,693 Occupation Entwickler Number of hosts x Number of services x Operating Systems SLES,CentOS,Debian 2 Jan 13th 2009, 8:42am Die Lösung deines Problems hast du selbst schon geschrieben. Die Prozess-Tabelle ist auf dem System zu groß für das Script. Du musst es so anpassen, dass es mehr Daten aufnehmen kann. Das geht über den Aufruf: Source Code $session->max_msg_size(5000); aber leider geht das nicht mit "check_snmp_win" Was geht da nicht? NagVis: [ NagVis.org | ] Nagios Downtime Scripts |