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?
box293_check_vmware number of concurrent checks
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: box293_check_vmware number of concurrent checks
In the manual:
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.
You need to add the --concurrent_checks option to your command(s) for the plugin. For example:--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
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"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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: box293_check_vmware number of concurrent checks
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...)
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: box293_check_vmware number of concurrent checks
Forgot to come back to this yesterday. Feel free to lock this one up, apparently I just can't read properly...
Thanks box293!