| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "properties": { |
| 5 | "channel": { |
| 6 | "default": "SYSTEM.DEF.SVRCONN", |
| 7 | "description": "IBM MQ channel name for connection", |
| 8 | "title": "Channel", |
| 9 | "type": "string" |
| 10 | }, |
| 11 | "channel_selector": { |
| 12 | "default": "", |
| 13 | "description": "Pattern to filter channels (wildcards supported)", |
| 14 | "title": "Channel Selector", |
| 15 | "type": "string" |
| 16 | }, |
| 17 | "collect_channel_config": { |
| 18 | "default": true, |
| 19 | "description": "Enable collection of channel configuration metrics", |
| 20 | "title": "Collect Channel Config", |
| 21 | "type": "boolean" |
| 22 | }, |
| 23 | "collect_channels": { |
| 24 | "default": true, |
| 25 | "description": "Enable collection of channel metrics", |
| 26 | "title": "Collect Channels", |
| 27 | "type": "boolean" |
| 28 | }, |
| 29 | "collect_listeners": { |
| 30 | "default": true, |
| 31 | "description": "Enable collection of listener metrics", |
| 32 | "title": "Collect Listeners", |
| 33 | "type": "boolean" |
| 34 | }, |
| 35 | "collect_queue_config": { |
| 36 | "default": true, |
| 37 | "description": "Enable collection of queue configuration metrics", |
| 38 | "title": "Collect Queue Config", |
| 39 | "type": "boolean" |
| 40 | }, |
| 41 | "collect_queues": { |
| 42 | "default": true, |
| 43 | "description": "Enable collection of queue metrics", |
| 44 | "title": "Collect Queues", |
| 45 | "type": "boolean" |
| 46 | }, |
| 47 | "collect_reset_queue_stats": { |
| 48 | "default": false, |
| 49 | "description": "Enable collection of queue statistics (destructive operation)", |
| 50 | "title": "Collect Reset Queue Stats", |
| 51 | "type": "boolean" |
| 52 | }, |
| 53 | "collect_statistics_queue": { |
| 54 | "default": false, |
| 55 | "description": "Enable collection of statistics queue metrics (SYSTEM.ADMIN.STATISTICS.QUEUE provides advanced metrics like min/max depth)", |
| 56 | "title": "Collect Statistics Queue", |
| 57 | "type": "boolean" |
| 58 | }, |
| 59 | "collect_subscriptions": { |
| 60 | "default": true, |
| 61 | "description": "Enable collection of subscription metrics", |
| 62 | "title": "Collect Subscriptions", |
| 63 | "type": "boolean" |
| 64 | }, |
| 65 | "collect_sys_topics": { |
| 66 | "default": false, |
| 67 | "description": "Enable collection of $SYS topic metrics (provides Queue Manager CPU, memory, and log utilization)", |
| 68 | "title": "Collect Sys Topics", |
| 69 | "type": "boolean" |
| 70 | }, |
| 71 | "collect_system_channels": { |
| 72 | "default": true, |
| 73 | "description": "Enable collection of system channel metrics (SYSTEM.* channels show clustering and administrative health)", |
| 74 | "title": "Collect System Channels", |
| 75 | "type": "boolean" |
| 76 | }, |
| 77 | "collect_system_listeners": { |
| 78 | "default": true, |
| 79 | "description": "Enable collection of system listener metrics (SYSTEM.* listeners show internal connectivity)", |
| 80 | "title": "Collect System Listeners", |
| 81 | "type": "boolean" |
| 82 | }, |
| 83 | "collect_system_queues": { |
| 84 | "default": true, |
| 85 | "description": "Enable collection of system queue metrics (SYSTEM.* queues provide critical infrastructure visibility)", |
| 86 | "title": "Collect System Queues", |
| 87 | "type": "boolean" |
| 88 | }, |
| 89 | "collect_system_topics": { |
| 90 | "default": true, |
| 91 | "description": "Enable collection of system topic metrics (SYSTEM.* topics show internal messaging patterns)", |
| 92 | "title": "Collect System Topics", |
| 93 | "type": "boolean" |
| 94 | }, |
| 95 | "collect_topics": { |
| 96 | "default": true, |
| 97 | "description": "Enable collection of topic metrics", |
| 98 | "title": "Collect Topics", |
| 99 | "type": "boolean" |
| 100 | }, |
| 101 | "exclude_queues": { |
| 102 | "default": [ |
| 103 | "SYSTEM.*", |
| 104 | "AMQ.*" |
| 105 | ], |
| 106 | "description": "Patterns to exclude queues after inclusion (wildcards supported).", |
| 107 | "items": { |
| 108 | "type": "string" |
| 109 | }, |
| 110 | "title": "Exclude Queues", |
| 111 | "type": "array" |
| 112 | }, |
| 113 | "host": { |
| 114 | "default": "localhost", |
| 115 | "description": "IBM MQ server hostname or IP address", |
| 116 | "title": "Host", |
| 117 | "type": "string" |
| 118 | }, |
| 119 | "include_queues": { |
| 120 | "default": [ |
| 121 | "SYSTEM.DEAD.LETTER.QUEUE", |
| 122 | "SYSTEM.ADMIN.COMMAND.QUEUE", |
| 123 | "SYSTEM.ADMIN.STATISTICS.QUEUE" |
| 124 | ], |
| 125 | "description": "Patterns to include queues (wildcards supported). Empty means include everything.", |
| 126 | "items": { |
| 127 | "type": "string" |
| 128 | }, |
| 129 | "title": "Include Queues", |
| 130 | "type": "array" |
| 131 | }, |
| 132 | "listener_selector": { |
| 133 | "default": "", |
| 134 | "description": "Pattern to filter listeners (wildcards supported)", |
| 135 | "title": "Listener Selector", |
| 136 | "type": "string" |
| 137 | }, |
| 138 | "max_channels": { |
| 139 | "default": 100, |
| 140 | "description": "Maximum number of channels to collect (0 = no limit)", |
| 141 | "title": "Max Channels", |
| 142 | "type": "integer" |
| 143 | }, |
| 144 | "max_listeners": { |
| 145 | "default": 100, |
| 146 | "description": "Maximum number of listeners to collect (0 = no limit)", |
| 147 | "title": "Max Listeners", |
| 148 | "type": "integer" |
| 149 | }, |
| 150 | "max_queues": { |
| 151 | "default": 50, |
| 152 | "description": "Maximum number of queues to collect (0 = no limit)", |
| 153 | "title": "Max Queues", |
| 154 | "type": "integer" |
| 155 | }, |
| 156 | "max_topics": { |
| 157 | "default": 100, |
| 158 | "description": "Maximum number of topics to collect (0 = no limit)", |
| 159 | "title": "Max Topics", |
| 160 | "type": "integer" |
| 161 | }, |
| 162 | "password": { |
| 163 | "default": "", |
| 164 | "description": "Password for IBM MQ authentication", |
| 165 | "format": "password", |
| 166 | "title": "Password", |
| 167 | "type": "string" |
| 168 | }, |
| 169 | "port": { |
| 170 | "default": 1414, |
| 171 | "description": "IBM MQ server port number", |
| 172 | "maximum": 65535, |
| 173 | "minimum": 1, |
| 174 | "title": "Port", |
| 175 | "type": "integer" |
| 176 | }, |
| 177 | "queue_manager": { |
| 178 | "default": "QM1", |
| 179 | "description": "IBM MQ Queue Manager name to connect to", |
| 180 | "title": "Queue Manager", |
| 181 | "type": "string" |
| 182 | }, |
| 183 | "statistics_interval,omitempty": { |
| 184 | "default": 60, |
| 185 | "description": "Statistics collection interval in seconds (auto-detected STATINT overwrites this value)", |
| 186 | "title": "Statistics Interval,omitempty", |
| 187 | "type": "integer" |
| 188 | }, |
| 189 | "subscription_selector": { |
| 190 | "default": "", |
| 191 | "description": "Pattern to filter subscriptions (wildcards supported)", |
| 192 | "title": "Subscription Selector", |
| 193 | "type": "string" |
| 194 | }, |
| 195 | "sys_topic_interval,omitempty": { |
| 196 | "default": 10, |
| 197 | "description": "$SYS topic collection interval in seconds (user override for customized MQ configurations)", |
| 198 | "title": "Sys Topic Interval,omitempty", |
| 199 | "type": "integer" |
| 200 | }, |
| 201 | "topic_selector": { |
| 202 | "default": "", |
| 203 | "description": "Pattern to filter topics (wildcards supported)", |
| 204 | "title": "Topic Selector", |
| 205 | "type": "string" |
| 206 | }, |
| 207 | "update_every": { |
| 208 | "default": 10, |
| 209 | "description": "Data collection frequency", |
| 210 | "minimum": 1, |
| 211 | "title": "Update Every", |
| 212 | "type": "integer" |
| 213 | }, |
| 214 | "user": { |
| 215 | "default": "", |
| 216 | "description": "Username for IBM MQ authentication", |
| 217 | "title": "User", |
| 218 | "type": "string" |
| 219 | } |
| 220 | }, |
| 221 | "title": "mq collector configuration", |
| 222 | "type": "object" |
| 223 | }, |
| 224 | "uiSchema": { |
| 225 | "exclude_queues": { |
| 226 | "ui:listFlavour": "list" |
| 227 | }, |
| 228 | "include_queues": { |
| 229 | "ui:listFlavour": "list" |
| 230 | }, |
| 231 | "password": { |
| 232 | "ui:widget": "password" |
| 233 | }, |
| 234 | "ui:flavour": "tabs", |
| 235 | "ui:options": { |
| 236 | "tabs": [ |
| 237 | { |
| 238 | "fields": [ |
| 239 | "update_every" |
| 240 | ], |
| 241 | "title": "Connection" |
| 242 | }, |
| 243 | { |
| 244 | "fields": [ |
| 245 | "queue_manager", |
| 246 | "channel", |
| 247 | "host", |
| 248 | "port", |
| 249 | "user", |
| 250 | "include_queues", |
| 251 | "exclude_queues", |
| 252 | "statistics_interval,omitempty", |
| 253 | "sys_topic_interval,omitempty" |
| 254 | ], |
| 255 | "title": "Advanced" |
| 256 | }, |
| 257 | { |
| 258 | "fields": [ |
| 259 | "password" |
| 260 | ], |
| 261 | "title": "Auth" |
| 262 | }, |
| 263 | { |
| 264 | "fields": [ |
| 265 | "collect_queues", |
| 266 | "collect_channels", |
| 267 | "collect_topics", |
| 268 | "collect_listeners", |
| 269 | "collect_subscriptions", |
| 270 | "collect_system_queues", |
| 271 | "collect_system_channels", |
| 272 | "collect_system_topics", |
| 273 | "collect_system_listeners", |
| 274 | "collect_channel_config", |
| 275 | "collect_queue_config", |
| 276 | "collect_reset_queue_stats", |
| 277 | "collect_statistics_queue", |
| 278 | "collect_sys_topics" |
| 279 | ], |
| 280 | "title": "Collection" |
| 281 | }, |
| 282 | { |
| 283 | "fields": [ |
| 284 | "channel_selector", |
| 285 | "topic_selector", |
| 286 | "listener_selector", |
| 287 | "subscription_selector" |
| 288 | ], |
| 289 | "title": "Filters" |
| 290 | }, |
| 291 | { |
| 292 | "fields": [ |
| 293 | "max_queues", |
| 294 | "max_channels", |
| 295 | "max_topics", |
| 296 | "max_listeners" |
| 297 | ], |
| 298 | "title": "Limits" |
| 299 | } |
| 300 | ] |
| 301 | }, |
| 302 | "uiOptions": { |
| 303 | "fullPage": true |
| 304 | } |
| 305 | } |
| 306 | } |