A B C E F G H I J L M O P R S T U V W

A

acceptHost(String) - Method in class it.jnrpe.JNRPEBuilder
Adds a client host to the list of accepted hosts.
acceptParams(boolean) - Method in class it.jnrpe.JNRPEBuilder
Pass true if $ARGxx$ macros should be expanded.
addAcceptedHost(String) - Method in class it.jnrpe.JNRPE
Deprecated. The JNRPE object will become immutable as of version 2.0.5. Use JNRPEBuilder instead
addArgument(CommandOption) - Method in class it.jnrpe.commands.CommandDefinition
Adds an option to the command definition.
addCommandDefinition(CommandDefinition) - Method in class it.jnrpe.commands.CommandRepository
Adds a new command definition to the repository.
addEventListener(IJNRPEEventListener) - Method in class it.jnrpe.JNRPE
Deprecated. The JNRPE object will become immutable as of version 2.0.5. Use JNRPEBuilder instead
addListener(IJNRPEEventListener) - Method in interface it.jnrpe.plugins.IPluginInterfaceEx
Adds a new listener to the list of objects that will receive the messages sent by this class.
addListener(IJNRPEEventListener) - Method in class it.jnrpe.plugins.PluginBase
Adds a new listener to the list of objects that will receive the messages sent by this class.
addListeners(Collection<IJNRPEEventListener>) - Method in interface it.jnrpe.plugins.IPluginInterfaceEx
Adds a whole collection of listeners to the plugin.
addListeners(Collection<IJNRPEEventListener>) - Method in class it.jnrpe.plugins.PluginBase
Adds a new collection of listeners.
addOption(PluginOption) - Method in class it.jnrpe.plugins.PluginDefinition
Adds a new option to the plugin.
addPluginDefinition(PluginDefinition) - Method in interface it.jnrpe.plugins.IPluginRepository
Adds a plugin definition to this repository.
addPluginDefinition(PluginDefinition) - Method in class it.jnrpe.plugins.PluginRepository
Adds a plugin definition to this repository.

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.
BadThresholdException - Exception in it.jnrpe.utils
Exception thrown if the passed in threshold can't be parsed according to Nagios specifications.
BadThresholdException() - Constructor for exception it.jnrpe.utils.BadThresholdException
Constructs a new exception with null as its detail message.
BadThresholdException(String, Throwable) - Constructor for exception it.jnrpe.utils.BadThresholdException
Constructs a new exception with the specified detail message and cause.
BadThresholdException(String) - Constructor for exception it.jnrpe.utils.BadThresholdException
Constructs a new exception with the specified detail message.
BadThresholdException(Throwable) - Constructor for exception it.jnrpe.utils.BadThresholdException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
build() - Method in class it.jnrpe.JNRPEBuilder
Builds the configured JNRPE instance.

C

channelRead(ChannelHandlerContext, Object) - Method in class it.jnrpe.net.JNRPEServerHandler
 
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
Builds and initializes the command definition.
CommandInvoker - Class in it.jnrpe.commands
This class is used to invoke a command.
CommandInvoker(IPluginRepository, CommandRepository, boolean, Collection<IJNRPEEventListener>) - Constructor for class it.jnrpe.commands.CommandInvoker
Builds and initializes the CommandInvoker object.
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
 
configureThresholdEvaluatorBuilder(ThresholdsEvaluatorBuilder, ICommandLine) - Method in class it.jnrpe.plugins.PluginBase
Override this method if you don't use the new threshold syntax.
convert(BigDecimal) - Method in enum it.jnrpe.utils.thresholds.Prefixes
Multiplies the value with the multiplier associated with this prefix.
convert(int) - Method in enum it.jnrpe.utils.thresholds.Prefixes
Multiplies the value with the multiplier associated with this prefix.
convert(long) - Method in enum it.jnrpe.utils.thresholds.Prefixes
Multiplies the value with the multiplier associated with this prefix.
convert(double) - Method in enum it.jnrpe.utils.thresholds.Prefixes
Multiplies the value with the multiplier associated with this prefix.
create() - Method in class it.jnrpe.utils.thresholds.ReturnValueBuilder
Builds the configured ReturnValue object.
create() - Method in class it.jnrpe.utils.thresholds.ThresholdsEvaluatorBuilder
 

