| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "title": "Zookeeper 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 | "address": { |
| 22 | "title": "Address", |
| 23 | "description": "The IP address and port where the Zookeeper server listens for connections.", |
| 24 | "type": "string", |
| 25 | "default": "127.0.0.1:2181" |
| 26 | }, |
| 27 | "timeout": { |
| 28 | "title": "Timeout", |
| 29 | "description": "The timeout, in seconds, for connection, read, write, and SSL handshake operations.", |
| 30 | "type": "number", |
| 31 | "minimum": 0.5, |
| 32 | "default": 1 |
| 33 | }, |
| 34 | "vnode": { |
| 35 | "title": "Vnode", |
| 36 | "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).", |
| 37 | "type": "string" |
| 38 | }, |
| 39 | "use_tls": { |
| 40 | "title": "Use TLS", |
| 41 | "description": "Indicates whether TLS should be used for secure communication.", |
| 42 | "type": "boolean" |
| 43 | }, |
| 44 | "tls_skip_verify": { |
| 45 | "title": "Skip TLS verification", |
| 46 | "description": "If set, TLS certificate verification will be skipped.", |
| 47 | "type": "boolean" |
| 48 | }, |
| 49 | "tls_ca": { |
| 50 | "title": "TLS CA", |
| 51 | "description": "The path to the CA certificate file for TLS verification.", |
| 52 | "type": "string", |
| 53 | "pattern": "^$|^/" |
| 54 | }, |
| 55 | "tls_cert": { |
| 56 | "title": "TLS certificate", |
| 57 | "description": "The path to the client certificate file for TLS authentication.", |
| 58 | "type": "string", |
| 59 | "pattern": "^$|^/" |
| 60 | }, |
| 61 | "tls_key": { |
| 62 | "title": "TLS key", |
| 63 | "description": "The path to the client key file for TLS authentication.", |
| 64 | "type": "string", |
| 65 | "pattern": "^$|^/" |
| 66 | } |
| 67 | }, |
| 68 | "required": [ |
| 69 | "address" |
| 70 | ] |
| 71 | }, |
| 72 | "uiSchema": { |
| 73 | "uiOptions": { |
| 74 | "fullPage": true |
| 75 | }, |
| 76 | "vnode": { |
| 77 | "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here." |
| 78 | }, |
| 79 | "autodetection_retry": { |
| 80 | "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." |
| 81 | }, |
| 82 | "timeout": { |
| 83 | "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)." |
| 84 | }, |
| 85 | "ui:flavour": "tabs", |
| 86 | "ui:options": { |
| 87 | "tabs": [ |
| 88 | { |
| 89 | "title": "Base", |
| 90 | "fields": [ |
| 91 | "update_every", |
| 92 | "autodetection_retry", |
| 93 | "address", |
| 94 | "timeout", |
| 95 | "vnode" |
| 96 | ] |
| 97 | }, |
| 98 | { |
| 99 | "title": "TLS", |
| 100 | "fields": [ |
| 101 | "use_tls", |
| 102 | "tls_skip_verify", |
| 103 | "tls_ca", |
| 104 | "tls_cert", |
| 105 | "tls_key" |
| 106 | ] |
| 107 | } |
| 108 | ] |
| 109 | } |
| 110 | } |
| 111 | } |