ERROR:Process name table : Message size exceeded buffer max

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jglass
Posts: 37
Joined: Thu Jan 26, 2012 2:28 pm

ERROR:Process name table : Message size exceeded buffer max

Post by jglass »

Hello:

I'm using the SNMP wizard for Windows Servers. Services for disk, memory utilization are working; Services to monitor Windows Services or Processes fail with this error:
ERROR: Process name table : Message size exceeded buffer maxMsgSize.

I found and tried this: In case you get a "ERROR: running table : Message size exceeded maxMsgSize" error, you may need to adjust the maxMsgSize, i.e. the maximum size of snmp message with the -o option. Try a value with the -o AND the -v option : the script will output the actual value so you can add some octets to it with the -o option.

Here is my monitor command:
check_xi_service_snmp_win_service! -C public --v2c -n 'ServiceName'!!!!!!!

I added the -o option, then the -o -v options together. Also, used -o 5000:
check_xi_service_snmp_win_service! -C public --v2c -n 'ServiceName' -o 5000 -v!!!!!!!
When using this string the Error code is: Alarm at 15.

I'm not sure whether I'm adding the -o and -v options is the correct order OR if this is really the right solution. I have tried placing it in several locations (before service name, after service name, after the !!!!!!!.

Anyone have any idea how to correct this?

Thank you,

Jason
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ERROR:Process name table : Message size exceeded buffer

Post by lmiltchev »

Can you try to run the check in the command line and show us the actual command that you are running, and the output? For example:

Code: Select all

cd /usr/local/nagios/libexec
./check_snmp_process.pl -H 192.168.X.XXX  -C public --v2c -n 'explorer.exe'
1 process matching explorer.exe (> 0)
Be sure to check out our Knowledgebase for helpful articles and solutions!
jglass
Posts: 37
Joined: Thu Jan 26, 2012 2:28 pm

Re: ERROR:Process name table : Message size exceeded buffer

Post by jglass »

Here it is. Pretty much the same as the GUI is reporting:

[root@localhost libexec]# ./check_snmp_win.pl -H 172.x.x.x -C public --v2c -n 'NISvc'
ERROR: Process name table : Message size exceeded buffer maxMsgSize.

I googled the error, but didnt find anything that helped.

-Jason
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ERROR:Process name table : Message size exceeded buffer

Post by lmiltchev »

I was able to recreate this issue and I've been playing around with it for a while. I *believe* I have a solution for you. Open the "check_snmp_win.pl" in a text editor:

Code: Select all

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

Code: Select all

$session->max_msg_size(5000)
Try increasing the limit - I doubled it to 10000 on my test machine. Now all of my checks work.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jglass
Posts: 37
Joined: Thu Jan 26, 2012 2:28 pm

Re: ERROR:Process name table : Message size exceeded buffer

Post by jglass »

That got it! Thank you for the help -- I'm sure I'll be able to fix other issues now, as I become more fimiliar with finding the right attributes in the lib files.

Thanks,
Jason
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ERROR:Process name table : Message size exceeded buffer

Post by scottwilkerson »

This one seems to be growing...

I adjusted the wizard so that it now has 10000 as the default.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ERROR:Process name table : Message size exceeded buffer

Post by lmiltchev »

I'm glad I could help, Jason!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked