Package ZenModel :: Module MinMaxThreshold :: Class MinMaxThreshold
[hide private]
[frames] | no frames]

Class MinMaxThreshold

source code

  Products.ZenModel.ZenModelRM.ZenModelRM --+    
                                            |    
Products.ZenModel.ZenPackable.ZenPackable --+    
                                            |    
                ThresholdClass.ThresholdClass --+
                                                |
                                               MinMaxThreshold

Threshold class that can evaluate RPNs and Python expressions

Instance Methods [hide private]
 
createThresholdInstance(self, context)
Return the config used by the collector to process min/max thresholds.
source code
 
getMinval(self, context)
Build the min value for this threshold.
source code
 
getMaxval(self, context)
Build the max value for this threshold.
source code

Inherited from ThresholdClass.ThresholdClass: __init__, breadCrumbs, canGraph, getDataPointNamesString, getSeverityString, getTypeName, sync

Class Variables [hide private]
  minval = ""
  maxval = ""
  eventClass = Perf_Snmp
  severity = 3
  escalateCount = 0
  _properties = ThresholdClass._properties+({'id': 'minval', 'ty...
  factory_type_information = {'immediate_view': 'editRRDThreshol...

Inherited from ThresholdClass.ThresholdClass: dsnames, enabled, meta_type, security

Inherited from ThresholdClass.ThresholdClass (private): _relations

Method Details [hide private]

createThresholdInstance(self, context)

source code 
Return the config used by the collector to process min/max thresholds. (id, minval, maxval, severity, escalateCount)
Overrides: ThresholdClass.ThresholdClass.createThresholdInstance

Class Variable Details [hide private]

_properties

Value:
ThresholdClass._properties+({'id': 'minval', 'type': 'string', 'mode':\
 'w'}, {'id': 'maxval', 'type': 'string', 'mode': 'w'}, {'id': 'eventC\
lass', 'type': 'string', 'mode': 'w'}, {'id': 'severity', 'type': 'int\
', 'mode': 'w'}, {'id': 'escalateCount', 'type': 'int', 'mode': 'w'},)

factory_type_information

Value:
{'immediate_view': 'editRRDThreshold', 'actions':({'id': 'edit', 'name\
': 'Min/Max Threshold', 'action': 'editRRDThreshold', 'permissions':(P\
ermissions.view,)},)},