mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
|
[stats]
|
||
|
# enable stats collecting
|
||
|
stats = True
|
||
|
# path to SSL certificate to serve stats server via HTTPS
|
||
|
stats-certfile =
|
||
|
# space separated list of RRAs for RRD databases on client side
|
||
|
stats-client-rras = RRA:AVERAGE:0.5:1:4320 RRA:AVERAGE:0.5:5:2016
|
||
|
# path to SSL certificate keyfile to serve stats server via HTTPS
|
||
|
stats-keyfile =
|
||
|
# path to the root directory to place stats
|
||
|
stats-root = /library/sugar-stats/rrd
|
||
|
# space separated list of RRAs for RRD databases on a server side
|
||
|
stats-server-rras = RRA:AVERAGE:0.5:1:10080 RRA:AVERAGE:0.5:5:8928 RRA:AVERAGE:0.5:15:35040
|
||
|
# step interval in seconds for RRD databases
|
||
|
stats-step = 60
|
||
|
|
||
|
[active-document]
|
||
|
# path to the root directory to place documents' data and indexes
|
||
|
data-root = /library/sugar-stats/users
|
||
|
# limit the resulting list for search requests
|
||
|
find-limit = 32
|
||
|
# flush index every specified changes
|
||
|
index-flush-threshold = 32
|
||
|
# flush index index after specified seconds since the last change
|
||
|
index-flush-timeout = 60
|
||
|
# for concurent access, run index writer in separate thread; this option
|
||
|
# specifies the writer's queue size; 0 means not threading the writer
|
||
|
index-write-queue = 256
|
||
|
|
||
|
[main]
|
||
|
# debug logging level; multiple argument
|
||
|
debug = 0
|
||
|
# hostname to listen incomming connections
|
||
|
host = 0.0.0.0
|
||
|
# path to the directory to place log files
|
||
|
logdir = /var/log/sugar-stats
|
||
|
# port number to listen incomming connections
|
||
|
port = 8000
|
||
|
# path to the directory to place pid files
|
||
|
rundir = /library/sugar-stats
|
||
|
# switch off user credentials check; disabling this option will require
|
||
|
# OpenSSH-5.6 or later.
|
||
|
trust-users = False
|