master
json 33 lines 972 Bytes
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "Litespeed collector configuration.",
5 "type": "object",
6 "properties": {
7 "update_every": {
8 "title": "Update every",
9 "description": "Data collection interval, measured in seconds.",
10 "type": "integer",
11 "minimum": 1,
12 "default": 10
13 },
14 "reports_dir": {
15 "title": "Reports directory",
16 "description": "Directory containing Litespeed's real-time statistics files (`.rtreport`)",
17 "type": "string",
18 "default": "/tmp/lshttpd/"
19 }
20 },
21 "required": [
22 "reports_dir"
23 ]
24 },
25 "uiSchema": {
26 "uiOptions": {
27 "fullPage": true
28 },
29 "update_every": {
30 "ui:help": "Data is collected by reading Litespeed's report files, which are updated every 10 seconds. Setting the data collection interval to less than 10 seconds wouldn't provide more recent data."
31 }
32 }
33 }