-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugin.json
35 lines (35 loc) · 978 Bytes
/
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
{
"description" : "Provides Asterisk metrics through ARI",
"command" : "node index.js $(pollInterval)",
"metrics" : [
"ASTERISK_CHANNELS",
"ASTERISK_BRIDGES",
"ASTERISK_SIP_ENDPOINTS"
],
"icon" : "icon.png",
"dashboards" : [
{
"name" : "asterisk",
"layout" : "d-w=2&d-h=2&d-pad=5&d-bg=none&d-g-ASTERISK_CHANNELS=0-0-1-1&d-g-ASTERISK_BRIDGES=1-0-1-1&d-g-ASTERISK_SIP_ENDPOINTS=0-1-1-1&d-sg-ni=1-1-1-1-t&d-sg-no=1-1-1-1-b"
}
],
"postExtract" : "npm install ari-client",
"paramSchema" : [
{
"title" : "Asterisk HTTP Server",
"name" : "server",
"description" : "i.e. http://127.0.0.1:8088.",
"type" : "string"
},
{
"title" : "Username",
"name" : "username",
"type" : "string"
},
{
"title" : "Password",
"name" : "password",
"type" : "password"
}
]
}