Error on SNMP service checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mbrowning
Posts: 34
Joined: Tue Oct 23, 2012 9:51 am

Error on SNMP service checks

Post 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?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Error on SNMP service checks

Post by slansing »

Can you post the check here as you would run it from the Nagios Server's command line?
mbrowning
Posts: 34
Joined: Tue Oct 23, 2012 9:51 am

Re: Error on SNMP service checks

Post by mbrowning »

$USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C bir5net --v2c -n 'Active Directory Domain Services'
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error on SNMP service checks

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mbrowning
Posts: 34
Joined: Tue Oct 23, 2012 9:51 am

Re: Error on SNMP service checks

Post by mbrowning »

changed to 10000 and worked.

Thanks again!
Locked