diff --git a/etc.local/linspector.conf b/etc.local/linspector.conf index 35a36db..20b66ce 100644 --- a/etc.local/linspector.conf +++ b/etc.local/linspector.conf @@ -17,13 +17,13 @@ log_level = INFO ; logfile to use logfile = /home/hanez/code/linspector/linspector/log/linspector.log ; number of logfiles to keep (default: 10) -logfile_count = 1 +logfile_count = 10 ; logfile format. this overrides the default configured in the code ;logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{level}] [linspector] [{name}:{function}:{line}]: {message} ; log level for file based logging logfile_level = DEBUG ; size of logfiles (default: 1MB) -logfile_size = 100 MiB +logfile_size = 10MiB notifications = plugins = diff --git a/etc/linspector.conf b/etc/linspector.conf index 9e289a5..568f0a8 100644 --- a/etc/linspector.conf +++ b/etc/linspector.conf @@ -30,4 +30,4 @@ tasks = ; 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 +timezone = CET diff --git a/etc/monitors/network1/gateway.conf b/etc/monitors/network1/gateway.conf index 2e1ac69..cd2f420 100644 --- a/etc/monitors/network1/gateway.conf +++ b/etc/monitors/network1/gateway.conf @@ -2,7 +2,7 @@ title = Uplink Status description = Cable Provider Uplink Status service = vendor.avm.is_connected -host = 192.168.1.1 +host = 192.168.23.1 interval = 5 ; the timezone can be set to the zone of the monitor target host to run at the remote time. this is optional. the ; default is the local system timezone. diff --git a/etc/monitors/network2/gateway.conf b/etc/monitors/network2/gateway.conf index bbc7283..3bd8054 100644 --- a/etc/monitors/network2/gateway.conf +++ b/etc/monitors/network2/gateway.conf @@ -1,8 +1,8 @@ [monitor] title = Uplink Status -description = Cable Provider Uplink Status +description = DSL Provider Uplink Status service = vendor.avm.is_connected -host = 192.168.2.1 +host = 192.168.178.1 interval = 13 [args] diff --git a/requirements.txt b/requirements.txt index cd26862..7592fb4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ fastapi==0.100.0 fritzconnection==1.12.2 loguru==0.7.0 paramiko==3.2.0 -pydantic==2.0.2 +pydantic==2.0.3 pysnmp==4.4.12 python-gammu==3.2.4 pytz==2023.3