34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
[linspector]
|
|
default_interval = 300
|
|
minimum_interval = 10
|
|
; this should be set to the highest interval you use. it must not but it will be the best performance.
|
|
delta_range = 60
|
|
|
|
start_scheduler = true
|
|
scheduler_mode = process
|
|
max_processes = 24
|
|
max_threads = 2048
|
|
pid_file = /var/run/user/1000/linspector.pid
|
|
|
|
; log format. this overrides the default configured in the code
|
|
log_format = <green>timestamp={time:YYYY-MM-DD HH:mm:ss.SSSSSS ZZ}</green> <yellow>uptime={elapsed}</yellow> <magenta>level={level}</magenta> <blue>name=linspector</blue> <cyan>exec={name}:{function}</cyan> <red>line={line}</red> {message}
|
|
; log level for stderr logging (default: INFO)
|
|
log_level = INFO
|
|
; logfile to use
|
|
logfile = /home/hanez/code/linspector/linspector/log/linspector.log
|
|
; number of logfiles to keep (default: 10)
|
|
logfile_count = 5
|
|
; 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 = 10MiB
|
|
|
|
notifications =
|
|
plugins =
|
|
tasks = mariadb,csv,file
|
|
|
|
; 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
|