E

evaluate(BigDecimal) - Method in class it.jnrpe.utils.thresholds.LegacyThreshold
Evaluates the value agains the specified ranges.
EventExceptionParam - Class in it.jnrpe.events
This object represent an 'EXCEPTION' parameter.
EventExceptionParam(Throwable) - Constructor for class it.jnrpe.events.EventExceptionParam
Builds and initializes the exception parameter.
EventMessageParam - Class in it.jnrpe.events
This object represent an event 'MESSAGE' parameter.
EventMessageParam(String) - Constructor for class it.jnrpe.events.EventMessageParam
Builds and initializes the message parameter.
EventParam - Class in it.jnrpe.events
This class represent an event parameter.
EventParam(String, Object) - Constructor for class it.jnrpe.events.EventParam
Builds and initializes an event parameter.
EventsUtil - Class in it.jnrpe.events
This is an utility class than can be used to send simply events to all the registered listeners.
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class it.jnrpe.net.JNRPEServerHandler
 
execute(ICommandLine) - Method in interface it.jnrpe.plugins.IPluginInterface
Executes the plugin.
execute(ICommandLine) - Method in class it.jnrpe.plugins.PluginBase
Executes the plugin.
execute(String[]) - Method in class it.jnrpe.plugins.PluginProxy
Executes the proxied plugin passing the received arguments as parameters.
execute(ICommandLine) - Method in class it.jnrpe.plugins.PluginProxy
Not used.

F

forPlugin(String) - Static method in class it.jnrpe.utils.thresholds.ReturnValueBuilder
Constructs the object with an empty threshold evaluator.
forPlugin(String, ThresholdsEvaluator) - Static method in class it.jnrpe.utils.thresholds.ReturnValueBuilder
Constructs the object with the given threshold evaluator.
forRepositories(IPluginRepository, CommandRepository) - Static method in class it.jnrpe.JNRPEBuilder
Entry point for the builder.
fromChar(char) - Static method in enum it.jnrpe.utils.thresholds.Prefixes
Creates the enumeration from its prefix string.
fromIntValue(int) - Static method in enum it.jnrpe.net.PacketType
Converts from the protocol int value representing the state to the enumeration constant.
fromIntValue(int) - Static method in enum it.jnrpe.net.PacketVersion
Returns the enum corresponding with the given int value.
fromIntValue(int) - Static method in enum it.jnrpe.PacketType
Convert from the passed in integer value to the corresponding enumeration constant.
fromIntValue(int) - Static method in enum it.jnrpe.Status
Returns the enum corresponding with the given int value.
fromString(String) - Static method in enum it.jnrpe.utils.thresholds.Prefixes
Returns the enumeration relative to the passed in prefix or string.

G

gatherMetrics(ICommandLine) - Method in class it.jnrpe.plugins.PluginBase
This method must be overridden if you don't override the PluginBase.execute(ICommandLine) method.
getAllCommandDefinition(String) - Method in class it.jnrpe.commands.CommandRepository
Returns all the command definition that involves the given plugin.
getAllCommands() - Method in class it.jnrpe.commands.CommandRepository
 
getAllPlugins() - Method in interface it.jnrpe.plugins.IPluginRepository
Returns all the plugin definitions managed by this repository.
getAllPlugins() - Method in class it.jnrpe.plugins.PluginRepository
 
getArgName() - Method in class it.jnrpe.plugins.PluginOption
Returns the name of the argument of this option.
getArgs() - Method in class it.jnrpe.commands.CommandDefinition
The raw command line of this command.
getArgsCount() - Method in class it.jnrpe.plugins.PluginOption
Returns the number of arguments.
getArgsOptional() - Method in class it.jnrpe.plugins.PluginOption
Used to know if the option has optional arguments.
getArguments() - Method in class it.jnrpe.net.JNRPERequest
Returns the command arguments.
getCharset() - Method in class it.jnrpe.JNRPEExecutionContext
 
