diff --git a/src/utils/agents/data-collector.py b/src/utils/agents/data-collector.py index f9dbc7c..7aebede 100644 --- a/src/utils/agents/data-collector.py +++ b/src/utils/agents/data-collector.py @@ -69,7 +69,7 @@ class ICollector(Thread) : def run(self): write_class = self.config['store']['class']['write'] read_args = self.config['store']['args'] - + DELAY = self.config['delay'] * 60 while self.quit == False: for thread in self.pool : @@ -92,7 +92,7 @@ class ICollector(Thread) : if 'MONITOR_CONFIG_PATH' in os.environ : break print '\t *** ',str(datetime.today()),' ** ' - time.sleep(self.DELAY) + time.sleep(DELAY) print ' *** Exiting ',self.name # read_class=self.config['class']['read']