[Nagios-devel] Mistake in Nagios documentation about embedded perl
Posted: Tue Mar 03, 2009 11:58 pm
Il s'agit d'un message à parties multiples au format MIME.
------=_NextPart_000_0019_01C99C64.AFC5AC80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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/ ... hecks.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
------=_NextPart_000_0019_01C99C64.AFC5AC80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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=
<span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
------=_NextPart_000_0019_01C99C64.AFC5AC80
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
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/ ... hecks.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
------=_NextPart_000_0019_01C99C64.AFC5AC80
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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=
<span lang=3DEN-US
style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]