| 1 | { |
| 2 | "jsonSchema": { |
| 3 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 4 | "title": "Dovecot 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 Unix or TCP socket address where the Dovecot [old_stats](https://doc.dovecot.org/configuration_manual/stats/old_statistics/#old-statistics) plugin listens for connections.", |
| 24 | "type": "string", |
| 25 | "default": "127.0.0.1:24242" |
| 26 | }, |
| 27 | "timeout": { |
| 28 | "title": "Timeout", |
| 29 | "description": "Timeout for establishing a connection and communication (reading and writing) in seconds.", |
| 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 | }, |
| 40 | "required": [ |
| 41 | "address" |
| 42 | ] |
| 43 | }, |
| 44 | "uiSchema": { |
| 45 | "uiOptions": { |
| 46 | "fullPage": true |
| 47 | }, |
| 48 | "autodetection_retry": { |
| 49 | "title": "Detection retry", |
| 50 | "description": "Recheck interval in seconds. Zero means no recheck will be scheduled.", |
| 51 | "type": "integer", |
| 52 | "minimum": 0, |
| 53 | "default": 60 |
| 54 | }, |
| 55 | "vnode": { |
| 56 | "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here." |
| 57 | }, |
| 58 | "address": { |
| 59 | "ui:help": "Use `unix://{path_to_socket}` for Unix socket or `{ip}:{port}` for TCP socket." |
| 60 | }, |
| 61 | "timeout": { |
| 62 | "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)." |
| 63 | } |
| 64 | } |
| 65 | } |