Install jmx4perl » History » Revision 4
Revision 3 (chin-yeh, 09/08/2010 03:45 PM) → Revision 4/7 (chin-yeh, 09/08/2010 04:00 PM)
h1. Install jmx4perl *Important note 1*: note*: This addon have to be installed on the machine which hosting Nagios. *Important note 2*: This guide assumes that all of the required Perl module(s) are already installed. If not, you might execute the following commands to install those missing modules: <pre> > $ perl -MCPAN -e 'install xxx::xxx' </pre> *Installation Steps*: <missing module name>'; # Download the source files from "Jmx4Perl":http://search.cpan.org/CPAN/authors/id/R/RO/ROLAND/jmx4perl-0.71.tar.gz # Extract the downloaded file: <pre> # tar -xvzf jmx4perl-0.71.tar.gz </pre> # @cd@ to the directory <pre> # cd jmx4perl-0.71 </pre> # @make@ and @install@ the package by execute the following commands: execute: <pre> # perl Build.pl # ./Build # ./Build test # ./Build install </pre> # soft link the @check_jmx4perl@ <pre> $ cd /usr/local/nagios/libexec $ ln -s /usr/bin/check_jmx4perl . </pre> # _Optional Step_: deploy the @jmx4perl-0.71/agent/j4p.war@ to the target monitor JEE server, e.g. Jboss.