matteocorti / nagios_plugins

18 stars 7 forks source link

update to #127 #114

Closed matteocorti closed 8 years ago

matteocorti commented 8 years ago

Original reporter: anonymous

Yes, I do use Embedded Perl (apparently). From the .spec file (EPEL):

./configure \         --prefix=%{_datadir}/%{name} \         --exec-prefix=%{_localstatedir}/lib/%{name} \         --with-init-dir=%{_initrddir} \         --with-cgiurl=/%{name}/cgi-bin/ \         --with-htmlurl=/%{name} \         --with-lockfile=%{_localstatedir}/run/%{name}.pid \         --with-nagios-user=nagios \         --with-nagios-grp=nagios \         --bindir=%{_sbindir} \         --libexecdir=%{_libdir}/%{name}/plugins \         --sysconfdir=%{_sysconfdir}/%{name} \         --localstatedir=%{_localstatedir}/log/%{name} \         --with-gd-lib=%{_libdir} \         --with-gd-inc=%{_includedir} \         --enable-embedded-perl \         --with-perlcache \         --with-template-objects \         --with-template-extinfo

[[BR]]and from the nagios.cfg:

This value determines where the p1.pl perl script (used by the

embedded Perl interpreter) is located.  If you didn't compile

Nagios with embedded Perl support, this option has no effect.

p1_file=/usr/sbin/p1.pl

ls -la /usr/sbin/p1.pl

-rwxr-xr-x 1 root root 31430 Sep 11 2010 /usr/sbin/p1.pl

I could not make from your comment if embedded perl is good or bad :)

On the ticketing system: I now have "Modify Ticket", which was not previously there. If I use this function, I get a rejection with a reason of spam.

Jacco

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Embedded Perl is usually problematic (see the disadvantages section of http://nagios.sourceforge.net/docs/3_0/embeddedperl.html)

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Embedded Perl disabled by the plugin itself.