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

Class BasicDataSource

source code

Products.ZenModel.RRDDataSource.SimpleRRDDataSource --+
                                                      |
                                                     BasicDataSource

Instance Methods [hide private]
 
addDataPoints(self)
Overrides method defined in SimpleRRDDataSource.
source code
 
getDescription(self) source code
 
useZenCommand(self) source code
 
zmanage_editProperties(self, REQUEST=None)
add some validation
source code
 
manage_testDataSource(self, testDevice, REQUEST)
Test the datasource by executing the command and outputting the non-quiet results.
source code
 
parsers(self) source code
Class Variables [hide private]
  __pychecker__ = 'no-override'
  sourcetypes = 'SNMP', 'COMMAND'
  sourcetype = 'SNMP'
  eventClass = Cmd_Fail
  oid = ''
  parser = "Auto"
  usessh = False
  _properties = RRDDataSource.RRDDataSource._properties+({'id': ...
  _relations = RRDDataSource.RRDDataSource._relations+()
  factory_type_information = {'immediate_view': 'editBasicDataSo...
  security = ClassSecurityInfo()
Method Details [hide private]

addDataPoints(self)

source code 
Overrides method defined in SimpleRRDDataSource. Only sync the datapoint with the datasource if the datasource type is SNMP.

Class Variable Details [hide private]

_properties

Value:
RRDDataSource.RRDDataSource._properties+({'id': 'oid', 'type': 'string\
', 'mode': 'w'}, {'id': 'usessh', 'type': 'boolean', 'mode': 'w'}, {'i\
d': 'parser', 'type': 'string', 'mode': 'w'},)

factory_type_information

Value:
{'immediate_view': 'editBasicDataSource', 'actions':({'id': 'edit', 'n\
ame': 'Data Source', 'action': 'editBasicDataSource', 'permissions':(P\
ermissions.view,)},)},