getCommand(String) - Method in class it.jnrpe.commands.CommandRepository
Returns the named command definition.
getCommand() - Method in class it.jnrpe.net.JNRPERequest
Returns the query command.
getCommandLine() - Method in class it.jnrpe.commands.CommandDefinition
Merges the command line definition read from the server config file with.
getDescription() - Method in class it.jnrpe.plugins.PluginDefinition
Returns the plugin description.
getDescription() - Method in class it.jnrpe.plugins.PluginOption
Returns the description of this option.
getEventName() - Method in interface it.jnrpe.events.IJNRPEEvent
The event name.
getEventParams() - Method in interface it.jnrpe.events.IJNRPEEvent
The event parameters.
getInputStream(File) - Method in class it.jnrpe.utils.StreamManager
Returns an InputStream on the given file.
getListeners() - Method in class it.jnrpe.JNRPEExecutionContext
 
getLongOpt() - Method in class it.jnrpe.plugins.PluginOption
Returns the long name of this option.
getMaxValue() - Method in class it.jnrpe.plugins.Metric
 
getMessage() - Method in class it.jnrpe.net.JNRPEResponse
Returns the response message.
getMessage() - Method in class it.jnrpe.plugins.Metric
 
getMessage() - Method in class it.jnrpe.ReturnValue
Returns the message.
getMessage() - Method in exception it.jnrpe.utils.thresholds.InvalidRangeSyntaxException
 
getMessage() - Method in exception it.jnrpe.utils.thresholds.PrematureEndOfRangeException
 
getMessage() - Method in exception it.jnrpe.utils.thresholds.RangeException
 
getMetric() - Method in class it.jnrpe.utils.thresholds.LegacyThreshold
The metric referred by this threshold.
getMetricName() - Method in class it.jnrpe.plugins.Metric
 
getMetricValue() - Method in class it.jnrpe.plugins.Metric
 
getMinValue() - Method in class it.jnrpe.plugins.Metric
 
getName() - Method in class it.jnrpe.commands.CommandDefinition
Returns the command name.
getName() - Method in class it.jnrpe.commands.CommandOption
Returns the option name.
getName() - Method in class it.jnrpe.events.EventParam
Returns the parameter 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.commands.CommandDefinition
 
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.
getOptionValues(String) - Method in interface it.jnrpe.ICommandLine
Returns the values associated with the specified option.
getOptionValues(char) - Method in interface it.jnrpe.ICommandLine
Returns the values associated with the specified option.
getOutputStream(File) - Method in class it.jnrpe.utils.StreamManager
Returns an OutputStream on the given file.
getPlugin(String) - Method in interface it.jnrpe.plugins.IPluginRepository
Returns an instance of the plugin declared inside the plugin definition.
getPlugin(String) - Method in class it.jnrpe.plugins.PluginRepository
Returns the implementation of the plugin identified by the given name.
getPluginName() - Method in class it.jnrpe.commands.CommandDefinition
Returns the name of the plugin associated with this command.
getRangesAsString(Status) - Method in class it.jnrpe.utils.thresholds.LegacyThreshold
 
getRequired() - Method in class it.jnrpe.plugins.PluginOption
Returns the string 'true' if required.
getReturnCode() - Method in class it.jnrpe.ReturnValue
Deprecated. Use ReturnValue.getStatus() instead.
getSeverity() - Method in enum it.jnrpe.Status
 
getStatus() - Method in exception it.jnrpe.plugins.MetricGatheringException
 
getStatus() - Method in class it.jnrpe.ReturnValue
Returns the status.
getType() - Method in class it.jnrpe.plugins.PluginOption
Returns the type of this option.
getUnitString() - Method in class it.jnrpe.utils.thresholds.LegacyThreshold
 
