|
__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
|
|
list of dictionaries
|
processEvent(self,
evt)
When a threshold condition is violated, pre-process it for (possibly)
nicer formatting or more complicated logic. |
source code
|
|
list of dictionaries
|
processClearEvent(self,
evt)
When a threshold condition is restored, pre-process it for (possibly)
nicer formatting or more complicated logic. |
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
|
|
|
|
|
|
Inherited from ThresholdInstance.ThresholdInstance :
key
|