JMX::Jmx4Perl::Nagios::CheckJmx4Perl - Module for encapsulating the functionality of check_jmx4perl
# One line in check_jmx4perl to rule them all JMX::Jmx4Perl::Nagios::CheckJmx4Perl->new()->execute();
The purpose of this module is to encapsulate a single run of check_jmx4perl in a perl object. This allows for check_jmx4perl to run within the embedded Nagios perl interpreter (ePN) wihout interfering with other, potential concurrent, runs of this check. Please refer to check_jmx4perl for documentation on how to use this check. This module is probably not of general interest and serves only the purpose described above.
check_jmx4perl
Its main task is to set up one ore more JMX::Jmx4Perl::Nagios::SingleCheck objects from command line arguments and optionally from a configuration file.
Set up a object used for a single check. It will parse the command line arguments and any configuation file given.
Send the JMX request to the server monitored and print out a nagios output.
This file is part of jmx4perl.
Jmx4perl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
jmx4perl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with jmx4perl. If not, see <http://www.gnu.org/licenses/>.
roland@cpan.org
To install JMX::Jmx4Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JMX::Jmx4Perl
CPAN shell
perl -MCPAN -e shell install JMX::Jmx4Perl
For more information on module installation, please visit the detailed CPAN module installation guide.