Example #1
0
    def start(self):
        """Causes the reporting subsystem and any drivers to be started
        """
        map(lambda x: x.start(), self.drivers.itervalues())

        # set all checkers that loader has hooked in to be run on the
        # given interval
        checkstarter = lambda period, checker: util.periodicCallInThread(checker).start(period)
        for args in self.checkers:
            # wait 300 seconds to start each checker, to prevent startup lag from
            # throwing off the checkers
            reactor.callLater(2, checkstarter, *args)
Example #2
0
    def start(self):
        """Causes the reporting subsystem and any drivers to be started
        """
        map(lambda x: x.start(), self.drivers.itervalues())

        # set all checkers that loader has hooked in to be run on the
        # given interval
        checkstarter = lambda period, checker: util.periodicCallInThread(
            checker).start(period)
        for args in self.checkers:
            # wait 300 seconds to start each checker, to prevent startup lag from
            # throwing off the checkers
            reactor.callLater(2, checkstarter, *args)
Example #3
0
 def start(self):
     util.periodicCallInThread(self.update).start(self.rate)
Example #4
0
 def start(self):
     util.periodicCallInThread(self.update).start(self.rate)