Page 1 of 1

Error on SNMP service checks

Posted: Tue Oct 30, 2012 1:38 pm
by mbrowning
I have run into this error on multiple different servers when doing an snmp service check:

ERROR: Process name table : Message size exceeded buffer maxMsgSize

The check command I'm using is the check_xi_service_snmp_win_service.

What are the steps I need to do to correct this problem?

Re: Error on SNMP service checks

Posted: Tue Oct 30, 2012 2:55 pm
by slansing
Can you post the check here as you would run it from the Nagios Server's command line?

Re: Error on SNMP service checks

Posted: Tue Oct 30, 2012 2:59 pm
by mbrowning
$USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C bir5net --v2c -n 'Active Directory Domain Services'

Re: Error on SNMP service checks

Posted: Tue Oct 30, 2012 4:45 pm
by lmiltchev
You can open the "check_snmp_win.pl" in a text editor:

Code: Select all

vi /usr/local/nagios/libexec/check_snmp_win.pl
Go to the line that says (it should be close to line 253):

Code: Select all

$session->max_msg_size(10000);
and try increasing the value in the brackets. On my test box I have "10000". I am not sure what's yours, but you can increase it, and see if this is going to fix your issue.

Hope this helps.

Re: Error on SNMP service checks

Posted: Wed Oct 31, 2012 1:31 pm
by mbrowning
changed to 10000 and worked.

Thanks again!