Bug fixes. There are still more in monitor.py!
This commit is contained in:
parent
70e59f571c
commit
6036ab6462
1 changed files with 2 additions and 2 deletions
|
|
@ -200,14 +200,14 @@ class Monitor:
|
||||||
|
|
||||||
def handle_call(self):
|
def handle_call(self):
|
||||||
log('info', "handle call to identifier: " + self.__identifier)
|
log('info', "handle call to identifier: " + self.__identifier)
|
||||||
self.__services[self.__service].execute()
|
|
||||||
#logger.debug("handle call")
|
#logger.debug("handle call")
|
||||||
#logger.debug(self.service)
|
#logger.debug(self.service)
|
||||||
if self.enabled:
|
if self.enabled:
|
||||||
self.last_execution = None
|
self.last_execution = None
|
||||||
try:
|
try:
|
||||||
self.last_execution = MonitorExecution(self.get_host())
|
self.last_execution = MonitorExecution(self.get_host())
|
||||||
self.service.execute(self.last_execution)
|
#self.__services[self.__service].execute(self.last_execution)
|
||||||
|
self.__services[self.__service].execute()
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
log('error', err)
|
log('error', err)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue