-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathplugin.json
More file actions
39 lines (37 loc) · 1.08 KB
/
plugin.json
File metadata and controls
39 lines (37 loc) · 1.08 KB
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 Pingcheck plugin",
"version": "1.1",
"tags": "ping",
"description" : "Pings a set of hosts and reports back their response time",
"icon" : "icon.png",
"command" : "node index.js",
"command_lua" : "boundary-meter init.lua",
"postExtract" : "npm install",
"postExtract_lua" : "",
"metrics" : [ "PING_RESPONSETIME" ],
"paramArray" : { "itemTitle" : ["source"], "schemaTitle" : "Host"},
"paramSchema" : [
{
"title" : "Source",
"name" : "source",
"description" : "The source to display in the legend for the host. Ex. google",
"type" : "string",
"required" : true
},
{
"title": "Host",
"name": "host",
"description": "The Hostname or IP Address to ping. For example, www.google.com or 173.194.33.112",
"type": "string",
"required": true
},
{
"title" : "Poll Time (sec)",
"name" : "pollInterval",
"description" : "The Poll Interval to send a ping to the host in seconds. Ex. 5",
"type" : "string",
"default" : 5,
"required" : true
}
]
}