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
JMX::Jmx4Perl::Nagios::CheckJmx4Perl(3) User Contributed Perl Documentation JMX::Jmx4Perl::Nagios::CheckJmx4Perl(3)

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.

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.

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

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

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

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
2022-04-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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