box293_check_vmware number of concurrent checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

box293_check_vmware number of concurrent checks

Post 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?
User avatar
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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: box293_check_vmware number of concurrent checks

Post 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. :oops: I'll give this a go and let you know, thanks for the info! (there was way too much unintentional rhyming in that sentence...)
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: box293_check_vmware number of concurrent checks

Post by snapon_admin »

Forgot to come back to this yesterday. Feel free to lock this one up, apparently I just can't read properly... :P Thanks box293!
Locked