Just more ideas...

This commit is contained in:
Johannes Findeisen 2023-02-12 09:46:09 +01:00
commit 6c8598c752
2 changed files with 8 additions and 4 deletions

View file

@ -2,7 +2,8 @@
[linspector]
; report core errors to the following users
error_receivers = admin@example.com
; available log levels are: "error", "warning", "info" and "debug". if no log_level is set, it will be critical only.
; available log levels are: "critical", "error", "warning", "info" and "debug". if no log_level is set, it will be set
; to "critical".
log_level = debug
;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
@ -15,7 +16,7 @@ log_file_size = 1
log_file_size_bytes = 100000
pid_file = /var/run/user/1000/linspector.pid
; plugins separated by ','. no whitespaces allowed! not case sensitive.
plugins = rpc,httpserver
plugins = api,httpd,lish
; 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.
@ -97,8 +98,11 @@ sms_resend_count = 5
email_resend = 10
; every plugin can be configured in it's own ini file in etc/plugins; there no plugin name as prefix is needed. see
; httpserver example.
; httpd example.
[plugins]
api_host = 0.0.0.0
httpd_host = 192.168.23.42
httpd_port = 8089
; if types can or must be configured before use; for now no use case seen.
; every type can be configured in it's own ini file in etc/types; there no type name as prefix is not needed.