No parallel checks with scripts under?

Andreas Ericsson ae at op5.se
Wed Oct 15 15:24:56 CEST 2008


Max wrote:
> On Wed, Oct 15, 2008 at 3:31 AM, Andreas Ericsson <ae at op5.se> wrote:
>> No. Nagios forks after (optionally) caching the plugin in memory,
>> bringing the embedded perl stuff with it. The child runs the cached
>> plugin. The saving is entirely in avoiding to load /usr/bin/perl
>> each and every time a plugin is run (at the slight expense of copying
>> some more memory at every fork if epn is compiled in).
> 
> Thank you, Andreas, I really appreciate your answer. I will go back to
> the drawing board to try to figure out what I am doing wrong then that
> is causing 135 checks to not complete in less than 5 minutes .. avg
> check time is 4 sec, avg check latency is .04 secs,

If average check latency is 0.04 seconds, you may have configured your
checks to run with a greater interval than the default 5 minutes. I've
seen this happen before.

> so not sure what I
> am doing wrong.  the machine is powerful enough to have dozens of
> checks run at the same time, but so far I only see Nagios forking one
> child at a time.  I have interleave set to 's' and intercheck delay
> set to .5 and large_installation_tweaks at 1 and still only one fork
> at a time, which is what lead me to falsely think that ePN checks were
> treated differently.
> 
> So now that i know otherwise, back to the drawing board to figure out
> what I messed up.
> 

Are you using slow-running OCSP/OCHP commands? Are you using them at all?
Are you using NEB-modules?

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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 Users mailing list