Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
E
G
H
I
J
L
M
N
P
Q
R
S
T
U
V
A
addAcceptedHost(String)
- Method in class it.jnrpe.
JNRPE
Adds an address to the list of accepted hosts
addArgument(CommandOption)
- Method in class it.jnrpe.commands.
CommandDefinition
addCommandDefinition(CommandDefinition)
- Method in class it.jnrpe.commands.
CommandRepository
Adds a new command definition to the repository
addOption(PluginOption)
- Method in class it.jnrpe.plugins.
PluginDefinition
Adds a new option to the plugin
addPluginDefinition(PluginDefinition)
- Method in class it.jnrpe.plugins.
PluginRepository
B
BadCRCException
- Exception in
it.jnrpe.net
This exception is thrown if the response CRC or the request CRC ccould not be verified.
BadCRCException()
- Constructor for exception it.jnrpe.net.
BadCRCException
Initialize the exception with an emtpy error message
BadCRCException(String, Throwable)
- Constructor for exception it.jnrpe.net.
BadCRCException
Initialize the exception with the given error message and the give root cause
BadCRCException(String)
- Constructor for exception it.jnrpe.net.
BadCRCException
Initialize the exception with the given error message
BadCRCException(Throwable)
- Constructor for exception it.jnrpe.net.
BadCRCException
Initialize the exception with the given root cause
C
close()
- Method in interface it.jnrpe.
IJNRPEListener
closeAll()
- Method in class it.jnrpe.utils.
StreamManager
Closes all handles streams and readers.
CommandDefinition
- Class in
it.jnrpe.commands
Container class for command definition configuration
CommandDefinition(String, String)
- Constructor for class it.jnrpe.commands.
CommandDefinition
CommandInvoker
- Class in
it.jnrpe.commands
This class is used to invoke a command.
CommandInvoker(PluginRepository, CommandRepository)
- Constructor for class it.jnrpe.commands.
CommandInvoker
CommandOption
- Class in
it.jnrpe.commands
This class represent a command Option
CommandOption(String)
- Constructor for class it.jnrpe.commands.
CommandOption
Initializes an option that has no value
CommandOption(String, String)
- Constructor for class it.jnrpe.commands.
CommandOption
Initializes an option and its value.
CommandRepository
- Class in
it.jnrpe.commands
This object manages all the configured commands.
CommandRepository()
- Constructor for class it.jnrpe.commands.
CommandRepository
E
execute(ICommandLine)
- Method in interface it.jnrpe.plugins.
IPluginInterface
Executes the plugin
execute(String[])
- Method in class it.jnrpe.plugins.
PluginProxy
execute(ICommandLine)
- Method in class it.jnrpe.plugins.
PluginProxy
G
getAllPlugins()
- Method in class it.jnrpe.plugins.
PluginRepository
getArgName()
- Method in class it.jnrpe.plugins.
PluginOption
getArgs()
- Method in class it.jnrpe.commands.
CommandDefinition
getArgsCount()
- Method in class it.jnrpe.plugins.
PluginOption
getArgsOptional()
- Method in class it.jnrpe.plugins.
PluginOption
getArguments()
- Method in class it.jnrpe.net.
JNRPECommand
getCommand(String)
- Method in class it.jnrpe.commands.
CommandRepository
Returns the named command definition
getCommandLine()
- Method in class it.jnrpe.commands.
CommandDefinition
Merges the command line definition read from the server config file with the values received from check_nrpe and produces a clean command line.
getCommandName()
- Method in class it.jnrpe.net.
JNRPECommand
getDescription()
- Method in class it.jnrpe.plugins.
PluginDefinition
Returns the plugin description
getDescription()
- Method in class it.jnrpe.plugins.
PluginOption
getInputStream(File)
- Method in class it.jnrpe.utils.
StreamManager
Returns an InputStream on the given file
getInstance(JNRPERequest)
- Static method in class it.jnrpe.net.
JNRPECommand
getLongOpt()
- Method in class it.jnrpe.plugins.
PluginOption
getMessage()
- Method in class it.jnrpe.
ReturnValue
getName()
- Method in class it.jnrpe.commands.
CommandDefinition
getName()
- Method in class it.jnrpe.commands.
CommandOption
Returns the option name
getName()
- Method in class it.jnrpe.plugins.
PluginDefinition
Returns the plugin name
getOption()
- Method in class it.jnrpe.plugins.
PluginOption
Returns the option string
getOptions()
- Method in class it.jnrpe.plugins.
PluginDefinition
Returns all the plugin options
getOptions()
- Method in class it.jnrpe.plugins.
PluginProxy
Returns a collection of all the options accepted by this plugin
getOptionValue(String)
- Method in interface it.jnrpe.
ICommandLine
Returns the value of the specified option
getOptionValue(String, String)
- Method in interface it.jnrpe.
ICommandLine
Returns the value of the specified option.
getOptionValue(char)
- Method in interface it.jnrpe.
ICommandLine
Returns the value of the specified option
getOptionValue(char, String)
- Method in interface it.jnrpe.
ICommandLine
Returns the value of the specified option If the option is not present, returns the default value
getOutputStream(File)
- Method in class it.jnrpe.utils.
StreamManager
Returns an OutputStream on the given file
getPlugin(String)
- Method in class it.jnrpe.plugins.
PluginRepository
getPluginName()
- Method in class it.jnrpe.commands.
CommandDefinition
getRequired()
- Method in class it.jnrpe.plugins.
PluginOption
getReturnCode()
- Method in class it.jnrpe.
ReturnValue
getType()
- Method in class it.jnrpe.plugins.
PluginOption
getValue()
- Method in class it.jnrpe.commands.
CommandOption
Returns the option value
getValueSeparator()
- Method in class it.jnrpe.plugins.
PluginOption
H
handle(InputStream)
- Method in class it.jnrpe.utils.
StreamManager
Handles the received InputStream and returns it.
handle(OutputStream)
- Method in class it.jnrpe.utils.
StreamManager
Handles the received OutputStream and returns it.
handle(Reader)
- Method in class it.jnrpe.utils.
StreamManager
Handles the received Reader and returns it
handle(Writer)
- Method in class it.jnrpe.utils.
StreamManager
Handles the received Writer and returns it
hasArgs()
- Method in class it.jnrpe.plugins.
PluginOption
Returns true if the option has an argument
hasOption(String)
- Method in interface it.jnrpe.
ICommandLine
Returns
true
if the option is present
hasOption(char)
- Method in interface it.jnrpe.
ICommandLine
Returns
true
if the option is present
I
ICommandLine
- Interface in
it.jnrpe
IJNRPEConstants
- Interface in
it.jnrpe.net
In this interface are initialized all needed constants
IJNRPEListener
- Interface in
it.jnrpe
invoke(String, String[])
- Method in class it.jnrpe.commands.
CommandInvoker
This method executes built in commands or builds a CommandDefinition to execute external commands (plugins).
invoke(CommandDefinition, String[])
- Method in class it.jnrpe.commands.
CommandInvoker
This method executes external commands (plugins) The methods also expands the $ARG?
IPluginInterface
- Interface in
it.jnrpe.plugins
This is the interface that all the JAVA plugins must implement
isValueInRange(String, int)
- Static method in class it.jnrpe.utils.
ThresholdUtil
Returns
true
if the value
iValue
falls into the range
sRange
isValueInRange(String, BigDecimal)
- Static method in class it.jnrpe.utils.
ThresholdUtil
Returns
true
if the value
dalue
falls into the range
sRange
it.jnrpe
- package it.jnrpe
it.jnrpe.commands
- package it.jnrpe.commands
it.jnrpe.net
- package it.jnrpe.net
it.jnrpe.plugins
- package it.jnrpe.plugins
it.jnrpe.utils
- package it.jnrpe.utils
J
JNRPE
- Class in
it.jnrpe
This class is the real JNRPE worker.
JNRPE(PluginRepository, CommandRepository)
- Constructor for class it.jnrpe.
JNRPE
Initializes the JNRPE worker
JNRPECommand
- Class in
it.jnrpe.net
JNRPERequest
- Class in
it.jnrpe.net
This object represent a generic request packet
JNRPERequest(InputStream)
- Constructor for class it.jnrpe.net.
JNRPERequest
JNRPEResponse
- Class in
it.jnrpe.net
This object represent a generic response packet
JNRPEResponse()
- Constructor for class it.jnrpe.net.
JNRPEResponse
L
listen(String, int)
- Method in class it.jnrpe.
JNRPE
listen(String, int, boolean)
- Method in class it.jnrpe.
JNRPE
Starts a new thread that listen for requests.
M
MAX_PACKETBUFFER_LENGTH
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
N
NRPE_PACKET_VERSION_1
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
NRPE_PACKET_VERSION_2
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
P
PluginDefinition
- Class in
it.jnrpe.plugins
This object represent a plugin definition.
PluginDefinition(String, String, Class<? extends IPluginInterface>)
- Constructor for class it.jnrpe.plugins.
PluginDefinition
Initializes the plugin definition specifying the Class object that represent the plugin.
PluginDefinition(String, String, IPluginInterface)
- Constructor for class it.jnrpe.plugins.
PluginDefinition
Initializes the plugin definition specifying a plugin instance.
PluginOption
- Class in
it.jnrpe.plugins
This class describes a plugin option
PluginOption()
- Constructor for class it.jnrpe.plugins.
PluginOption
PluginProxy
- Class in
it.jnrpe.plugins
This class was intended to abstract the kind of plugin to execute.
PluginProxy(IPluginInterface, PluginDefinition)
- Constructor for class it.jnrpe.plugins.
PluginProxy
PluginRepository
- Class in
it.jnrpe.plugins
This class represent the repository of all the installed plugins
PluginRepository()
- Constructor for class it.jnrpe.plugins.
PluginRepository
printHelp()
- Method in class it.jnrpe.plugins.
PluginProxy
Q
QUERY_PACKET
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
R
RESPONSE_PACKET
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
ReturnValue
- Class in
it.jnrpe
This class is just a container for the plugin result
ReturnValue(String)
- Constructor for class it.jnrpe.
ReturnValue
ReturnValue(int, String)
- Constructor for class it.jnrpe.
ReturnValue
S
setArgName(String)
- Method in class it.jnrpe.plugins.
PluginOption
setArgs(String)
- Method in class it.jnrpe.commands.
CommandDefinition
setArgsCount(Integer)
- Method in class it.jnrpe.plugins.
PluginOption
setArgsOptional(Boolean)
- Method in class it.jnrpe.plugins.
PluginOption
setDescription(String)
- Method in class it.jnrpe.plugins.
PluginOption
setHasArgs(boolean)
- Method in class it.jnrpe.plugins.
PluginOption
setLongOpt(String)
- Method in class it.jnrpe.plugins.
PluginOption
setMessage(String)
- Method in class it.jnrpe.net.
JNRPEResponse
setOption(String)
- Method in class it.jnrpe.plugins.
PluginOption
Sets the option string.
setRequired(boolean)
- Method in class it.jnrpe.plugins.
PluginOption
setType(String)
- Method in class it.jnrpe.plugins.
PluginOption
setValueSeparator(String)
- Method in class it.jnrpe.plugins.
PluginOption
split(String, boolean)
- Static method in class it.jnrpe.utils.
StringUtils
This is a simple utility to split strings.
STATE_CRITICAL
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
STATE_OK
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
STATE_UNKNOWN
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
STATE_WARNING
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
StreamManager
- Class in
it.jnrpe.utils
Utility class for handling streams.
StreamManager()
- Constructor for class it.jnrpe.utils.
StreamManager
StringUtils
- Class in
it.jnrpe.utils
A simple string util class
StringUtils()
- Constructor for class it.jnrpe.utils.
StringUtils
T
ThresholdUtil
- Class in
it.jnrpe.utils
Utility class for evaluating threshold This class conforms to the nagios plugin guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT).
ThresholdUtil()
- Constructor for class it.jnrpe.utils.
ThresholdUtil
U
updateCRC()
- Method in class it.jnrpe.net.
JNRPEResponse
V
VERSION
- Static variable in interface it.jnrpe.net.
IJNRPEConstants
A
B
C
E
G
H
I
J
L
M
N
P
Q
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011. All Rights Reserved.