Hi ,
yesterday we had a problem in our environment with nagios
All the plugins using the perl embedded were in UNKNOWN state giving all the same output listed below :
**ePN /usr/lib64/nagios/plugins/check_state.pl: ""my" variable $Config::Tiny::VERSION can't be in a package at /usr/lib/perl5/site_perl/5.8.8/Config/Tiny.pm line 1, near "$Config::Tiny::VERSION "
BEGIN not safe after errors--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Config/Tiny.pm line 10, <DATA> line 522.
Compilation failed in require at (eval 1037) line 3, <DATA> line 522.
After restarting nagios the problem was gone
Anyone have any idea what could be causing the problem??
regards
Problem with embedded perl on Nagios Core 3.2.3
Re: Problem with embedded perl on Nagios Core 3.2.3
Did you change anything on the system prior to seeing this error? What is the output of the following command?
Code: Select all
grep "perl" /usr/local/nagios/etc/nagios.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem with embedded perl on Nagios Core 3.2.3
Below the output of the command grep "perl" /etc/nagios/nagios.cfg
# This value determines where the p1.pl perl script (used by the
enable_embedded_perl=1
use_embedded_perl_implicitly=1
# This value determines where the p1.pl perl script (used by the
enable_embedded_perl=1
use_embedded_perl_implicitly=1
Re: Problem with embedded perl on Nagios Core 3.2.3
I know that there have been issues with using nagios with embedded perl. That why in Nagios XI, I believe, nagios is compiled with no support for an embedded Perl interpreter.
Is "check_state.pl" a custome plugin? Did you change anything on the system prior to seeing this error? Was the plugin developed for use with embedded perl?
http://nagios.sourceforge.net/docs/3_0/epnplugins.html
Is "check_state.pl" a custome plugin? Did you change anything on the system prior to seeing this error? Was the plugin developed for use with embedded perl?
http://nagios.sourceforge.net/docs/3_0/epnplugins.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem with embedded perl on Nagios Core 3.2.3
Hi guys ,
we fix the problem. there was a problem with a perl script executed by an event handler. That's why the problem appeared suddendly
Thanks all for the reply
we fix the problem. there was a problem with a perl script executed by an event handler. That's why the problem appeared suddendly
Thanks all for the reply