From 851505bff384379d3df4f48c5c69d3420cede931 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 6 Oct 2022 23:40:36 +0200 Subject: [PATCH] Some more configuration changes and inline comments. --- bin/linspector | 2 +- etc/linspector.conf | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/linspector b/bin/linspector index 354a780..34f5a49 100755 --- a/bin/linspector +++ b/bin/linspector @@ -37,7 +37,7 @@ logger = logging.getLogger('linspector') # i currently only increase the 3rd number because the goal is that 0.19.* will become the first # stable version. -__version__ = '0.19.41.dev1' +__version__ = '0.19.42.dev1' __author__ = 'Johannes Findeisen ' diff --git a/etc/linspector.conf b/etc/linspector.conf index eabe9cc..d29c399 100644 --- a/etc/linspector.conf +++ b/etc/linspector.conf @@ -8,20 +8,20 @@ log_file = ~/code/linspector/linspector/log/linspector.log ; number of log files to be kept. i recommend to use the lowest sensible value for keeping performance high. so set ; the size of the log file higher to increase the log history. log_file_count = 10 -; log file size in megabytes as int. +; log file size in megabytes as int. the default is 10000000 bytes (10MiB) set in the code if not configured here. log_file_size = 5 ; log file size in bytes as int. you can set to bytes if you want to set a value lower then 1 megabyte. but it will -; only be used when log_file_size is not set. the default is 10000000 (10MiB) in the code if not set here. +; only be used when log_file_size is not set. log_file_size_bytes = 100000 pid_file = /var/run/user/1000/linspector.pid ; plugins separated by ','. no whitespaces allowed! not case sensitive. -plugins = Lish,HTTPServer +plugins = lish,httpserver ; globally configured tasks will always run on all monitors when no task is configured there. if tasks are configured in ; a monitor then maybe only run tasks from the dedicated monitor. maybe it is a good idea to run global tasks in every ; monitor and the monitor can add tasks to the global settings... need to think about it. ; tasks separated by ','. no whitespaces allowed! not case sensitive. -tasks = SQLite -notifications = SMS +tasks = sqlite +notifications = sms ; maybe the run_mode is obsolete because this will be a daemon but maybe it is useful for one time execution? ; in uplink the available run_modes were cron, daemon and foreground run_mode = cron