Mistake in Nagios documentation about embedded perl ???
Yann Jouanin
yann.jouanin.list at intelunix.fr
Wed Mar 4 01:00:59 CET 2009
Hello everyone,
I was surprised to read this phrase in the nagios documentation about
embedded perl :
"Without the embedded Perl interpreter, Nagios executes Perl (and non-Perl)
plugins by forking and executing the plugins as an external command. When
the embedded Perl interpreter is used, Nagios can execute Perl plugins by
simply making a library call. >
http://nagios.sourceforge.net/docs/3_0/passivechecks.html
If I had read correctly the code in base/checks.c, Nagios compile the plugin
code using EPN, then fork and execute the previously compiled script.
Otherwise I guess a perl script with an infinity loop would make Nagios
stucks.
Am I wrong?
Yann Jouanin
http://www.yannj.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090304/8290ba56/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list