GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JMX::JMX4PERL::NAGIOS::CHECKJMX4PERL (3)

.ds Aq ’

NAME

JMX::Jmx4Perl::Nagios::CheckJmx4Perl - Module for encapsulating the functionality of check_jmx4perl

CONTENTS

SYNOPSIS



  # One line in check_jmx4perl to rule them all
  JMX::Jmx4Perl::Nagios::CheckJmx4Perl->new()->execute();



DESCRIPTION

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.

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.

METHODS

$check = new $JMX::Jmx4Perl::Nagios::CheckJmx4Perl() Set up a object used for a single check. It will parse the command line arguments and any configuation file given.

$check->execute()

Send the JMX request to the server monitored and print out a nagios output.

$check->exit()

Write out result and exit. This method can be overridden to provide a custom output, which can be extracted from NagiosPlugin object.

LICENSE

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/>.

AUTHOR

roland@cpan.org
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JMX::JMX4PERL::NAGIOS::CHECKJMX4PERL (3) 2016-04-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.