Fixed a bug in MySQL task + some other fixes. (0.28.4)
This commit is contained in:
parent
e7cdb05efa
commit
42b3feee87
2 changed files with 5 additions and 5 deletions
|
|
@ -20,7 +20,7 @@ from linspector.environment import Environment
|
|||
from linspector.linspector import Linspector
|
||||
from linspector.monitors import Monitors
|
||||
|
||||
__version__ = '0.28.3'
|
||||
__version__ = '0.28.4'
|
||||
__author__ = 'Johannes Findeisen <you@hanez.org>'
|
||||
|
||||
sys.stderr = open('/dev/null', 'w')
|
||||
|
|
@ -50,9 +50,9 @@ def parse_args():
|
|||
|
||||
|
||||
def linspector():
|
||||
print('Starting Linspector...')
|
||||
print('This software is free software licensed under the terms of the MIT license. (c) 2013-2023 by '
|
||||
'Johannes Findeisen <you@hanez.org>')
|
||||
print('Starting Linspector ' + __version__ + '...')
|
||||
print('This software is free software licensed under the terms of the MIT license. Copyright (c) 2013-2023 by ' +
|
||||
__author__)
|
||||
|
||||
args = parse_args()
|
||||
monitors = {}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class MySQLTask(Task):
|
|||
try:
|
||||
self._database = None
|
||||
if self._configuration.get_option('tasks', 'mysql_database'):
|
||||
self._database = self._configuration.get_option('databases', 'mysql_database')
|
||||
self._database = self._configuration.get_option('tasks', 'mysql_database')
|
||||
|
||||
self._host = None
|
||||
if self._configuration.get_option('tasks', 'mysql_host'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue