Only a fix... so let's load plugins next! :D

This commit is contained in:
Johannes Findeisen 2022-09-27 09:50:24 +02:00
commit 0d41077eb6
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ def main():
environment = Environment() environment = Environment()
monitors = None monitors = None
notifications = {} notifications = {}
plugins = {}
services = {} services = {}
tasks = {} tasks = {}

View file

@ -70,7 +70,7 @@ class Monitor:
notification.__init__(self, configuration, environment) notification.__init__(self, configuration, environment)
notifications[notification_option] = notification notifications[notification_option] = notification
#print(__file__ + ' (74): ' + str(notifications)) #print(__file__ + ' (73): ' + str(notifications))
#print(__file__ + ' (75): ' + str(monitor_configuration)) #print(__file__ + ' (75): ' + str(monitor_configuration))
if self.__monitor_configuration.get('monitor', 'service'): if self.__monitor_configuration.get('monitor', 'service'):