Page 1 of 1
box293_check_vmware number of concurrent checks
Posted: Fri Aug 15, 2014 3:43 pm
by snapon_admin
We just implemented the box293_check_vmware plugin for monitoring our ESX boxes (great plugin, btw!), but when I add more than one ESX host I get the following error on all my service checks:
Total number of concurrent checks exceeds 15, aborting!
What do?
Re: box293_check_vmware number of concurrent checks
Posted: Fri Aug 15, 2014 9:53 pm
by Box293
In the manual:
--concurrent_checks
• Maximum amount of concurrent checks that can run at any one time
• Default is 15
• This option helps prevent the vMA appliance from being overloaded, as the VMware SDK will consume lots of CPU and memory resources
You need to add the --concurrent_checks option to your command(s) for the plugin. For example:
Code: Select all
--concurrent_checks 20
/usr/local/nagios/libexec/check_by_ssh -E 1 -l vi-admin -H 192.168.1.231 -C "~/box293_check_vmware.pl --concurrent_checks 20 --server 192.168.1.211 --check vCenter_Name_Version"
Increase the value to whatever you feel is appropriate.
NOTE: You will need to monitor the vMA CPU and Memory usage and size it appropriately as the more checks that run ... the more resources are consumed on the vMA. This is actually the primary reasons why I developed this plugin to run on the vMA appliance as I had used other VMware plugins that run directly on the Nagios server which often crashed the Nagios server.
Let us know how this goes.
Re: box293_check_vmware number of concurrent checks
Posted: Mon Aug 18, 2014 10:09 am
by snapon_admin
I swear I checked the manual and didn't see that. The thing is so long and full of info I assumed it had to be in there. Derp, must have just missed it.

I'll give this a go and let you know, thanks for the info! (there was way too much unintentional rhyming in that sentence...)
Re: box293_check_vmware number of concurrent checks
Posted: Tue Aug 19, 2014 10:52 am
by snapon_admin
Forgot to come back to this yesterday. Feel free to lock this one up, apparently I just can't read properly...

Thanks box293!