No parallel checks with scripts under?

Andreas Ericsson ae at op5.se
Wed Oct 15 09:31:14 CEST 2008


Max wrote:
> Hi,
> 
> I have read through the p1.pl code again tonight and looked at
> perlxsi.c and read all of the docs on ePN I can find that come with
> Nagios, and I see nothing about ePN doing multiplexing or anything of
> that sort that would allow it to execute ePN checks in parallel the
> way forked checks can be run.
> 
> Is this indeed the case? :)
> 

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).

> 
> Multiplexing is another thought, that too introduces complexitities,
> that I understand as well.
> 

Multiplexing would be the way to go. It's the most complex, but the
most portable and the least resource-hungry.

-- 
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