|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BadThresholdException | |
|---|---|
| it.jnrpe.plugins | This package contains all the classes regarding the plugin management/creation. |
| it.jnrpe.utils | This package contains some utility class. |
| 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). |
| Uses of BadThresholdException in it.jnrpe.plugins |
|---|
| Methods in it.jnrpe.plugins that throw BadThresholdException | |
|---|---|
void |
PluginBase.configureThresholdEvaluatorBuilder(ThresholdsEvaluatorBuilder thrb,
ICommandLine cl)
Override this method if you don't use the new threshold syntax. |
ReturnValue |
IPluginInterface.execute(ICommandLine cl)
Executes the plugin. |
ReturnValue |
PluginBase.execute(ICommandLine cl)
Executes the plugin. |
ReturnValue |
PluginProxy.execute(String[] argsAry)
Executes the proxied plugin passing the received arguments as parameters. |
| Uses of BadThresholdException in it.jnrpe.utils |
|---|
| Methods in it.jnrpe.utils that throw BadThresholdException | |
|---|---|
static boolean |
ThresholdUtil.isValueInRange(String thresholdString,
BigDecimal value)
Deprecated. Returns true if the value dalue falls into the
range sRange. |
static boolean |
ThresholdUtil.isValueInRange(String thresholdString,
int value)
Deprecated. Returns true if the value iValue falls into the
range sRange. |
static boolean |
ThresholdUtil.isValueInRange(String thresholdString,
Long value)
Deprecated. Returns true if the value dalue falls into the
range sRange. |
| Uses of BadThresholdException in it.jnrpe.utils.thresholds |
|---|
| Subclasses of BadThresholdException in it.jnrpe.utils.thresholds | |
|---|---|
class |
InvalidRangeSyntaxException
Exception thrown when a range syntax error is found. |
class |
PrematureEndOfRangeException
Exception thrown when the parse string is not complete. |
class |
RangeException
Base class for the range parsing exceptions. |
| Methods in it.jnrpe.utils.thresholds that throw BadThresholdException | |
|---|---|
ThresholdsEvaluatorBuilder |
ThresholdsEvaluatorBuilder.withLegacyThreshold(String metric,
String okRange,
String warnRange,
String critRange)
This method allows to specify thresholds using the old format. |
ThresholdsEvaluatorBuilder |
ThresholdsEvaluatorBuilder.withThreshold(String threshold)
Adds a threshold to the threshold evaluator object. |
| Constructors in it.jnrpe.utils.thresholds that throw BadThresholdException | |
|---|---|
LegacyRange(String threshold)
Builds the object with the specified range. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||