service group concurrency limit?
Páll Guðjón Sigurðsson
palli at ok.is
Tue Jul 16 22:05:48 CEST 2013
We accomplish this at our end with the mod_gearman addon.
What we do is the following:
* Set all the services that need limiting together in one servicegroup
* Get mod_gearman up and running and have at least one mod_gearman_worker node (it may run on the nagios server or on another machine)
* Set max-workers on that mod_gearman_worker to the number of checks that may be run simultaneously
* mod_gearman will execute the checks instead of the nagios server, and number of checks will be limited
The only other way i know how would be to implement a locking (semaphore) somehow in the plugins themselves.
cheers,
Palli
----- Original Message -----
From: "Paul Dubuc" <work at paul.dubuc.org>
To: "Nagios Users List" <nagios-users at lists.sourceforge.net>, "Nagios Developers List" <nagios-devel at lists.sourceforge.net>
Sent: Tuesday, July 16, 2013 7:49:21 PM
Subject: [Nagios-users] service group concurrency limit?
I'm wondering if there is any way to limit the number of services that can be
checked at one time based on service group. I have some service checks that
use a limited pool of resources (smaller than the number of services to check)
and many others that have no such limitation. So I need to set
max_concurrent_checks in nagios.cfg to limit the number of concurrent checks.
Unfortunately, this is a global limit. It would be nice if this sort of
limit could be applied to a service group so the plugins don't have to manage
concurrency.
Any ideas? Thanks,
Paul Dubuc
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Developers
mailing list