1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{
"jsonSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Dnsmasq DHCP collector configuration.",
"type": "object",
"properties": {
"update_every": {
"title": "Update every",
"description": "Data collection interval, measured in seconds.",
"type": "integer",
"minimum": 1,
"default": 1
},
"leases_path": {
"title": "Leases file",
"description": "File path to the Dnsmasq DHCP server's lease database.",
"type": "string",
"default": "/var/lib/misc/dnsmasq.leases",
"pattern": "^$|^/"
},
"conf_path": {
"title": "Config file",
"description": "File path for the Dnsmasq configuration. Used to find all configured DHCP ranges.",
"type": "string",
"default": "/etc/dnsmasq.conf",
"pattern": "^$|^/"
},
"conf_dir": {
"title": "Config directory",
"description": "Directory path for Dnsmasq configurations. The syntax follows the same format as the [--conf-dir](https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) option.",
"type": "string",
"default": "/etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new",
"pattern": "^$|^/"
}
},
"required": [
"leases_path",
"conf_path"
],
"additionalProperties": false,
"patternProperties": {
"^name$": {}
}
},
"uiSchema": {
"uiOptions": {
"fullPage": true
}
}
}
|