| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "title": "Dell PowerVault ME4/ME5 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 PowerVault Management Controller Interface (MCI) API.", |
| 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 PowerVault MCI API authentication.", |
| 43 | "type": "string", |
| 44 | "sensitive": true |
| 45 | }, |
| 46 | "password": { |
| 47 | "title": "Password", |
| 48 | "description": "The password for PowerVault MCI API authentication.", |
| 49 | "type": "string", |
| 50 | "sensitive": true |
| 51 | }, |
| 52 | "auth_digest": { |
| 53 | "title": "Auth digest", |
| 54 | "description": "The hash algorithm used for authentication. Use sha256 (default) or md5 (legacy ME4 firmware before G280).", |
| 55 | "type": "string", |
| 56 | "enum": [ |
| 57 | "sha256", |
| 58 | "md5" |
| 59 | ], |
| 60 | "default": "sha256" |
| 61 | }, |
| 62 | "volume_selector": { |
| 63 | "title": "Volume selector", |
| 64 | "description": "Specifies a space-separated list of volume name patterns to monitor. Use * for wildcards, prefix with ! to exclude.", |
| 65 | "type": "string", |
| 66 | "default": "" |
| 67 | }, |
| 68 | "proxy_url": { |
| 69 | "title": "Proxy URL", |
| 70 | "description": "The URL of the proxy server.", |
| 71 | "type": "string" |
| 72 | }, |
| 73 | "proxy_username": { |
| 74 | "title": "Proxy username", |
| 75 | "description": "The username for proxy authentication.", |
| 76 | "type": "string", |
| 77 | "sensitive": true |
| 78 | }, |
| 79 | "proxy_password": { |
| 80 | "title": "Proxy password", |
| 81 | "description": "The password for proxy authentication.", |
| 82 | "type": "string", |
| 83 | "sensitive": true |
| 84 | }, |
| 85 | "headers": { |
| 86 | "title": "Headers", |
| 87 | "description": "Additional HTTP headers to include in requests.", |
| 88 | "type": [ |
| 89 | "object", |
| 90 | "null" |
| 91 | ], |
| 92 | "additionalProperties": { |
| 93 | "type": "string" |
| 94 | } |
| 95 | }, |
| 96 | "tls_skip_verify": { |
| 97 | "title": "Skip TLS verification", |
| 98 | "description": "If set, TLS certificate verification will be skipped.", |
| 99 | "type": "boolean" |
| 100 | }, |
| 101 | "tls_ca": { |
| 102 | "title": "TLS CA", |
| 103 | "description": "The path to the CA certificate file for TLS verification.", |
| 104 | "type": "string", |
| 105 | "pattern": "^$|^/" |
| 106 | }, |
| 107 | "tls_cert": { |
| 108 | "title": "TLS certificate", |
| 109 | "description": "The path to the client TLS certificate file.", |
| 110 | "type": "string", |
| 111 | "pattern": "^$|^/" |
| 112 | }, |
| 113 | "tls_key": { |
| 114 | "title": "TLS key", |
| 115 | "description": "The path to the client TLS key file.", |
| 116 | "type": "string", |
| 117 | "pattern": "^$|^/" |
| 118 | }, |
| 119 | "vnode": { |
| 120 | "title": "Virtual Node", |
| 121 | "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).", |
| 122 | "type": "string" |
| 123 | } |
| 124 | }, |
| 125 | "required": [ |
| 126 | "url", |
| 127 | "username", |
| 128 | "password" |
| 129 | ], |
| 130 | "additionalProperties": false, |
| 131 | "patternProperties": { |
| 132 | "^name$": {} |
| 133 | } |
| 134 | }, |
| 135 | "uiSchema": { |
| 136 | "uiOptions": { |
| 137 | "fullPage": true |
| 138 | }, |
| 139 | "url": { |
| 140 | "ui:placeholder": "https://127.0.0.1" |
| 141 | }, |
| 142 | "timeout": { |
| 143 | "ui:help": "Accepts decimals for sub-second values (e.g., 0.5 = 500ms)." |
| 144 | }, |
| 145 | "password": { |
| 146 | "ui:widget": "password" |
| 147 | }, |
| 148 | "proxy_password": { |
| 149 | "ui:widget": "password" |
| 150 | }, |
| 151 | "ui:flavour": "tabs", |
| 152 | "ui:options": { |
| 153 | "tabs": [ |
| 154 | { |
| 155 | "title": "Base", |
| 156 | "fields": [ |
| 157 | "update_every", |
| 158 | "autodetection_retry", |
| 159 | "url", |
| 160 | "timeout", |
| 161 | "not_follow_redirects", |
| 162 | "volume_selector", |
| 163 | "vnode" |
| 164 | ] |
| 165 | }, |
| 166 | { |
| 167 | "title": "Auth", |
| 168 | "fields": [ |
| 169 | "username", |
| 170 | "password", |
| 171 | "auth_digest" |
| 172 | ] |
| 173 | }, |
| 174 | { |
| 175 | "title": "TLS", |
| 176 | "fields": [ |
| 177 | "tls_skip_verify", |
| 178 | "tls_ca", |
| 179 | "tls_cert", |
| 180 | "tls_key" |
| 181 | ] |
| 182 | }, |
| 183 | { |
| 184 | "title": "Proxy", |
| 185 | "fields": [ |
| 186 | "proxy_url", |
| 187 | "proxy_username", |
| 188 | "proxy_password" |
| 189 | ] |
| 190 | }, |
| 191 | { |
| 192 | "title": "Headers", |
| 193 | "fields": [ |
| 194 | "headers" |
| 195 | ] |
| 196 | } |
| 197 | ] |
| 198 | } |
| 199 | } |
| 200 | } |