|
__init__(self,
id,
context,
dpNames,
minval,
maxval,
eventClass,
severity,
escalateCount) |
source code
|
|
|
name(self)
return the name of this threshold (from the ThresholdClass) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fetchLastValue(self,
dp,
cycleTime)
Fetch the most recent value for a data point from the RRD
file. |
source code
|
|
|
check(self,
dataPoints)
The given datapoints have been updated, so re-evaluate. |
source code
|
|
|
checkRaw(self,
dataPoint,
timeOf,
value)
A new datapoint has been collected, use the given _raw_ value to
re-evalue the threshold. |
source code
|
|
|
checkRange(self,
dp,
value)
Check the value for min/max thresholds |
source code
|
|
|
raiseRPNExc(self)
Raise an RPN exception, taking care to log all details. |
source code
|
|
|
getGraphElements(self,
template,
context,
gopts,
namespace,
color,
legend,
relatedGps)
Produce a visual indication on the graph of where the threshold
applies. |
source code
|
|
|
getMinLabel(self,
minval,
relatedGps)
build a label for a min threshold |
source code
|
|
|
getMaxLabel(self,
maxval,
relatedGps)
build a label for a max threshold |
source code
|
|
|
|
|
|
Inherited from ThresholdInstance.ThresholdInstance :
key
|