getValue() - Method in class it.jnrpe.commands.CommandOption
Returns the option value.
getValue() - Method in class it.jnrpe.events.EventParam
Returns the parameter value.
getValueSeparator() - Method in class it.jnrpe.plugins.PluginOption
Returns the value separator.

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
This interface represents the command line received by plugin instances.
IJNRPEConstants - Interface in it.jnrpe.net
Deprecated.  
IJNRPEEvent - Interface in it.jnrpe.events
The interface that all the events must implement.
IJNRPEEventListener - Interface in it.jnrpe.events
This class represent the interface an object must implement to be able to receive events from JNRPE.
intValue() - Method in enum it.jnrpe.net.PacketType
Returns the int value of the enum.
intValue() - Method in enum it.jnrpe.net.PacketVersion
Returns the int value of the enum.
intValue() - Method in enum it.jnrpe.PacketType
Return the integer value of the constant.
intValue() - Method in enum it.jnrpe.Status
Returns the int value of the enum.
InvalidRangeSyntaxException - Exception in it.jnrpe.utils.thresholds
Exception thrown when a range syntax error is found.
InvalidRangeSyntaxException(Stage, String) - Constructor for exception it.jnrpe.utils.thresholds.InvalidRangeSyntaxException
Builds the exception specifying the stage and the range string.
InvalidRangeSyntaxException(Stage, String, String) - Constructor for exception it.jnrpe.utils.thresholds.InvalidRangeSyntaxException
Builds the exception specifying the stage, the bad tokens and the whole string.
invoke(String, String[]) - Method in class it.jnrpe.commands.CommandInvoker
This method executes built in commands or builds a CommandDefinition to.
invoke(CommandDefinition, String[]) - Method in class it.jnrpe.commands.CommandInvoker
This method executes external commands (plugins) The methods also expands the $ARG?$ macros.
IPluginInterface - Interface in it.jnrpe.plugins
This is the interface that all the JAVA plugins must implement.
IPluginInterfaceEx - Interface in it.jnrpe.plugins
This interface must be implemented by all the plugins that needs to send events that must be intercepted by the JNRPE Server.
IPluginRepository - Interface in it.jnrpe.plugins
The interface that all the plugin repository classes must implement.
isAboutMetric(String) - Method in class it.jnrpe.utils.thresholds.LegacyThreshold
 
isValueInRange(String, int) - Static method in class it.jnrpe.utils.ThresholdUtil
Deprecated. Returns true if the value iValue falls into the range sRange.
isValueInRange(String, BigDecimal) - Static method in class it.jnrpe.utils.ThresholdUtil
Deprecated. Returns true if the value dalue falls into the range sRange.
isValueInRange(String, Long) - Static method in class it.jnrpe.utils.ThresholdUtil
Deprecated. Returns true if the value dalue falls into the range sRange.
isValueInside(BigDecimal) - Method in class it.jnrpe.utils.thresholds.LegacyRange
Returns true if the value falls inside the range.
isValueInside(BigDecimal, Prefixes) - Method in class it.jnrpe.utils.thresholds.LegacyRange
Returns true if the value falls inside the range.
isValueInside(int) - Method in class it.jnrpe.utils.thresholds.LegacyRange
Returns true if the value falls inside the range.
isValueInside(long) - Method in class it.jnrpe.utils.thresholds.LegacyRange
Returns true if the value falls inside the range.
it.jnrpe - package it.jnrpe
This package contains the JNRPE engine.
it.jnrpe.commands - package it.jnrpe.commands
This package contains all the classes reguarding the commands management.
it.jnrpe.events - package it.jnrpe.events
This package contains all the classes required to give plugins the ability to send events.
it.jnrpe.net - package it.jnrpe.net
This package contains all the classes regarding the network protocol.
it.jnrpe.plugins - package it.jnrpe.plugins
This package contains all the classes regarding the plugin management/creation.
it.jnrpe.plugins.annotations - package it.jnrpe.plugins.annotations
 
