Actions
Install jmx4perl¶
Official website: http://search.cpan.org/~roland/jmx4perl/
Important note 1: This addon have to be installed on the machine which is 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:
perl -MCPAN -e 'install xxx::xxx'
Installation Steps:¶
- Download the source files from Jmx4Perl
- Extract the downloaded file:
# tar -xvzf jmx4perl-0.71.tar.gz
cd
to the directory# cd jmx4perl-0.71
make
andinstall
the package by execute the following commands:# perl Build.pl # ./Build # ./Build test # ./Build install
- soft link the
check_jmx4perl
$ cd /usr/local/nagios/libexec $ ln -s /usr/bin/check_jmx4perl .
- Optional Step: deploy the
jmx4perl-0.71/agent/j4p.war
to the target monitor JEE server, e.g. Jboss.
Updated by chin-yeh over 14 years ago · 7 revisions