Page 1 of 1

WINDOWS SNMP Error

Posted: Wed Mar 28, 2012 11:42 am
by Flava
I am getting the following error when monitoring services on Windows 2008 using snmp

Code: Select all

ERROR: Process name table : Message size exceeded buffer maxMsgSize

Re: WINDOWS SNMP Error

Posted: Wed Mar 28, 2012 12:17 pm
by lmiltchev
Open the "check_snmp_win.pl" in a text editor:

Code: Select all

vi /usr/local/nagios/libexec/check_snmp_win.pl
...find this line:

Code: Select all

$session->max_msg_size(5000)
Try increasing the limit to 10000:

Code: Select all

$session->max_msg_size(10000)
Hope this helps.