-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.json
More file actions
50 lines (46 loc) · 1.84 KB
/
Copy pathplugin.json
File metadata and controls
50 lines (46 loc) · 1.84 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
40
41
42
43
44
45
46
47
48
49
50
{
"description" : "Displays important conntrack metrics",
"icon" : "icon.png",
"command" : "node index.js",
"postExtract" : "npm install",
"ignore" : "node_modules",
"metrics" : [
"CONNTRACK_ASSURED",
"CONNTRACK_CONNECTIONS",
"CONNTRACK_ESTABLISHED",
"CONNTRACK_FINWAIT",
"CONNTRACK_LIMIT",
"CONNTRACK_SYNSENT",
"CONNTRACK_TIMEWAIT",
"CONNTRACK_UDP",
"CONNTRACK_UNREPLIED"
],
"dashboards": [
{ "name":"conntrack-basic", "layout": "d-w=2&d-h=1&d-pad=5&d-bg=none&d-g-CONNTRACK_CONNECTIONS=0-0-1-1&d-g-CONNTRACK_LIMIT=1-0-1-1" },
{ "name":"conntrack-advanced", "layout": "d-w=3&d-h=3&d-pad=5&d-bg=none&d-g-CONNTRACK_LIMIT=2-0-1-1&d-g-CONNTRACK_CONNECTIONS=0-0-1-1&d-g-CONNTRACK_ASSURED=1-0-1-1&d-g-CONNTRACK_ESTABLISHED=0-1-1-1&d-g-CONNTRACK_UNREPLIED=1-1-1-1&d-g-CONNTRACK_TIMEWAIT=0-2-1-1&d-g-CONNTRACK_FINWAIT=1-2-1-1&d-g-CONNTRACK_SYNSENT=2-2-1-1&d-g-CONNTRACK_UDP=2-1-1-1" }
],
"paramSchema" : [
{
"title": "Reporting Level",
"name": "mode",
"description": "Report just the basic connection stats or report each individual connection state",
"type" : { "enum" : [["Basic", "basic"], ["Advanced", "advanced"]] },
"default" : "basic",
"required": true
},
{
"title": "Poll Seconds",
"name": "pollSeconds",
"description": "How often should the plugin poll conntrack",
"type" : "string",
"default" : 5,
"required" : true
},
{
"title" : "Source",
"name" : "source",
"description" : "The Source to display in the legend for the conntrack data. It will default to the hostname of the server",
"type" : "string"
}
]
}