From cd978108b01b45ce568f0e3fc99b6688785b7049 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Tue, 30 May 2023 02:44:52 +0200 Subject: [PATCH] Implemented timezone setting corretly and requirements.txt update. (0.21.6) --- bin/linspector | 2 +- etc.dev/linspector.conf | 7 ++++--- etc.local/linspector.conf | 6 +++--- etc/linspector.conf | 6 +++--- requirements.txt | 20 ++++++++++---------- 5 files changed, 21 insertions(+), 20 deletions(-) diff --git a/bin/linspector b/bin/linspector index 265ac9f..620c19c 100755 --- a/bin/linspector +++ b/bin/linspector @@ -18,7 +18,7 @@ from linspector.environment import Environment from linspector.linspector import Linspector from linspector.monitors import Monitors -__version__ = '0.21.5' +__version__ = '0.21.6' __author__ = 'Johannes Findeisen ' diff --git a/etc.dev/linspector.conf b/etc.dev/linspector.conf index f4dbf11..7d014dd 100644 --- a/etc.dev/linspector.conf +++ b/etc.dev/linspector.conf @@ -47,8 +47,9 @@ max_threads = 2048 ; system is running other services you should lower this value when you have too high CPU load. if you have enough ; resources this value really can be higher then your available CPU cores. max_processes = 8 -; if timezone is not set, UTC is used by default. -timezone = CET +; timezone can be set to a remote timezone to make monitors run at the remote time. this can be overridden in each +; monitor configuration. +timezone = UTC ; this is for scheduling jobs to not run all at the same time. this should not be set lower then the lowest interval ; you use in monitors. it can be set to a lower value if you only have a small amount of services you are monitoring. ; i recommend the lowest interval you use in any monitor but higher values will reduce cpu load when using monitors @@ -122,4 +123,4 @@ mariadb_database = linspector mariadb_host = 10.0.0.254 mariadb_password = PASSWORD mariadb_port = 3306 -mariadb_user = USER \ No newline at end of file +mariadb_user = USER diff --git a/etc.local/linspector.conf b/etc.local/linspector.conf index fdfd088..35a36db 100644 --- a/etc.local/linspector.conf +++ b/etc.local/linspector.conf @@ -29,6 +29,6 @@ notifications = plugins = tasks = -; timezone can be set to a remote timezone to make monitors run at the remote time. this is optional. the local -; timezone is set by default. this can be overridden in each monitor. -;timezone = UTC +; timezone can be set to a remote timezone to make monitors run at the remote time. this can be overridden in each +; monitor configuration. +timezone = Europe/Berlin diff --git a/etc/linspector.conf b/etc/linspector.conf index c81af7d..9e289a5 100644 --- a/etc/linspector.conf +++ b/etc/linspector.conf @@ -28,6 +28,6 @@ notifications = plugins = tasks = -; timezone can be set to a remote timezone to make monitors run at the remote time. this is optional. the local -; timezone is set by default. this can be overridden in each monitor. -;timezone = UTC +; timezone can be set to a remote timezone to make monitors run at the remote time. this can be overridden in each +; monitor configuration. +timezone = UTC diff --git a/requirements.txt b/requirements.txt index 5151671..b7030c7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,19 +1,19 @@ APScheduler==3.10.1 CherryPy==18.8.0 asyncssh==2.13.1 -fastapi==0.94.0 +fastapi==0.95.2 fritzconnection==1.12.0 -loguru==0.6.0 -paramiko==3.1.0 -pydantic==1.10.6 +loguru==0.7.0 +paramiko==3.2.0 +pydantic==1.10.8 pysnmp==4.4.12 python-gammu==3.2.4 -pytz==2022.7.1 -requests==2.28.2 -rich==13.3.2 +pytz==2023.3 +requests==2.31.0 +rich==13.3.5 syslog2==0.5.0 -textual==0.14.0 -typer==0.7.0 +textual==0.26.0 +typer==0.9.0 urwid==2.1.2 -uvicorn==0.21.0 +uvicorn==0.22.0 xmpp2==0.4