master
json 64 lines 1.88 KB
Raw
1 {
2 "jsonSchema": {
3 "$schema": "http://json-schema.org/draft-07/schema#",
4 "title": "WHOIS query 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": 60
13 },
14 "source": {
15 "title": "Domain",
16 "description": "The domain for which WHOIS queries will be performed.",
17 "type": "string"
18 },
19 "timeout": {
20 "title": "Timeout",
21 "description": "The timeout in seconds for the WHOIS query.",
22 "type": "number",
23 "minimum": 0.5,
24 "default": 5
25 },
26 "days_until_expiration_warning": {
27 "title": "Days until warning",
28 "description": "Number of days before the alarm status is set to warning.",
29 "type": "integer",
30 "minimum": 1,
31 "default": 30
32 },
33 "days_until_expiration_critical": {
34 "title": "Days until critical",
35 "description": "Number of days before the alarm status is set to critical.",
36 "type": "integer",
37 "minimum": 1,
38 "default": 15
39 },
40 "vnode": {
41 "title": "Vnode",
42 "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).",
43 "type": "string"
44 }
45 },
46 "required": [
47 "source"
48 ]
49 },
50 "uiSchema": {
51 "uiOptions": {
52 "fullPage": true
53 },
54 "vnode": {
55 "ui:placeholder": "To use this option, first create a Virtual Node and then reference its name here."
56 },
57 "source": {
58 "ui:placeholder": "example.com"
59 },
60 "timeout": {
61 "ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
62 }
63 }
64 }