master
json 103 lines 3.13 KB
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "Supervisord 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": 1
13 },
14 "autodetection_retry": {
15 "title": "Detection retry",
16 "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.",
17 "type": "integer",
18 "minimum": 0,
19 "default": 60
20 },
21 "url": {
22 "title": "URL",
23 "description": "The URL of the Supervisord [XML-RPC interface](http://supervisord.org/xmlrpc.html#rpcinterface-factories).",
24 "type": "string",
25 "default": "http://127.0.0.1:9001/RPC2",
26 "format": "uri"
27 },
28 "timeout": {
29 "title": "Timeout",
30 "description": "The timeout in seconds for the HTTP request.",
31 "type": "number",
32 "minimum": 0.5,
33 "default": 1
34 },
35 "vnode": {
36 "title": "Vnode",
37 "description": "Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes).",
38 "type": "string"
39 },
40 "tls_skip_verify": {
41 "title": "Skip TLS verification",
42 "description": "If set, TLS certificate verification will be skipped.",
43 "type": "boolean"
44 },
45 "tls_ca": {
46 "title": "TLS CA",
47 "description": "The path to the CA certificate file for TLS verification.",
48 "type": "string"
49 },
50 "tls_cert": {
51 "title": "TLS certificate",
52 "description": "The path to the client certificate file for TLS authentication.",
53 "type": "string"
54 },
55 "tls_key": {
56 "title": "TLS key",
57 "description": "The path to the client key file for TLS authentication.",
58 "type": "string"
59 }
60 },
61 "required": [
62 "url"
63 ]
64 },
65 "uiSchema": {
66 "uiOptions": {
67 "fullPage": true
68 },
69 "vnode": {
70 "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
71 },
72 "autodetection_retry": {
73 "ui:help": "This option determines how frequently (in seconds) Netdata will retry data collection jobs that failed initially, with the value of 60 meaning it retries to start data collection jobs every 60 seconds, while setting it to 0 disables this retry mechanism entirely."
74 },
75 "timeout": {
76 "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
77 },
78 "ui:flavour": "tabs",
79 "ui:options": {
80 "tabs": [
81 {
82 "title": "Base",
83 "fields": [
84 "update_every",
85 "autodetection_retry",
86 "url",
87 "timeout",
88 "vnode"
89 ]
90 },
91 {
92 "title": "TLS",
93 "fields": [
94 "tls_skip_verify",
95 "tls_ca",
96 "tls_cert",
97 "tls_key"
98 ]
99 }
100 ]
101 }
102 }
103 }