Linspector is not thread safe including this version! (0.30.0)
This commit is contained in:
parent
c6d2b6734f
commit
6f090a3982
2 changed files with 3 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ from linspector.monitors import Monitors
|
|||
__author__ = 'Johannes Findeisen'
|
||||
__author_email__ = 'you@hanez.org'
|
||||
__description__ = 'linspector is a infrastructure and system monitoring daemon and toolchain.'
|
||||
__version__ = '0.29.0'
|
||||
__version__ = '0.30.0'
|
||||
|
||||
sys.stderr = open('/dev/null', 'w')
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ See LICENSE.
|
|||
"""
|
||||
|
||||
import configparser
|
||||
import copy
|
||||
import glob
|
||||
import os
|
||||
|
||||
|
|
@ -16,7 +17,7 @@ from linspector.monitor import Monitor
|
|||
# when changed dynamically. better: add a hash of the config file of each monitor to each monitor
|
||||
# object and if it has changed reload the monitor. e.g. delete it from the scheduler and reschedule.
|
||||
# if a new monitor is added at runtime it needs to be checked manually by running a "reload" command
|
||||
# to lish which walks thrue all scheduled jobs and when an unknown monitor is found, schedule it.
|
||||
# to lish which walks through all scheduled jobs and when an unknown monitor is found, schedule it.
|
||||
class Monitors:
|
||||
def __init__(self, configuration, environment, log, notifications, services, tasks):
|
||||
self._configuration = configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue