master
json 189 lines 5.01 KB
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "Dell PowerStore 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": 30
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": 0
20 },
21 "url": {
22 "title": "URL",
23 "description": "The base URL of the PowerStore management interface.",
24 "type": "string",
25 "default": "https://127.0.0.1",
26 "format": "uri"
27 },
28 "timeout": {
29 "title": "Timeout",
30 "description": "The timeout in seconds for HTTP requests.",
31 "type": "number",
32 "minimum": 0.5,
33 "default": 30
34 },
35 "not_follow_redirects": {
36 "title": "Not follow redirects",
37 "description": "If set, the client will not follow HTTP redirects automatically.",
38 "type": "boolean"
39 },
40 "username": {
41 "title": "Username",
42 "description": "The username for PowerStore API authentication.",
43 "type": "string",
44 "sensitive": true
45 },
46 "password": {
47 "title": "Password",
48 "description": "The password for PowerStore API authentication.",
49 "type": "string",
50 "sensitive": true
51 },
52 "proxy_url": {
53 "title": "Proxy URL",
54 "description": "The URL of the proxy server.",
55 "type": "string"
56 },
57 "proxy_username": {
58 "title": "Proxy username",
59 "description": "The username for proxy authentication.",
60 "type": "string",
61 "sensitive": true
62 },
63 "proxy_password": {
64 "title": "Proxy password",
65 "description": "The password for proxy authentication.",
66 "type": "string",
67 "sensitive": true
68 },
69 "headers": {
70 "title": "Headers",
71 "description": "Additional HTTP headers to include in requests.",
72 "type": [
73 "object",
74 "null"
75 ],
76 "additionalProperties": {
77 "type": "string"
78 }
79 },
80 "tls_skip_verify": {
81 "title": "Skip TLS verification",
82 "description": "If set, TLS certificate verification will be skipped.",
83 "type": "boolean"
84 },
85 "tls_ca": {
86 "title": "TLS CA",
87 "description": "The path to the CA certificate file for TLS verification.",
88 "type": "string",
89 "pattern": "^$|^/"
90 },
91 "tls_cert": {
92 "title": "TLS certificate",
93 "description": "The path to the client TLS certificate file.",
94 "type": "string",
95 "pattern": "^$|^/"
96 },
97 "tls_key": {
98 "title": "TLS key",
99 "description": "The path to the client TLS key file.",
100 "type": "string",
101 "pattern": "^$|^/"
102 },
103 "volume_selector": {
104 "title": "Volume selector",
105 "description": "Specifies a space-separated list of volume name patterns to monitor. Use * for wildcards, prefix with ! to exclude.",
106 "type": "string",
107 "default": "*"
108 },
109 "vnode": {
110 "title": "Virtual Node",
111 "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).",
112 "type": "string"
113 }
114 },
115 "required": [
116 "url",
117 "username",
118 "password"
119 ],
120 "additionalProperties": false,
121 "patternProperties": {
122 "^name$": {}
123 }
124 },
125 "uiSchema": {
126 "uiOptions": {
127 "fullPage": true
128 },
129 "url": {
130 "ui:placeholder": "https://127.0.0.1"
131 },
132 "timeout": {
133 "ui:help": "Accepts decimals for sub-second values (e.g., 0.5 = 500ms)."
134 },
135 "password": {
136 "ui:widget": "password"
137 },
138 "proxy_password": {
139 "ui:widget": "password"
140 },
141 "ui:flavour": "tabs",
142 "ui:options": {
143 "tabs": [
144 {
145 "title": "Base",
146 "fields": [
147 "update_every",
148 "autodetection_retry",
149 "url",
150 "timeout",
151 "not_follow_redirects",
152 "volume_selector",
153 "vnode"
154 ]
155 },
156 {
157 "title": "Auth",
158 "fields": [
159 "username",
160 "password"
161 ]
162 },
163 {
164 "title": "TLS",
165 "fields": [
166 "tls_skip_verify",
167 "tls_ca",
168 "tls_cert",
169 "tls_key"
170 ]
171 },
172 {
173 "title": "Proxy",
174 "fields": [
175 "proxy_url",
176 "proxy_username",
177 "proxy_password"
178 ]
179 },
180 {
181 "title": "Headers",
182 "fields": [
183 "headers"
184 ]
185 }
186 ]
187 }
188 }
189 }