| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "properties": { |
| 5 | "active_jobs": { |
| 6 | "default": "nil", |
| 7 | "description": "ActiveJobs lists active jobs to monitor, using fully-qualified job identifiers (JOB_NUMBER/USER/JOB_NAME). When empty, active job collection is disabled.", |
| 8 | "items": { |
| 9 | "type": "string" |
| 10 | }, |
| 11 | "title": "Active Jobs", |
| 12 | "type": "array" |
| 13 | }, |
| 14 | "batch_path": { |
| 15 | "default": false, |
| 16 | "description": "BatchPath enables the long-period batch worker for expensive queue aggregates.", |
| 17 | "title": "Batch Path", |
| 18 | "type": "boolean" |
| 19 | }, |
| 20 | "batch_path_max_connections": { |
| 21 | "default": 1, |
| 22 | "description": "BatchPathMaxConnections caps concurrent queries for the batch worker.", |
| 23 | "title": "Batch Path Max Connections", |
| 24 | "type": "integer" |
| 25 | }, |
| 26 | "batch_path_update_every": { |
| 27 | "default": 60000000000, |
| 28 | "description": "BatchPathUpdateEvery controls the beat interval for the batch worker.", |
| 29 | "title": "Batch Path Update Every", |
| 30 | "type": "integer" |
| 31 | }, |
| 32 | "collect_active_jobs": { |
| 33 | "default": "auto", |
| 34 | "description": "CollectActiveJobs toggles collection of detailed per-job metrics.", |
| 35 | "enum": [ |
| 36 | "auto", |
| 37 | "enabled", |
| 38 | "disabled" |
| 39 | ], |
| 40 | "title": "Collect Active Jobs", |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "collect_disk_metrics": { |
| 44 | "default": "auto", |
| 45 | "description": "CollectDiskMetrics toggles collection of disk unit statistics.", |
| 46 | "enum": [ |
| 47 | "auto", |
| 48 | "enabled", |
| 49 | "disabled" |
| 50 | ], |
| 51 | "title": "Collect Disk Metrics", |
| 52 | "type": "string" |
| 53 | }, |
| 54 | "collect_disks_matching": { |
| 55 | "default": "", |
| 56 | "description": "DiskSelector filters disk units by name using glob-style patterns.", |
| 57 | "title": "Collect Disks Matching", |
| 58 | "type": "string" |
| 59 | }, |
| 60 | "collect_http_server_metrics": { |
| 61 | "default": "auto", |
| 62 | "description": "CollectHTTPServerMetrics toggles collection of IBM HTTP Server statistics.", |
| 63 | "enum": [ |
| 64 | "auto", |
| 65 | "enabled", |
| 66 | "disabled" |
| 67 | ], |
| 68 | "title": "Collect Http Server Metrics", |
| 69 | "type": "string" |
| 70 | }, |
| 71 | "collect_job_queue_totals": { |
| 72 | "default": "auto", |
| 73 | "description": "CollectJobQueueTotals enables expensive aggregate counting across all job queues.", |
| 74 | "enum": [ |
| 75 | "auto", |
| 76 | "enabled", |
| 77 | "disabled" |
| 78 | ], |
| 79 | "title": "Collect Job Queue Totals", |
| 80 | "type": "string" |
| 81 | }, |
| 82 | "collect_message_queue_totals": { |
| 83 | "default": "auto", |
| 84 | "description": "CollectMessageQueueTotals enables expensive aggregate counting across all message queues.", |
| 85 | "enum": [ |
| 86 | "auto", |
| 87 | "enabled", |
| 88 | "disabled" |
| 89 | ], |
| 90 | "title": "Collect Message Queue Totals", |
| 91 | "type": "string" |
| 92 | }, |
| 93 | "collect_output_queue_totals": { |
| 94 | "default": "auto", |
| 95 | "description": "CollectOutputQueueTotals enables expensive aggregate counting across all output queues.", |
| 96 | "enum": [ |
| 97 | "auto", |
| 98 | "enabled", |
| 99 | "disabled" |
| 100 | ], |
| 101 | "title": "Collect Output Queue Totals", |
| 102 | "type": "string" |
| 103 | }, |
| 104 | "collect_plan_cache_metrics": { |
| 105 | "default": "auto", |
| 106 | "description": "CollectPlanCacheMetrics toggles collection of plan cache analysis metrics.", |
| 107 | "enum": [ |
| 108 | "auto", |
| 109 | "enabled", |
| 110 | "disabled" |
| 111 | ], |
| 112 | "title": "Collect Plan Cache Metrics", |
| 113 | "type": "string" |
| 114 | }, |
| 115 | "collect_subsystem_metrics": { |
| 116 | "default": "auto", |
| 117 | "description": "CollectSubsystemMetrics toggles collection of subsystem activity metrics.", |
| 118 | "enum": [ |
| 119 | "auto", |
| 120 | "enabled", |
| 121 | "disabled" |
| 122 | ], |
| 123 | "title": "Collect Subsystem Metrics", |
| 124 | "type": "string" |
| 125 | }, |
| 126 | "collect_subsystems_matching": { |
| 127 | "default": "", |
| 128 | "description": "SubsystemSelector filters subsystems by name using glob-style patterns.", |
| 129 | "title": "Collect Subsystems Matching", |
| 130 | "type": "string" |
| 131 | }, |
| 132 | "connection_type": { |
| 133 | "default": "odbc", |
| 134 | "description": "ConnectionType selects how the collector connects (currently only \"odbc\").", |
| 135 | "title": "Connection Type", |
| 136 | "type": "string" |
| 137 | }, |
| 138 | "database": { |
| 139 | "default": "*SYSBAS", |
| 140 | "description": "Database selects the IBM i database (library) to use when building the DSN.", |
| 141 | "title": "Database", |
| 142 | "type": "string" |
| 143 | }, |
| 144 | "dsn": { |
| 145 | "default": "", |
| 146 | "description": "DSN provides a full IBM i ODBC connection string if manual override is needed.", |
| 147 | "title": "DSN", |
| 148 | "type": "string" |
| 149 | }, |
| 150 | "hostname": { |
| 151 | "default": "", |
| 152 | "description": "Hostname is the remote IBM i host to monitor.", |
| 153 | "title": "Hostname", |
| 154 | "type": "string" |
| 155 | }, |
| 156 | "job_queues": { |
| 157 | "default": "nil", |
| 158 | "description": "JobQueues lists job queues to collect, formatted as LIBRARY/QUEUE strings. When empty, job queue collection is disabled.", |
| 159 | "items": { |
| 160 | "type": "string" |
| 161 | }, |
| 162 | "title": "Job Queues", |
| 163 | "type": "array" |
| 164 | }, |
| 165 | "max_disks": { |
| 166 | "default": 100, |
| 167 | "description": "MaxDisks caps how many disk units may be charted.", |
| 168 | "title": "Max Disks", |
| 169 | "type": "integer" |
| 170 | }, |
| 171 | "max_subsystems": { |
| 172 | "default": 100, |
| 173 | "description": "MaxSubsystems caps how many subsystems may be charted.", |
| 174 | "title": "Max Subsystems", |
| 175 | "type": "integer" |
| 176 | }, |
| 177 | "message_queues": { |
| 178 | "default": [ |
| 179 | "QSYS/QSYSOPR", |
| 180 | "QSYS/QSYSMSG", |
| 181 | "QSYS/QHST" |
| 182 | ], |
| 183 | "description": "MessageQueues lists message queues to collect, formatted as LIBRARY/QUEUE strings. When empty, message queue collection is disabled. The default configuration monitors QSYS/QSYSOPR, QSYS/QSYSMSG, and QSYS/QHST.", |
| 184 | "items": { |
| 185 | "type": "string" |
| 186 | }, |
| 187 | "title": "Message Queues", |
| 188 | "type": "array" |
| 189 | }, |
| 190 | "odbc_driver": { |
| 191 | "default": "IBM i Access ODBC Driver", |
| 192 | "description": "ODBCDriver specifies the driver name registered on the host.", |
| 193 | "title": "ODBC Driver", |
| 194 | "type": "string" |
| 195 | }, |
| 196 | "output_queues": { |
| 197 | "default": "nil", |
| 198 | "description": "OutputQueues lists output queues to collect, formatted as LIBRARY/QUEUE strings. When empty, output queue collection is disabled.", |
| 199 | "items": { |
| 200 | "type": "string" |
| 201 | }, |
| 202 | "title": "Output Queues", |
| 203 | "type": "array" |
| 204 | }, |
| 205 | "password": { |
| 206 | "default": "", |
| 207 | "description": "Password supplies the password used for authentication.", |
| 208 | "format": "password", |
| 209 | "title": "Password", |
| 210 | "type": "string" |
| 211 | }, |
| 212 | "port": { |
| 213 | "default": 8471, |
| 214 | "description": "Port is the TCP port for the IBM i Access ODBC server.", |
| 215 | "maximum": 65535, |
| 216 | "minimum": 1, |
| 217 | "title": "Port", |
| 218 | "type": "integer" |
| 219 | }, |
| 220 | "reset_statistics": { |
| 221 | "default": false, |
| 222 | "description": "ResetStatistics toggles destructive SQL services that reset system statistics on each query.", |
| 223 | "title": "Reset Statistics", |
| 224 | "type": "boolean" |
| 225 | }, |
| 226 | "slow_path": { |
| 227 | "default": true, |
| 228 | "description": "SlowPath enables the asynchronous slow-path worker for heavy queries.", |
| 229 | "title": "Slow Path", |
| 230 | "type": "boolean" |
| 231 | }, |
| 232 | "slow_path_max_connections": { |
| 233 | "default": 1, |
| 234 | "description": "SlowPathMaxConnections caps the number of concurrent queries the slow-path worker may run.", |
| 235 | "title": "Slow Path Max Connections", |
| 236 | "type": "integer" |
| 237 | }, |
| 238 | "slow_path_update_every": { |
| 239 | "default": 10000000000, |
| 240 | "description": "SlowPathUpdateEvery controls the beat interval for the slow-path worker.", |
| 241 | "title": "Slow Path Update Every", |
| 242 | "type": "integer" |
| 243 | }, |
| 244 | "timeout": { |
| 245 | "default": 2000000000, |
| 246 | "description": "Timeout controls how long to wait for SQL statements and RPCs.", |
| 247 | "title": "Timeout", |
| 248 | "type": "integer" |
| 249 | }, |
| 250 | "update_every": { |
| 251 | "default": 5, |
| 252 | "description": "Data collection frequency", |
| 253 | "minimum": 1, |
| 254 | "title": "Update Every", |
| 255 | "type": "integer" |
| 256 | }, |
| 257 | "use_ssl": { |
| 258 | "default": false, |
| 259 | "description": "UseSSL enables TLS for the ODBC connection when supported by the driver.", |
| 260 | "title": "Use SSL", |
| 261 | "type": "boolean" |
| 262 | }, |
| 263 | "username": { |
| 264 | "default": "", |
| 265 | "description": "Username supplies the credentials used for authentication.", |
| 266 | "title": "Username", |
| 267 | "type": "string" |
| 268 | }, |
| 269 | "vnode": { |
| 270 | "default": "", |
| 271 | "description": "Vnode allows binding the collector to a virtual node.", |
| 272 | "title": "Vnode", |
| 273 | "type": "string" |
| 274 | } |
| 275 | }, |
| 276 | "title": "as400 collector configuration", |
| 277 | "type": "object" |
| 278 | }, |
| 279 | "uiSchema": { |
| 280 | "active_jobs": { |
| 281 | "ui:listFlavour": "list" |
| 282 | }, |
| 283 | "job_queues": { |
| 284 | "ui:listFlavour": "list" |
| 285 | }, |
| 286 | "message_queues": { |
| 287 | "ui:listFlavour": "list" |
| 288 | }, |
| 289 | "output_queues": { |
| 290 | "ui:listFlavour": "list" |
| 291 | }, |
| 292 | "password": { |
| 293 | "ui:widget": "password" |
| 294 | }, |
| 295 | "ui:flavour": "tabs", |
| 296 | "ui:options": { |
| 297 | "tabs": [ |
| 298 | { |
| 299 | "fields": [ |
| 300 | "update_every", |
| 301 | "vnode", |
| 302 | "dsn", |
| 303 | "timeout", |
| 304 | "hostname", |
| 305 | "port", |
| 306 | "username", |
| 307 | "password", |
| 308 | "database", |
| 309 | "connection_type", |
| 310 | "odbc_driver", |
| 311 | "use_ssl" |
| 312 | ], |
| 313 | "title": "Connection" |
| 314 | }, |
| 315 | { |
| 316 | "fields": [ |
| 317 | "reset_statistics", |
| 318 | "slow_path", |
| 319 | "slow_path_update_every", |
| 320 | "slow_path_max_connections", |
| 321 | "batch_path", |
| 322 | "batch_path_update_every", |
| 323 | "batch_path_max_connections" |
| 324 | ], |
| 325 | "title": "Advanced" |
| 326 | }, |
| 327 | { |
| 328 | "fields": [ |
| 329 | "collect_disk_metrics", |
| 330 | "max_disks", |
| 331 | "collect_disks_matching" |
| 332 | ], |
| 333 | "title": "Disks" |
| 334 | }, |
| 335 | { |
| 336 | "fields": [ |
| 337 | "collect_subsystem_metrics", |
| 338 | "max_subsystems", |
| 339 | "collect_subsystems_matching" |
| 340 | ], |
| 341 | "title": "Subsystems" |
| 342 | }, |
| 343 | { |
| 344 | "fields": [ |
| 345 | "collect_active_jobs", |
| 346 | "active_jobs" |
| 347 | ], |
| 348 | "title": "Active Jobs" |
| 349 | }, |
| 350 | { |
| 351 | "fields": [ |
| 352 | "collect_http_server_metrics", |
| 353 | "collect_plan_cache_metrics" |
| 354 | ], |
| 355 | "title": "Other Metrics" |
| 356 | }, |
| 357 | { |
| 358 | "fields": [ |
| 359 | "collect_message_queue_totals", |
| 360 | "collect_job_queue_totals", |
| 361 | "collect_output_queue_totals", |
| 362 | "message_queues", |
| 363 | "job_queues", |
| 364 | "output_queues" |
| 365 | ], |
| 366 | "title": "Queues" |
| 367 | } |
| 368 | ] |
| 369 | }, |
| 370 | "uiOptions": { |
| 371 | "fullPage": true |
| 372 | } |
| 373 | } |
| 374 | } |