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

See:
          Description

Class Summary
LegacyRange Utility class for evaluating thresholds.
LegacyThreshold This class represent a parser/evaluator for the old threshold syntax.
ReturnValueBuilder This object takes the responsability to build and configure the return value object and the performance data.
ThresholdsEvaluator 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 Builds a ThresholdsEvaluator object.
 

Enum Summary
Prefixes  
 

Exception Summary
InvalidRangeSyntaxException Exception thrown when a range syntax error is found.
PrematureEndOfRangeException Exception thrown when the parse string is not complete.
RangeException Base class for the range parsing exceptions.
 

Package it.jnrpe.utils.thresholds Description

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). As per the RFC:

Threshold arguments are specified like: --threshold={threshold definition} The threshold definition is a subgetopt format of the form: metric={metric},ok={range},warn={range},crit={range},unit={unit}, prefix={SI prefix} Where:



Copyright © 2014. All Rights Reserved.