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
ERROR:Process name table : Message size exceeded buffer max
Re: ERROR:Process name table : Message size exceeded buffer
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!
Re: ERROR:Process name table : Message size exceeded buffer
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
[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
Re: ERROR:Process name table : Message size exceeded buffer
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:
and find this line:
Try increasing the limit - I doubled it to 10000 on my test machine. Now all of my checks work.
Code: Select all
vi /usr/local/nagios/libexec/check_snmp_win.plCode: Select all
$session->max_msg_size(5000)Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: ERROR:Process name table : Message size exceeded buffer
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
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
This one seems to be growing...
I adjusted the wizard so that it now has 10000 as the default.
I adjusted the wizard so that it now has 10000 as the default.
Re: ERROR:Process name table : Message size exceeded buffer
I'm glad I could help, Jason!
Be sure to check out our Knowledgebase for helpful articles and solutions!