Project

General

Profile

Actions

Install jmx4perl » History » Revision 5

« Previous | Revision 5/7 (diff) | Next »
chin-yeh, 09/08/2010 04:51 PM


Install jmx4perl

Important note 1: 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:

perl -MCPAN -e 'install xxx::xxx'

Installation Steps:

  1. Download the source files from Jmx4Perl
  2. Extract the downloaded file:
    # tar -xvzf jmx4perl-0.71.tar.gz
    
  3. cd to the directory
    # cd jmx4perl-0.71
    
  4. make and install the package by execute the following commands:
    # perl Build.pl
    # ./Build
    # ./Build test
    # ./Build install
    
  5. soft link the check_jmx4perl
    $ cd /usr/local/nagios/libexec
    $ ln -s /usr/bin/check_jmx4perl .
    
  6. Optional Step: deploy the jmx4perl-0.71/agent/j4p.war to the target monitor JEE server, e.g. Jboss.

Updated by chin-yeh about 14 years ago · 5 revisions