-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.json
64 lines (64 loc) · 2.26 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
57
58
59
60
61
62
63
64
{
"name": "custom.remote.python.ssl_cert_expiration_check",
"version": "1.001",
"type": "python",
"entity": "CUSTOM_DEVICE",
"metricGroup": "tech.CertificateCheck",
"technologies": ["SSL/TLS Certificates"],
"favicon": "https://img.icons8.com/windows/32/000000/tls.png",
"source": {
"package": "cert_expiration_plugin",
"className": "CertificatesCheckPlugin",
"install_requires": ["requests>=2.6.0"],
"activation": "Remote"
},
"configUI": {
"displayName": "SSL/TLS Certificate expiration check",
"properties": [
{ "key": "poll_interval", "displayName": "Frecuency", "displayOrder": 1, "displayHint": "How often a certificate should be checked in minutes" },
{ "key": "alert_period", "displayName": "Problem Alert Threshold", "displayOrder": 2, "displayHint": "Threshold to raise a Problem before expiration in days" },
{ "key": "hosts", "displayName": "Hosts", "displayOrder": 3, "displayHint": "Comma seperated list of the Host certificates to monitor eg. www.dynatrace.com:443,www.keptn.sh:443" }
]
},
"properties": [
{
"key": "poll_interval",
"type": "Integer",
"defaultValue": 1440
},
{
"key": "alert_period",
"type": "Integer",
"defaultValue": 14
},
{
"key": "hosts",
"type": "Textarea"
}
],
"metrics": [
{ "timeseries": { "key": "certificate_days_remaining", "unit": "Count", "displayname": "TLS/SSL Certificate days remaining", "aggregation": "AVG" }, "entity": "CUSTOM_DEVICE"}
],
"ui": {
"keymetrics": [
{
"key": "certificate_days_remaining",
"displayname": "TLS/SSL Certificate days remaining",
"statemetric": false
}
],
"keycharts": [
{
"group": "TLS/SSL Certificate expiration",
"title": "TLS/SSL Certificate expiration",
"series": [ {
"key": "certificate_days_remaining",
"displayname": "Expiration days remaining",
"seriestype": "area",
"color": "#008cdb"
}
]
}
]
}
}