forked from thirty8super/win_service_test
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.json
56 lines (56 loc) · 1.74 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name" : "TrueSight Pulse Windows Service Monitor",
"version" : "1.12",
"meterVersionRequired" : "4.8.0-800",
"unsupportedPlatforms" : [ ],
"tags" : "windows,services",
"description" : "Generic specification for Windows service monitor",
"dashboards" : [
{
"name" : "Windows Services",
"layout" : "d-w=1&d-h=1&d-pad=5&d-bg=none&d-g-WIN_SERVICE_KEEPALIVE=0-0-1-1"
}
],
"command" : "truesight-meter init.lua",
"command_lua" : "truesight-meter init.lua",
"postExtract" : "",
"postExtract_lua" : "",
"ignore" : "node_modules",
"metrics" : ["WIN_SERVICE_KEEPALIVE"],
"paramArray": {
"itemTitle": [
"service", "auto_restart", "event_on_state_change", "event_on_restart"
],
"schemaTitle": "Windows Services"
},
"paramSchema": [
{
"title": "Service Name",
"name": "service",
"description": "The name of the Windows service to monitor",
"type" : "string",
"required" : true
},
{
"title": "Auto Restart",
"name": "auto_restart",
"description": "Attempt to restart the service when it transitions from running to down",
"type" : "boolean",
"default" : true
},
{
"title": "Send event on service state change",
"name": "event_on_state_change",
"description": "Check this field if you want an event generated when the service changes state.",
"type": "boolean",
"default": true
},
{
"title": "Send event on Service restart",
"name": "event_on_restart",
"description": "Check this field if you want an event generated when the service has been restarted.",
"type": "boolean",
"default": true
}
]
}