[Nagiosplug-devel] RFC: Nagios 3 and Embedded Perl Plugins

Ethan Galstad nagios at nagios.org
Thu Dec 21 19:52:00 CET 2006


Hi Everyone -

One of the things that Nagios 3 will support is the ability to use the 
embedded Perl interpreter for specific perl plugins only, instead of all 
or nothing. The Nagios 3 development code currently support the 
following...

Line 2 of a Perl plugin may start with one of the following:

#USE_EPN

-or-

#NO_EPN

If the #USE_EPN statement is found, Nagios will use the embedded Perl 
interpreter to run the plugin.  If #NO_EPN is found, it will not be used 
(even if epn is compiled in and enabled in the Nagios daemon).  If 
neither directive is found, Nagios will default to the behavior 
specified by a new 'use_embedded_perl_implicitly' variable in the main 
Nagios config file.

Plugin devs - would you prefer different statements other than #USE_EPN 
/ #NO_EPN, or are they okay?  Any other comments or suggestions?


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org




More information about the Devel mailing list