Package Products :: Package ZenModel :: Module ValueChangeThreshold :: Class ValueChangeThresholdInstance |
[hide private]
[frames] | no frames]

# Class ValueChangeThresholdInstance

source code

         twisted.spread.pb.Copyable --+
                                      |
       twisted.spread.pb.RemoteCopy --+
                                      |
    ThresholdInstance.ThresholdInstance --+
                                          |
     ThresholdInstance.RRDThresholdInstance --+
                                              |
                                             ValueChangeThresholdInstance

Threshold that emits an event when a value changes from its previous value. Does not send clear events.

Instance Methods | [hide private]
__init__(self, id, context, dpNames, eventClass, severity) | source code
_checkImpl(self, dataPoint, value) | source code
_getDpKey(self, dp) | source code
Inherited from `ThresholdInstance.RRDThresholdInstance`: `check`, `checkRaw`, `context`, `dataPoints`, `name` Inherited from `ThresholdInstance.RRDThresholdInstance` (private): `_fetchLastValue`, `_getRRDType` Inherited from `ThresholdInstance.ThresholdInstance`: `getGraphElements`, `key`

Class Variables | [hide private]
Inherited from `ThresholdInstance.ThresholdInstance`: `count`

Method Details | [hide private]

### __init__(self, id, context, dpNames, eventClass, severity) (Constructor) | source code
Overrides: ThresholdInstance.RRDThresholdInstance.__init__

### _checkImpl(self, dataPoint, value) | source code
Overrides: ThresholdInstance.RRDThresholdInstance._checkImpl