it.jnrpe.utils - package it.jnrpe.utils
This package contains some utility class.
it.jnrpe.utils.thresholds - package it.jnrpe.utils.thresholds
This package contains all the classes used to parse and manage new thresholds format according to the Nagios specification RFC (http://nagiosplugins.org/rfc/new_threshold_syntax).

J

JNRPE - Class in it.jnrpe
This class is the real JNRPE worker.
JNRPE(IPluginRepository, CommandRepository) - Constructor for class it.jnrpe.JNRPE
Deprecated. This constructor will be removed as of version 2.0.5. Use JNRPEBuilder instead
JNRPE(IPluginRepository, CommandRepository, Charset, boolean) - Constructor for class it.jnrpe.JNRPE
Deprecated. This constructor will be removed as of version 2.0.5. Use JNRPEBuilder instead
JNRPEBuilder - Class in it.jnrpe
Builder for the JNRPE object.
JNRPEExecutionContext - Class in it.jnrpe
 
JNRPEIdleStateHandler - Class in it.jnrpe.net
Idle timeout handler.
JNRPEIdleStateHandler(JNRPEExecutionContext) - Constructor for class it.jnrpe.net.JNRPEIdleStateHandler
The constructor.
JNRPELIB - Class in it.jnrpe
An interface containing only the JNRPE version number.
JNRPERequest - Class in it.jnrpe.net
This object represent a generic request packet.
JNRPERequest() - Constructor for class it.jnrpe.net.JNRPERequest
Creates and empty request.
JNRPERequest(String, String...) - Constructor for class it.jnrpe.net.JNRPERequest
Inizialize the request with the supplied command and command arguments.
JNRPERequestDecoder - Class in it.jnrpe.net
The NETTY implementation of the JNRPE protocol request decoder.
JNRPERequestDecoder() - Constructor for class it.jnrpe.net.JNRPERequestDecoder
Creates a new JNRPERequestDecoder object and sets the initial state at STAGE#PACKET_VERSION.
JNRPEResponse - Class in it.jnrpe.net
This object represent a generic response packet.
JNRPEResponse() - Constructor for class it.jnrpe.net.JNRPEResponse
Default constructor.
JNRPEResponse(InputStream) - Constructor for class it.jnrpe.net.JNRPEResponse
Builds a JNRPE response reading the content from an InputStream.
JNRPEResponseEncoder - Class in it.jnrpe.net
This object is inserted inside the NETTY pipeline to create serialize a JNRPEResponse object.
JNRPEResponseEncoder() - Constructor for class it.jnrpe.net.JNRPEResponseEncoder
Constructor.
JNRPEServerHandler - Class in it.jnrpe.net
Receives and handles connections to the JNRPE server.
JNRPEServerHandler(CommandInvoker, Collection<IJNRPEEventListener>) - Constructor for class it.jnrpe.net.JNRPEServerHandler
Constructor.

L

LegacyRange - Class in it.jnrpe.utils.thresholds
Utility class for evaluating thresholds.
LegacyRange(String) - Constructor for class it.jnrpe.utils.thresholds.LegacyRange
Builds the object with the specified range.
LegacyThreshold - Class in it.jnrpe.utils.thresholds
This class represent a parser/evaluator for the old threshold syntax.
LegacyThreshold(String, LegacyRange, LegacyRange, LegacyRange) - Constructor for class it.jnrpe.utils.thresholds.LegacyThreshold
Builds and initializes the threshold object.
listen(String, int) - Method in class it.jnrpe.JNRPE
Instructs the server to listen to the given IP/port.
listen(String, int, boolean) - Method in class it.jnrpe.JNRPE
Starts a new thread that listen for requests.
loadFromPluginAnnotation(Class) - Static method in class it.jnrpe.utils.PluginRepositoryUtil
Parse a plugin from class annotations.
loadFromXmlPluginPackageDefinitions(PluginRepository, ClassLoader, InputStream) - Static method in class it.jnrpe.utils.PluginRepositoryUtil
Loads a full repository definition from an XML file.
loadFromXmlPluginPackageDefinitions(ClassLoader, InputStream) - Static method in class it.jnrpe.utils.PluginRepositoryUtil
Loads the plugins definitions from the jnrpe_plugins.xml file.
LogEvent - Enum in it.jnrpe.events
All the accepted Log Event types.

M

Metric - Class in it.jnrpe.plugins
This class represent a metric gathered from a plugin.
Metric(String, String, BigDecimal, BigDecimal, BigDecimal) - Constructor for class it.jnrpe.plugins.Metric
Builds and initializes a metric object.
MetricGatheringException - Exception in it.jnrpe.plugins
This is the exception that must be thrown if an error occurs gathering metrics.
MetricGatheringException(String, Status, Throwable) - Constructor for exception it.jnrpe.plugins.MetricGatheringException
Builds and initializes the exception.

O

Option - Annotation Type in it.jnrpe.plugins.annotations
Plugin option definition.

P

PacketType - Enum in it.jnrpe.net
Enumeration of all the supported packet types.
PacketType - Enum in it.jnrpe
Enums all the known packet types.
PacketVersion - Enum in it.jnrpe.net
Enumeration of all the supported packet versions.
parseXmlPluginDefinition(ClassLoader, InputStream) - Static method in class it.jnrpe.utils.PluginRepositoryUtil
Loads the definition of a single plugin from an XML file.
Plugin - Annotation Type in it.jnrpe.plugins.annotations
Plugin definition.
PluginBase - Class in it.jnrpe.plugins
This class facilitates the implementation of plugins.
PluginBase() - Constructor for class it.jnrpe.plugins.PluginBase
 
PluginConfigurationException - Exception in it.jnrpe.plugins
Exception thrown in case of plugin configuration errors.
PluginConfigurationException() - Constructor for exception it.jnrpe.plugins.PluginConfigurationException
Default constructor.
PluginConfigurationException(String, Throwable) - Constructor for exception it.jnrpe.plugins.PluginConfigurationException
Initializes the exception with a message and an optional root cause.
PluginConfigurationException(String) - Constructor for exception it.jnrpe.plugins.PluginConfigurationException
Initializes the exception with a message.
PluginConfigurationException(Throwable) - Constructor for exception it.jnrpe.plugins.PluginConfigurationException
Initializes the exception with a cause.
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
Default constructor.
PluginOptions - Annotation Type in it.jnrpe.plugins.annotations
Definition for a list of plugin options.
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
Instantiate a new plugin proxy.
PluginRepository - Class in it.jnrpe.plugins
This class represent the repository of all the installed plugins.
PluginRepository() - Constructor for class it.jnrpe.plugins.PluginRepository
 
PluginRepositoryException - Exception in it.jnrpe.plugins
Exception throws when errors occurs accessing the plugin repository.
PluginRepositoryException() - Constructor for exception it.jnrpe.plugins.PluginRepositoryException
Constructor.
PluginRepositoryException(String, Throwable) - Constructor for exception it.jnrpe.plugins.PluginRepositoryException
Constructor.
PluginRepositoryException(String) - Constructor for exception it.jnrpe.plugins.PluginRepositoryException
Constructor.
PluginRepositoryException(Throwable) - Constructor for exception it.jnrpe.plugins.PluginRepositoryException
Constructor.
PluginRepositoryUtil - Class in it.jnrpe.utils
An utility class that allows to define the plugin repository in an XML file instead that using Java Code.
Prefixes - Enum in it.jnrpe.utils.thresholds
 
PrematureEndOfRangeException - Exception in it.jnrpe.utils.thresholds
Exception thrown when the parse string is not complete.
printHelp(PrintWriter) - Method in class it.jnrpe.plugins.PluginProxy
Prints the help related to the plugin to a specified output.
printHelp() - Method in class it.jnrpe.plugins.PluginProxy
Prints the help related to the plugin to standard output.

R

RangeException - Exception in it.jnrpe.utils.thresholds
Base class for the range parsing exceptions.
RangeException(String) - Constructor for exception it.jnrpe.utils.thresholds.RangeException
Builds and initialize the exception with the error message.
RangeException(Stage, String, String) - Constructor for exception it.jnrpe.utils.thresholds.RangeException
Builds the exception specifying the stage, the bad tokens and the whole string.
receive(Object, IJNRPEEvent) - Method in interface it.jnrpe.events.IJNRPEEventListener
This method receives the event and reacts.
removeCommandDefinition(CommandDefinition) - Method in class it.jnrpe.commands.CommandRepository
Remove the given command definition from the command repository object.
removePluginDefinition(PluginDefinition) - Method in interface it.jnrpe.plugins.IPluginRepository
Removes a plugin definition from the repository.
removePluginDefinition(PluginDefinition) - Method in class it.jnrpe.plugins.PluginRepository
Removes a plugin definition from the repository.
ReturnValue - Class in it.jnrpe
This class is just a container for the plugin result.
ReturnValue() - Constructor for class it.jnrpe.ReturnValue
Initializes an empty return value.
ReturnValue(String) - Constructor for class it.jnrpe.ReturnValue
Initializes the return value object with the given message and with the Status.OK state.
ReturnValue(int, String) - Constructor for class it.jnrpe.ReturnValue
Deprecated. Use ReturnValue.ReturnValue(Status, String) instead
ReturnValue(Status, String) - Constructor for class it.jnrpe.ReturnValue
Initializes the return value object with the given state and the given message.
ReturnValue.UnitOfMeasure - Enum in it.jnrpe
An enumeration defining all supported unit of measures.
ReturnValueBuilder - Class in it.jnrpe.utils.thresholds
This object takes the responsability to build and configure the return value object and the performance data.

S

sendEvent(Collection<IJNRPEEventListener>, Object, LogEvent, String) - Static method in class it.jnrpe.events.EventsUtil
This method sends log events to the registered listeners.
sendEvent(JNRPEExecutionContext, Object, LogEvent, String) - Static method in class it.jnrpe.events.EventsUtil
 
sendEvent(JNRPEExecutionContext, Object, LogEvent, String, Throwable) - Static method in class it.jnrpe.events.EventsUtil
 
sendEvent(Collection<IJNRPEEventListener>, Object, LogEvent, String, Throwable) - Static method in class it.jnrpe.events.EventsUtil
This method sends log events to the registered listeners.
sendEvent(Collection<IJNRPEEventListener>, Object, String, EventParam...) - Static method in class it.jnrpe.events.EventsUtil
This method is used to send custom events to the registered listeners.
sendEvent(LogEvent, String) - Method in class it.jnrpe.plugins.PluginBase
Sends an event.
sendEvent(LogEvent, String, Exception) - Method in class it.jnrpe.plugins.PluginBase
Sends an event.
sendEvent(String, EventParam...) - Method in class it.jnrpe.plugins.PluginBase
Sends a custom event.
setArgName(String) - Method in class it.jnrpe.plugins.PluginOption
Sets the name of the argument of this option.
setArgs(String) - Method in class it.jnrpe.commands.CommandDefinition
Sets the raw arguments of this command.
setArgsCount(Integer) - Method in class it.jnrpe.plugins.PluginOption
Sets the number of arguments.
setArgsOptional(Boolean) - Method in class it.jnrpe.plugins.PluginOption
Sets if the arguments are mandatory.
setDescription(String) - Method in class it.jnrpe.plugins.PluginOption
Sets the description of this option.
setHasArgs(boolean) - Method in class it.jnrpe.plugins.PluginOption
Tells the option that it must accept an argument.
setLongOpt(String) - Method in class it.jnrpe.plugins.PluginOption
Sets the long name of this option.
setMessage(String) - Method in class it.jnrpe.net.JNRPEResponse
Sets the message to be included in the response.
setOption(String) - Method in class it.jnrpe.plugins.PluginOption
Sets the option string.
setRequired(boolean) - Method in class it.jnrpe.plugins.PluginOption
Set if the option is required.
setType(String) - Method in class it.jnrpe.plugins.PluginOption
Sets the type of this option.
setValueSeparator(String) - Method in class it.jnrpe.plugins.PluginOption
Sets the value separator.
shutdown() - Method in class it.jnrpe.JNRPE
Shuts down the server.
split(String, boolean) - Static method in class it.jnrpe.utils.StringUtils
This is a simple utility to split strings.
split(String, char, boolean) - Static method in class it.jnrpe.utils.StringUtils
Splits the given string using as separator the separator character.
STATE_CRITICAL - Static variable in interface it.jnrpe.net.IJNRPEConstants
Deprecated. Service status 'CRITICAL'.
STATE_OK - Static variable in interface it.jnrpe.net.IJNRPEConstants
Deprecated. Service status 'OK'.
STATE_UNKNOWN - Static variable in interface it.jnrpe.net.IJNRPEConstants
Deprecated. Service status 'UNKNOWN'.
STATE_WARNING - Static variable in interface it.jnrpe.net.IJNRPEConstants
Deprecated. Service status 'WARNING'.
Status - Enum in it.jnrpe
Enumeration of all the supported status.
StreamManager - Class in it.jnrpe.utils
Utility class for handling streams.
StreamManager() - Constructor for class it.jnrpe.utils.StreamManager
Default constructor.
StringUtils - Class in it.jnrpe.utils
A simple string util class.

T

ThresholdsEvaluator - Class in it.jnrpe.utils.thresholds
This object take responsability of checking a pair value-metric agains all the ranges defined for such metric and returns the right Status object.
ThresholdsEvaluatorBuilder - Class in it.jnrpe.utils.thresholds
Builds a ThresholdsEvaluator object.
ThresholdsEvaluatorBuilder() - Constructor for class it.jnrpe.utils.thresholds.ThresholdsEvaluatorBuilder
Default constructor.
ThresholdUtil - Class in it.jnrpe.utils
Deprecated. Use the ReturnValueBuilder together with the ThresholdsEvaluatorBuilder instead.
toString() - Method in class it.jnrpe.net.JNRPEResponse
 

U

UnknownPluginException - Exception in it.jnrpe.plugins
Exception throws when an unknown plugin is requested.
UnknownPluginException() - Constructor for exception it.jnrpe.plugins.UnknownPluginException
Constructor.
UnknownPluginException(String) - Constructor for exception it.jnrpe.plugins.UnknownPluginException
Constructor.
userEventTriggered(ChannelHandlerContext, Object) - Method in class it.jnrpe.net.JNRPEIdleStateHandler
 

V

valueOf(String) - Static method in enum it.jnrpe.events.LogEvent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.jnrpe.net.PacketType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.jnrpe.net.PacketVersion
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.jnrpe.PacketType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.jnrpe.ReturnValue.UnitOfMeasure
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.jnrpe.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum it.jnrpe.utils.thresholds.Prefixes
Returns the enum constant of this type with the specified name.
values() - Static method in enum it.jnrpe.events.LogEvent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.jnrpe.net.PacketType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.jnrpe.net.PacketVersion
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.jnrpe.PacketType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.jnrpe.ReturnValue.UnitOfMeasure
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.jnrpe.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum it.jnrpe.utils.thresholds.Prefixes
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class it.jnrpe.JNRPELIB
The JNRPE Version as read from its manifest.
VERSION - Static variable in interface it.jnrpe.net.IJNRPEConstants
Deprecated. Contains the version of the software.

W

withCharset(Charset) - Method in class it.jnrpe.JNRPEBuilder
Sets the charset to be used.
withForcedMessage(String) - Method in class it.jnrpe.utils.thresholds.ReturnValueBuilder
Force the message to return to Nagios.
withLegacyThreshold(String, String, String, String) - Method in class it.jnrpe.utils.thresholds.ThresholdsEvaluatorBuilder
This method allows to specify thresholds using the old format.
withListener(IJNRPEEventListener) - Method in class it.jnrpe.JNRPEBuilder
Adds a listener to the list of event listener.
withMaxAcceptedConnections(int) - Method in class it.jnrpe.JNRPEBuilder
Sets the maximum number of accepted connections.
withMessage(String) - Method in class it.jnrpe.ReturnValue
Sets the message and returns 'this' so that the calls can be cascaded.
withPerformanceData(String, Long, ReturnValue.UnitOfMeasure, String, String, Long, Long) - Method in class it.jnrpe.ReturnValue
Adds performance data to the plugin result.
withPerformanceData(String, BigDecimal, ReturnValue.UnitOfMeasure, String, String, BigDecimal, BigDecimal) - Method in class it.jnrpe.ReturnValue
Adds performance data to the plugin result.
withPerformanceData(String, BigDecimal, String, String, String, BigDecimal, BigDecimal) - Method in class it.jnrpe.ReturnValue
Adds performance data to the plugin result.
withReadTimeout(int) - Method in class it.jnrpe.JNRPEBuilder
Sets the read timeout in seconds.
withReturnCode(int) - Method in class it.jnrpe.ReturnValue
Deprecated. Use ReturnValue.withStatus(Status) instead.
withStatus(Status) - Method in class it.jnrpe.ReturnValue
Sets the return code and returns 'this' so that the calls can be cascaded.
withStatus(Status) - Method in class it.jnrpe.utils.thresholds.ReturnValueBuilder
Use this method if you want to force the status to be returned.
withThreshold(String) - Method in class it.jnrpe.utils.thresholds.ThresholdsEvaluatorBuilder
Adds a threshold to the threshold evaluator object.
withValue(Metric) - Method in class it.jnrpe.utils.thresholds.ReturnValueBuilder
Configure the ReturnValue we are building with the specified value.
withWriteTimeout(int) - Method in class it.jnrpe.JNRPEBuilder
Sets the write timeout in seconds.

A B C E F G H I J L M O P R S T U V W

Copyright © 2014. All Rights Reserved.