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?
Error on SNMP service checks
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Error on SNMP service checks
Can you post the check here as you would run it from the Nagios Server's command line?
Re: Error on SNMP service checks
$USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C bir5net --v2c -n 'Active Directory Domain Services'
Re: Error on SNMP service checks
You can open the "check_snmp_win.pl" in a text editor:
Go to the line that says (it should be close to line 253):
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.
Code: Select all
vi /usr/local/nagios/libexec/check_snmp_win.plCode: Select all
$session->max_msg_size(10000);Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Error on SNMP service checks
changed to 10000 and worked.
Thanks again!
Thanks again!