Skip to content
Snippets Groups Projects
Commit 7be97a4f authored by Michael Loipführer's avatar Michael Loipführer
Browse files

errors

parent 838be76a
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,7 @@ class TempMonitor:
# Test if all necessary config fields are set, that are not part of the normal
# startup
configtest = [
self.config['general']['plugins'],
self.config['collectd']['hostname'],
self.config['collectd']['interval'],
self.config['mail']['from'],
......@@ -100,7 +101,7 @@ class TempMonitor:
print("connecting to", self.config['serial']['port'])
for owid in self.config:
# Skip all known and predefined sections
if owid in ['DEFAULT', 'serial', 'collectd', 'mail', 'warning']:
if owid in ['DEFAULT', 'serial', 'collectd', 'mail', 'warning', 'prometheus', 'general']:
continue
self.sensors[owid] = Sensor(self.config, owid)
self._run_task = loop.create_task(self.run())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment