Implemented timezone setting corretly and requirements.txt update. (0.21.6)

This commit is contained in:
Johannes Findeisen 2023-05-30 02:44:52 +02:00
commit cd978108b0
5 changed files with 21 additions and 20 deletions

View file

@ -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 <you@hanez.org>'

View file

@ -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
mariadb_user = USER

View file

@ -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

View file

@ -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

View file

@ -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