master
json 126 lines 3.72 KB
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "OpenLDAP 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 "timeout": {
22 "title": "Timeout",
23 "description": "Timeout for establishing a connection and communication (reading and writing) in seconds.",
24 "type": "number",
25 "minimum": 0.5,
26 "default": 2
27 },
28 "url": {
29 "title": "URL",
30 "description": "LDAP server URL.",
31 "type": "string",
32 "default": "ldap://127.0.0.1:389"
33 },
34 "username": {
35 "title": "DN",
36 "description": "The distinguished name (DN) of the user authorized to view the monitor database.",
37 "type": "string",
38 "default": ""
39 },
40 "password": {
41 "title": "Password",
42 "description": "The password associated with the user identified by the DN.",
43 "type": "string",
44 "default": ""
45 },
46 "vnode": {
47 "title": "Vnode",
48 "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).",
49 "type": "string"
50 },
51 "tls_skip_verify": {
52 "title": "Skip TLS verification",
53 "description": "If set, TLS certificate verification will be skipped.",
54 "type": "boolean"
55 },
56 "tls_ca": {
57 "title": "TLS CA",
58 "description": "The path to the CA certificate file for TLS verification.",
59 "type": "string",
60 "pattern": "^$|^/"
61 },
62 "tls_cert": {
63 "title": "TLS certificate",
64 "description": "The path to the client certificate file for TLS authentication.",
65 "type": "string",
66 "pattern": "^$|^/"
67 },
68 "tls_key": {
69 "title": "TLS key",
70 "description": "The path to the client key file for TLS authentication.",
71 "type": "string",
72 "pattern": "^$|^/"
73 }
74 },
75 "required": [
76 "url",
77 "username"
78 ]
79 },
80 "uiSchema": {
81 "uiOptions": {
82 "fullPage": true
83 },
84 "ui:flavour": "tabs",
85 "ui:options": {
86 "tabs": [
87 {
88 "title": "Base",
89 "fields": [
90 "update_every",
91 "autodetection_retry",
92 "url",
93 "timeout",
94 "username",
95 "password",
96 "vnode"
97 ]
98 },
99 {
100 "title": "TLS",
101 "fields": [
102 "tls_skip_verify",
103 "tls_ca",
104 "tls_cert",
105 "tls_key"
106 ]
107 }
108 ]
109 },
110 "vnode": {
111 "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
112 },
113 "autodetection_retry": {
114 "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."
115 },
116 "timeout": {
117 "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
118 },
119 "username": {
120 "ui:placeholder": "cn=admin,dc=example,dc=com"
121 },
122 "password": {
123 "ui:widget": "password"
124 }
125 }
126 }