2022-09-06 02:55:02 -04:00
|
|
|
|
{
|
|
|
|
|
"annotations": {
|
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"builtIn": 1,
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "datasource",
|
|
|
|
|
"uid": "grafana"
|
|
|
|
|
},
|
|
|
|
|
"enable": true,
|
|
|
|
|
"hide": true,
|
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
|
"target": {
|
|
|
|
|
"limit": 100,
|
|
|
|
|
"matchAny": false,
|
|
|
|
|
"tags": [],
|
|
|
|
|
"type": "dashboard"
|
|
|
|
|
},
|
|
|
|
|
"type": "dashboard"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"editable": true,
|
|
|
|
|
"fiscalYearStartMonth": 0,
|
|
|
|
|
"graphTooltip": 0,
|
|
|
|
|
"id": 54,
|
|
|
|
|
"links": [],
|
|
|
|
|
"liveNow": false,
|
|
|
|
|
"panels": [
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"decimals": 1,
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "percentage",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "red",
|
|
|
|
|
"value": 10
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"unit": "d"
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 5,
|
|
|
|
|
"w": 7,
|
|
|
|
|
"x": 5,
|
|
|
|
|
"y": 0
|
|
|
|
|
},
|
|
|
|
|
"id": 2,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"textMode": "auto"
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_server_cert_expire",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Server cert valid time",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"decimals": 1,
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "percentage",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "red",
|
|
|
|
|
"value": 10
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"unit": "d"
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 5,
|
|
|
|
|
"w": 7,
|
|
|
|
|
"x": 12,
|
|
|
|
|
"y": 0
|
|
|
|
|
},
|
|
|
|
|
"id": 3,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"textMode": "auto"
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_server_ca_cert_expire",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Server CA cert valid time",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "semi-dark-orange",
|
|
|
|
|
"value": 200
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 5,
|
|
|
|
|
"w": 6,
|
|
|
|
|
"x": 0,
|
|
|
|
|
"y": 5
|
|
|
|
|
},
|
|
|
|
|
"id": 4,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"textMode": "auto"
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_clients_total",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Total clients",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "red",
|
|
|
|
|
"value": 80
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 5,
|
|
|
|
|
"w": 6,
|
|
|
|
|
"x": 6,
|
|
|
|
|
"y": 5
|
|
|
|
|
},
|
|
|
|
|
"id": 5,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"textMode": "auto"
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_clients_connected",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Connected clients",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "semi-dark-orange",
|
|
|
|
|
"value": 10
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 5,
|
|
|
|
|
"w": 6,
|
|
|
|
|
"x": 12,
|
|
|
|
|
"y": 5
|
|
|
|
|
},
|
|
|
|
|
"id": 7,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"textMode": "auto"
|
|
|
|
|
},
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"pluginVersion": "8.5.13",
|
2022-09-06 02:55:02 -04:00
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_clients_expired",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Revoked clients",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": null
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "red",
|
|
|
|
|
"value": 1
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 5,
|
|
|
|
|
"w": 6,
|
|
|
|
|
"x": 18,
|
|
|
|
|
"y": 5
|
|
|
|
|
},
|
|
|
|
|
"id": 6,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"textMode": "auto"
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_clients_expired",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Expired clients",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"aliasColors": {},
|
|
|
|
|
"bars": false,
|
|
|
|
|
"dashLength": 10,
|
|
|
|
|
"dashes": false,
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"links": []
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"fill": 2,
|
|
|
|
|
"fillGradient": 0,
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 8,
|
|
|
|
|
"w": 12,
|
|
|
|
|
"x": 0,
|
|
|
|
|
"y": 10
|
|
|
|
|
},
|
|
|
|
|
"hiddenSeries": false,
|
|
|
|
|
"id": 9,
|
|
|
|
|
"legend": {
|
|
|
|
|
"avg": false,
|
|
|
|
|
"current": false,
|
|
|
|
|
"hideEmpty": true,
|
|
|
|
|
"max": false,
|
|
|
|
|
"min": false,
|
|
|
|
|
"show": false,
|
|
|
|
|
"total": false,
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"lines": true,
|
|
|
|
|
"linewidth": 1,
|
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
|
"options": {
|
|
|
|
|
"alertThreshold": true
|
|
|
|
|
},
|
|
|
|
|
"percentage": false,
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"pointradius": 2,
|
|
|
|
|
"points": false,
|
|
|
|
|
"renderer": "flot",
|
|
|
|
|
"seriesOverrides": [],
|
|
|
|
|
"spaceLength": 10,
|
|
|
|
|
"stack": false,
|
|
|
|
|
"steppedLine": false,
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_client_bytes_received",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"thresholds": [],
|
|
|
|
|
"timeRegions": [],
|
|
|
|
|
"title": "Сlient bytes received",
|
|
|
|
|
"tooltip": {
|
|
|
|
|
"shared": true,
|
|
|
|
|
"sort": 0,
|
|
|
|
|
"value_type": "individual"
|
|
|
|
|
},
|
|
|
|
|
"type": "graph",
|
|
|
|
|
"xaxis": {
|
|
|
|
|
"mode": "time",
|
|
|
|
|
"show": true,
|
|
|
|
|
"values": []
|
|
|
|
|
},
|
|
|
|
|
"yaxes": [
|
|
|
|
|
{
|
|
|
|
|
"format": "decbytes",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"format": "short",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"yaxis": {
|
|
|
|
|
"align": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"aliasColors": {},
|
|
|
|
|
"bars": false,
|
|
|
|
|
"dashLength": 10,
|
|
|
|
|
"dashes": false,
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"links": []
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"fill": 2,
|
|
|
|
|
"fillGradient": 0,
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 8,
|
|
|
|
|
"w": 12,
|
|
|
|
|
"x": 12,
|
|
|
|
|
"y": 10
|
|
|
|
|
},
|
|
|
|
|
"hiddenSeries": false,
|
|
|
|
|
"id": 10,
|
|
|
|
|
"legend": {
|
|
|
|
|
"avg": false,
|
|
|
|
|
"current": false,
|
|
|
|
|
"hideEmpty": true,
|
|
|
|
|
"max": false,
|
|
|
|
|
"min": false,
|
|
|
|
|
"show": false,
|
|
|
|
|
"total": false,
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"lines": true,
|
|
|
|
|
"linewidth": 1,
|
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
|
"options": {
|
|
|
|
|
"alertThreshold": true
|
|
|
|
|
},
|
|
|
|
|
"percentage": false,
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"pointradius": 2,
|
|
|
|
|
"points": false,
|
|
|
|
|
"renderer": "flot",
|
|
|
|
|
"seriesOverrides": [],
|
|
|
|
|
"spaceLength": 10,
|
|
|
|
|
"stack": false,
|
|
|
|
|
"steppedLine": false,
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_client_bytes_sent",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"thresholds": [],
|
|
|
|
|
"timeRegions": [],
|
|
|
|
|
"title": "Сlient bytes sent",
|
|
|
|
|
"tooltip": {
|
|
|
|
|
"shared": true,
|
|
|
|
|
"sort": 0,
|
|
|
|
|
"value_type": "individual"
|
|
|
|
|
},
|
|
|
|
|
"type": "graph",
|
|
|
|
|
"xaxis": {
|
|
|
|
|
"mode": "time",
|
|
|
|
|
"show": true,
|
|
|
|
|
"values": []
|
|
|
|
|
},
|
|
|
|
|
"yaxes": [
|
|
|
|
|
{
|
|
|
|
|
"format": "decbytes",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"format": "short",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"yaxis": {
|
|
|
|
|
"align": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"aliasColors": {},
|
|
|
|
|
"bars": false,
|
|
|
|
|
"dashLength": 10,
|
|
|
|
|
"dashes": false,
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"links": []
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"fill": 1,
|
|
|
|
|
"fillGradient": 0,
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 8,
|
|
|
|
|
"w": 12,
|
|
|
|
|
"x": 0,
|
|
|
|
|
"y": 18
|
|
|
|
|
},
|
|
|
|
|
"hiddenSeries": false,
|
|
|
|
|
"id": 16,
|
|
|
|
|
"legend": {
|
|
|
|
|
"avg": false,
|
|
|
|
|
"current": false,
|
|
|
|
|
"hideEmpty": true,
|
|
|
|
|
"max": false,
|
|
|
|
|
"min": false,
|
|
|
|
|
"show": false,
|
|
|
|
|
"total": false,
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"lines": true,
|
|
|
|
|
"linewidth": 1,
|
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
|
"options": {
|
|
|
|
|
"alertThreshold": true
|
|
|
|
|
},
|
|
|
|
|
"percentage": false,
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"pointradius": 2,
|
|
|
|
|
"points": false,
|
|
|
|
|
"renderer": "flot",
|
|
|
|
|
"seriesOverrides": [],
|
|
|
|
|
"spaceLength": 10,
|
|
|
|
|
"stack": false,
|
|
|
|
|
"steppedLine": false,
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "rate(ovpn_client_bytes_received[1m])",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"thresholds": [],
|
|
|
|
|
"timeRegions": [],
|
|
|
|
|
"title": "Clients bytes received rate",
|
|
|
|
|
"tooltip": {
|
|
|
|
|
"shared": true,
|
|
|
|
|
"sort": 0,
|
|
|
|
|
"value_type": "individual"
|
|
|
|
|
},
|
|
|
|
|
"type": "graph",
|
|
|
|
|
"xaxis": {
|
|
|
|
|
"mode": "time",
|
|
|
|
|
"show": true,
|
|
|
|
|
"values": []
|
|
|
|
|
},
|
|
|
|
|
"yaxes": [
|
|
|
|
|
{
|
|
|
|
|
"$$hashKey": "object:93",
|
|
|
|
|
"format": "Bps",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"$$hashKey": "object:94",
|
|
|
|
|
"format": "short",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"yaxis": {
|
|
|
|
|
"align": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"aliasColors": {},
|
|
|
|
|
"bars": false,
|
|
|
|
|
"dashLength": 10,
|
|
|
|
|
"dashes": false,
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"links": []
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"fill": 1,
|
|
|
|
|
"fillGradient": 0,
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 8,
|
|
|
|
|
"w": 12,
|
|
|
|
|
"x": 12,
|
|
|
|
|
"y": 18
|
|
|
|
|
},
|
|
|
|
|
"hiddenSeries": false,
|
|
|
|
|
"id": 17,
|
|
|
|
|
"legend": {
|
|
|
|
|
"avg": false,
|
|
|
|
|
"current": false,
|
|
|
|
|
"hideEmpty": true,
|
|
|
|
|
"max": false,
|
|
|
|
|
"min": false,
|
|
|
|
|
"show": false,
|
|
|
|
|
"total": false,
|
|
|
|
|
"values": false
|
|
|
|
|
},
|
|
|
|
|
"lines": true,
|
|
|
|
|
"linewidth": 1,
|
|
|
|
|
"nullPointMode": "null as zero",
|
|
|
|
|
"options": {
|
|
|
|
|
"alertThreshold": true
|
|
|
|
|
},
|
|
|
|
|
"percentage": false,
|
|
|
|
|
"pluginVersion": "8.5.2",
|
|
|
|
|
"pointradius": 2,
|
|
|
|
|
"points": false,
|
|
|
|
|
"renderer": "flot",
|
|
|
|
|
"seriesOverrides": [],
|
|
|
|
|
"spaceLength": 10,
|
|
|
|
|
"stack": false,
|
|
|
|
|
"steppedLine": false,
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "rate(ovpn_client_bytes_sent[1m])",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"thresholds": [],
|
|
|
|
|
"timeRegions": [],
|
|
|
|
|
"title": "Client bytes sent rate ",
|
|
|
|
|
"tooltip": {
|
|
|
|
|
"shared": true,
|
|
|
|
|
"sort": 0,
|
|
|
|
|
"value_type": "individual"
|
|
|
|
|
},
|
|
|
|
|
"type": "graph",
|
|
|
|
|
"xaxis": {
|
|
|
|
|
"mode": "time",
|
|
|
|
|
"show": true,
|
|
|
|
|
"values": []
|
|
|
|
|
},
|
|
|
|
|
"yaxes": [
|
|
|
|
|
{
|
|
|
|
|
"$$hashKey": "object:174",
|
|
|
|
|
"format": "Bps",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"$$hashKey": "object:175",
|
|
|
|
|
"format": "short",
|
|
|
|
|
"logBase": 1,
|
|
|
|
|
"show": false
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"yaxis": {
|
|
|
|
|
"align": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"description": "value show last connection check time",
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"custom": {
|
|
|
|
|
"align": "center",
|
|
|
|
|
"displayMode": "auto",
|
|
|
|
|
"width": 20
|
|
|
|
|
},
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"noValue": "Currently there are no connections",
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"unit": "dateTimeAsIso"
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 8,
|
|
|
|
|
"w": 12,
|
|
|
|
|
"x": 0,
|
|
|
|
|
"y": 26
|
|
|
|
|
},
|
|
|
|
|
"id": 12,
|
|
|
|
|
"maxDataPoints": 1,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "auto",
|
|
|
|
|
"orientation": "horizontal",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "7.0.6",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_client_connection_info * 1000",
|
|
|
|
|
"format": "time_series",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}-{{ip}}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Connection info",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"description": "value shows when connection was started",
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"custom": {
|
|
|
|
|
"align": "center",
|
|
|
|
|
"displayMode": "auto",
|
|
|
|
|
"width": 20
|
|
|
|
|
},
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"noValue": "Currently there are no connections",
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"unit": "dateTimeAsIso"
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 8,
|
|
|
|
|
"w": 12,
|
|
|
|
|
"x": 12,
|
|
|
|
|
"y": 26
|
|
|
|
|
},
|
|
|
|
|
"id": 13,
|
|
|
|
|
"maxDataPoints": 1,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "auto",
|
|
|
|
|
"orientation": "horizontal",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "7.0.6",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_client_connection_from * 1000",
|
|
|
|
|
"format": "time_series",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}-{{ip}}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Connection from",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"datasource": {
|
|
|
|
|
"type": "prometheus",
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"uid": "$ds_prometheus"
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"fieldConfig": {
|
|
|
|
|
"defaults": {
|
|
|
|
|
"custom": {},
|
|
|
|
|
"mappings": [],
|
|
|
|
|
"min": 0,
|
|
|
|
|
"thresholds": {
|
|
|
|
|
"mode": "absolute",
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"color": "green"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "red",
|
|
|
|
|
"value": 7
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "dark-orange",
|
|
|
|
|
"value": 14
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "#EAB839",
|
|
|
|
|
"value": 30
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"color": "green",
|
|
|
|
|
"value": 31
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"overrides": []
|
|
|
|
|
},
|
|
|
|
|
"gridPos": {
|
|
|
|
|
"h": 14,
|
|
|
|
|
"w": 24,
|
|
|
|
|
"x": 0,
|
|
|
|
|
"y": 34
|
|
|
|
|
},
|
|
|
|
|
"id": 19,
|
|
|
|
|
"options": {
|
|
|
|
|
"colorMode": "value",
|
|
|
|
|
"graphMode": "none",
|
|
|
|
|
"justifyMode": "center",
|
|
|
|
|
"orientation": "auto",
|
|
|
|
|
"reduceOptions": {
|
|
|
|
|
"calcs": [
|
|
|
|
|
"last"
|
|
|
|
|
],
|
|
|
|
|
"fields": "",
|
|
|
|
|
"values": false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"pluginVersion": "7.0.6",
|
|
|
|
|
"targets": [
|
|
|
|
|
{
|
|
|
|
|
"expr": "ovpn_client_cert_expire ",
|
|
|
|
|
"format": "time_series",
|
|
|
|
|
"interval": "",
|
|
|
|
|
"legendFormat": "{{ client }}",
|
|
|
|
|
"refId": "A"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"title": "Client cert valid days",
|
|
|
|
|
"type": "stat"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"refresh": false,
|
|
|
|
|
"schemaVersion": 36,
|
|
|
|
|
"style": "dark",
|
|
|
|
|
"tags": [],
|
|
|
|
|
"templating": {
|
2023-09-08 10:45:34 -04:00
|
|
|
|
"list": [
|
|
|
|
|
{
|
|
|
|
|
"current": {
|
|
|
|
|
"selected": false,
|
|
|
|
|
"text": "default",
|
|
|
|
|
"value": "default"
|
|
|
|
|
},
|
|
|
|
|
"hide": 0,
|
|
|
|
|
"includeAll": false,
|
|
|
|
|
"multi": false,
|
|
|
|
|
"label": "Prometheus",
|
|
|
|
|
"name": "ds_prometheus",
|
|
|
|
|
"options": [],
|
|
|
|
|
"query": "prometheus",
|
|
|
|
|
"refresh": 1,
|
|
|
|
|
"regex": "",
|
|
|
|
|
"skipUrlSync": false,
|
|
|
|
|
"type": "datasource"
|
|
|
|
|
}
|
|
|
|
|
]
|
2022-09-06 02:55:02 -04:00
|
|
|
|
},
|
|
|
|
|
"time": {
|
|
|
|
|
"from": "now-15m",
|
|
|
|
|
"to": "now"
|
|
|
|
|
},
|
|
|
|
|
"timepicker": {
|
|
|
|
|
"refresh_intervals": [
|
|
|
|
|
"10s",
|
|
|
|
|
"30s",
|
|
|
|
|
"1m",
|
|
|
|
|
"5m",
|
|
|
|
|
"15m",
|
|
|
|
|
"30m",
|
|
|
|
|
"1h",
|
|
|
|
|
"2h",
|
|
|
|
|
"1d"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"timezone": "",
|
|
|
|
|
"title": "Ovpn-Admin",
|
|
|
|
|
"uid": "Z7qmFI0Gk",
|
|
|
|
|
"version": 1,
|
|
|
|
|
"weekStart": ""
|
2023-09-08 10:45:34 -04:00
|
|
|
|
}
|