Example #1
0
 def zmanage_editProperties(self, REQUEST=None):
     'add some validation'
     if REQUEST:
         self.cs = REQUEST.get('cs', '')
         self.sql = REQUEST.get('sql', '')
         self.sqlparsed, self.sqlkb = self.parseSqlQuery(self.sql)
     return RRDDataSource.zmanage_editProperties(self, REQUEST)
 def zmanage_editProperties(self, REQUEST=None):
     'add some validation'
     if REQUEST:
         self.cs = REQUEST.get('cs', '')
         self.sql = REQUEST.get('sql', '')
         self.sqlparsed, self.sqlkb = self.parseSqlQuery(self.sql)
     return RRDDataSource.zmanage_editProperties(self, REQUEST)
 def zmanage_editProperties(self, REQUEST=None):
     'add some validation'
     if REQUEST:
         self.namespace = REQUEST.get('namespace', '')
         self.wql = REQUEST.get('wql', '')
     return RRDDataSource.zmanage_editProperties(self, REQUEST)
 def getDescription(self):
     if self.sourcetype == self.JMX:
         return self.hostname
     return RRDDataSource.getDescription(self)
 def zmanage_editProperties(self, REQUEST=None):
     "add some validation"
     if REQUEST:
         self.namespace = REQUEST.get("namespace", "")
         self.instance = REQUEST.get("instance", "")
     return RRDDataSource.zmanage_editProperties(self, REQUEST)
Example #6
0
 def __init__(self, id, title=None, buildRelations=True):
     RRDDataSource.__init__(self, id, title, buildRelations)
Example #7
0
 def getDescription(self):
     if self.sourcetype == self.JMX:
         return self.hostname
     return RRDDataSource.getDescription(self)
 def __init__(self, id, title=None, buildRelations=True):
     RRDDataSource.__init__(self, id, title, buildRelations)
     self.addDataPoints()