- getAllPlugins() - Method in class it.jnrpe.plugins.PluginRepository
-
Returns all the plugin definitions managed by this repository.
- 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.JNRPECommand
-
Returns the command arguments
- 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.
- getCommandName() - Method in class it.jnrpe.net.JNRPECommand
-
Returns the command name
- 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.
- getInstance(JNRPERequest) - Static method in class it.jnrpe.net.JNRPECommand
-
Returns the command that should satisfy the received request
- getLongOpt() - Method in class it.jnrpe.plugins.PluginOption
-
Returns the long name of this option.
- getMessage() - Method in class it.jnrpe.ReturnValue
-
Returns the message.
- 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.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
-
Returns an instance of the plugin declared inside the plugin definition.
- getPluginName() - Method in class it.jnrpe.commands.CommandDefinition
-
Returns the name of the plugin associated with this command.
- getRequired() - Method in class it.jnrpe.plugins.PluginOption
-
Returns the string 'true' if required.
- getReturnCode() - Method in class it.jnrpe.ReturnValue
-
- getStatus() - Method in class it.jnrpe.ReturnValue
-
Returns the status.
- getType() - Method in class it.jnrpe.plugins.PluginOption
-
Returns the type of this option.
- 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.
- 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
-
- intValue() - Method in enum it.jnrpe.Status
-
Returns the int value of the enum.
- 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.
- isValueInRange(String, int) - Static method in class it.jnrpe.utils.ThresholdUtil
-
Returns true if the value iValue falls into the.
- isValueInRange(String, BigDecimal) - Static method in class it.jnrpe.utils.ThresholdUtil
-
Returns true if the value dalue falls into the.
- it.jnrpe - package it.jnrpe
-
This package contains the JNRPE engine
- it.jnrpe.commands - package it.jnrpe.commands
-
This package contains the JNRPE engine.
- it.jnrpe.events - package it.jnrpe.events
-
This package contains all the classes required to handle commands.
- it.jnrpe.net - package it.jnrpe.net
-
This package contains all the classes created to add the event function to
JNRPE.
- it.jnrpe.plugins - package it.jnrpe.plugins
-
This package contains the low level object that implements the NRPE protocol.
- it.jnrpe.utils - package it.jnrpe.utils
-
In this package you'll find all the classes you need to interact to to create
plugins.
- sendEvent(Set<IJNRPEEventListener>, Object, LogEvent, String) - Static method in class it.jnrpe.events.EventsUtil
-
This method sends log events to the registered listeners.
- sendEvent(Set<IJNRPEEventListener>, Object, LogEvent, String, Throwable) - Static method in class it.jnrpe.events.EventsUtil
-
This method sends log events to the registered listeners.
- sendEvent(Set<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 all the listener handled by this instance.
- 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
-
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.
- 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.Status
-
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.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERSION - Static variable in interface it.jnrpe.net.IJNRPEConstants
-
Deprecated.
Contains the version of the software.