2022-09-25 00:39:51 +02:00
|
|
|
[linspector]
|
2023-02-22 15:25:58 +01:00
|
|
|
default_interval = 300
|
2023-02-24 01:45:15 +01:00
|
|
|
minimum_interval = 10
|
2023-02-22 15:25:58 +01:00
|
|
|
delta_range = 10
|
2023-02-24 01:45:15 +01:00
|
|
|
|
|
|
|
|
start_scheduler = true
|
2023-09-02 21:43:49 +02:00
|
|
|
; the scheduler mode. process or thread (default: thread)
|
2023-02-24 01:45:15 +01:00
|
|
|
scheduler_mode = thread
|
2023-09-02 21:43:49 +02:00
|
|
|
; max processes is alwys 1 in thread scheduler mode (default: thread)
|
|
|
|
|
max_processes = 12
|
|
|
|
|
; max threads in each process (min.: 1)
|
2022-10-03 12:31:47 +02:00
|
|
|
max_threads = 2048
|
2023-02-22 15:25:58 +01:00
|
|
|
pid_file = /var/run/user/1000/linspector.pid
|
2023-02-24 01:45:15 +01:00
|
|
|
|
2023-09-02 19:54:46 +02:00
|
|
|
; logfile (do not set to disable logging)
|
2023-02-24 01:45:15 +01:00
|
|
|
logfile = /home/hanez/code/linspector/linspector/log/linspector.log
|
|
|
|
|
; number of logfiles to keep (default: 10)
|
2023-09-01 17:05:15 +02:00
|
|
|
logfile_count = 10
|
2023-02-24 01:45:15 +01:00
|
|
|
; logfile format. this overrides the default configured in the code
|
2023-09-01 17:05:15 +02:00
|
|
|
logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{level}] [linspector]: {message}
|
|
|
|
|
; log level (default: INFO)
|
|
|
|
|
logfile_level = INFO
|
|
|
|
|
; max logfile size (default: 1MB)
|
2023-09-02 19:54:46 +02:00
|
|
|
logfile_size = 5MB
|
|
|
|
|
|
|
|
|
|
; error logfile (do not set to disable error logging)
|
|
|
|
|
error_logfile = /home/hanez/code/linspector/linspector/log/error.log
|
|
|
|
|
; number of error logfiles to keep (default: 10)
|
|
|
|
|
error_logfile_count = 10
|
|
|
|
|
; error logfile format. this overrides the default configured in the code
|
|
|
|
|
error_logfile_format = [{time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}] [{elapsed}] [{level}] [linspector] [{name}:{function}:{line}]: {message}
|
|
|
|
|
; max error logfile size (default: 1MB)
|
|
|
|
|
error_logfile_size = 5MB
|
2023-02-24 01:45:15 +01:00
|
|
|
|
|
|
|
|
notifications =
|
2023-08-20 22:51:39 +02:00
|
|
|
|
2023-02-22 15:25:58 +01:00
|
|
|
plugins =
|
2023-08-20 22:51:39 +02:00
|
|
|
|
2023-08-31 22:30:05 +02:00
|
|
|
; the tasks to be executed after each monitors service execution
|
|
|
|
|
tasks = mysql
|
2022-09-28 08:27:51 +02:00
|
|
|
|
2023-05-30 02:44:52 +02:00
|
|
|
; timezone can be set to a remote timezone to make monitors run at the remote time. this can be overridden in each
|
|
|
|
|
; monitor configuration.
|
2023-07-15 00:39:53 +02:00
|
|
|
timezone = CET
|
2023-08-20 22:51:39 +02:00
|
|
|
|