-
Notifications
You must be signed in to change notification settings - Fork 6
/
plugin.json
39 lines (39 loc) · 1.42 KB
/
plugin.json
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
{
"name" : "Boundary Disk Use Summary",
"version" : "0.9.0",
"meterVersionRequired" : "4.2.0-611",
"os" : [ "Linux", "Windows", "SmartOS", "OS X" ],
"tags" : "disk,meter",
"description" : "Scans the given device mount paths and reports the one with the least free space",
"icon" : "icon.png",
"command_lua" : "boundary-meter init.lua",
"postExtract_lua" : "",
"command" : "node index.js $(pollInterval) $(devices)",
"postExtract" : "npm install",
"ignore" : "node_modules",
"metrics" : [ "DISKUSE_SUMMARY" ],
"paramArray" : { "itemTitle" : [ "diskname", "dir", "device"], "schemaTitle" : "Endpoint"},
"paramSchema" : [
{
"title" : "Disk Name",
"name" : "diskname",
"description" : "The name of the disk to be appended to the hostname to display in the legend for the Disk Use Summary data.",
"type" : "string",
"required" : "true"
},
{
"title" : "Mount Point",
"name" : "dir",
"description" : "The mounted point to check for free space. (either this or the Mounted device need to be set for the plugin to function properly)",
"type" : "string",
"required" : false
},
{
"title" : "Device",
"name" : "device",
"description" : "The mounted device to check for free space. (either this or the Mount Point directory need to be set for the plugin to function properly)",
"type" : "string",
"required" : false
}
]
}