From 0d41077eb6d27f97ae127998dd343c9b71090aec Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 27 Sep 2022 09:50:24 +0200 Subject: [PATCH] Only a fix... so let's load plugins next! :D --- bin/linspector | 1 + linspector/core/monitor.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/linspector b/bin/linspector index 0b71b33..eb44d6a 100755 --- a/bin/linspector +++ b/bin/linspector @@ -64,6 +64,7 @@ def main(): environment = Environment() monitors = None notifications = {} + plugins = {} services = {} tasks = {} diff --git a/linspector/core/monitor.py b/linspector/core/monitor.py index 937c41e..a56e39b 100644 --- a/linspector/core/monitor.py +++ b/linspector/core/monitor.py @@ -70,7 +70,7 @@ class Monitor: notification.__init__(self, configuration, environment) notifications[notification_option] = notification - #print(__file__ + ' (74): ' + str(notifications)) + #print(__file__ + ' (73): ' + str(notifications)) #print(__file__ + ' (75): ' + str(monitor_configuration)) if self.__monitor_configuration.get('monitor', 'service'):