O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

G.2 Using ePN

In order to use the Embedded Perl interpreter, this feature must be compiled into Nagios. This suffices for Nagios 2.x, but for Nagios 3.0 you must also set parameters in the main configuration file nagios.cfg. In addition, Nagios 3.0 allows each individual Perl plugin to activate or to switch off the Embedded Perl interpreter.

G.2.1 Compiling ePN

The interpreter is integrated during the configure call, with the switch --enable-embedded-perl. In Nagios 2.x you should also use the option --with-perlcache, which ensures that the interpreter caches scripts that have already been loaded, thus speeding them up if they are run again. Nagios 3.0 sets this implicitly if --enable-embedded-perl is specified.

Caching in Nagios 2.x has one drawback: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required