Got error when running plugin check_tomcat.pl
Posted: Wed Jan 08, 2014 5:00 am
Hi,
I've got the followin error when running : /usr/local/nagios/libexec/check_tomcat.pl -H server (I downloaded it from http://exchange.nagios.org/directory/Pl ... pl/details)
Can't locate XML/XPath.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8 /i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_ perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-mul ti /usr/lib/perl5/5.8.8 .) at ./check_tomcat.pl line 27.
BEGIN failed--compilation aborted at ./check_tomcat.pl line 27.
Seems I need to install :
LWP - The World-Wide Web library for Perl
XML::XPath - for parsing and evaluating XPath statements
How could I easily install that ?
Please help me.
Frederic
I've got the followin error when running : /usr/local/nagios/libexec/check_tomcat.pl -H server (I downloaded it from http://exchange.nagios.org/directory/Pl ... pl/details)
Can't locate XML/XPath.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8 /i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_ perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-mul ti /usr/lib/perl5/5.8.8 .) at ./check_tomcat.pl line 27.
BEGIN failed--compilation aborted at ./check_tomcat.pl line 27.
Seems I need to install :
LWP - The World-Wide Web library for Perl
XML::XPath - for parsing and evaluating XPath statements
How could I easily install that ?
Please help me.
Frederic