def update(self, object):
        from Products.ZenModel.RRDDataSource import RRDDataSource

        if isinstance(object, RRDDataSource):
            if object.sourcetype != "SLA":
                return
        PerformanceConfig.update(self, object)
Пример #2
0
 def update(self, object):
     from Products.ZenModel.DeviceClass import DeviceClass
     if isinstance(object, DeviceClass):
         if hasattr( object, 'zAppEngineInstanceUser') and \
             object.__primary_parent__.id == 'AppEngine':
             procrastinator = Procrastinate(
                 self.sendAllDeviceConfigsForInstance)
             procrastinator.doLater(object.id)
     PerformanceConfig.update(self, object)
 def update(self, object):
     from Products.ZenModel.DeviceClass import DeviceClass
     if isinstance( object, DeviceClass ):
         if hasattr( object, 'zAppEngineInstanceUser') and \
             object.__primary_parent__.id == 'AppEngine':
             procrastinator = Procrastinate(
                                     self.sendAllDeviceConfigsForInstance )
             procrastinator.doLater( object.id )
     PerformanceConfig.update( self, object )