added a panel to show connected vpn clients:
below the panel json only, perhaps you wan't to integrate it..
{
"datasource": {
"type": "prometheus",
"uid": "a7316362-425c-42a2-b221-07300fbdb8a9"
},
"description": "",
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineInterpolation": "linear",
"barAlignment": 0,
"lineWidth": 1,
"fillOpacity": 10,
"gradientMode": "none",
"spanNulls": true,
"insertNulls": false,
"showPoints": "never",
"pointSize": 5,
"stacking": {
"mode": "none",
"group": "A"
},
"axisPlacement": "auto",
"axisLabel": "Clients",
"axisColorMode": "text",
"axisBorderShow": false,
"scaleDistribution": {
"type": "linear"
},
"axisCenteredZero": false,
"hideFrom": {
"tooltip": false,
"viz": false,
"legend": false
},
"thresholdsStyle": {
"mode": "off"
}
},
"color": {
"mode": "palette-classic"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 25
},
"id": 167,
"options": {
"tooltip": {
"mode": "multi",
"sort": "none"
},
"legend": {
"showLegend": true,
"displayMode": "table",
"placement": "bottom",
"calcs": []
}
},
"pluginVersion": "8.4.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "a7316362-425c-42a2-b221-07300fbdb8a9"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": false,
"expr": "vpn_clients{host_name=\"$d_hostname\", environment=~\"$d_environment\", mode=\"Office\"}",
"format": "time_series",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Office Mode",
"range": true,
"refId": "A",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "a7316362-425c-42a2-b221-07300fbdb8a9"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": true,
"expr": "vpn_clients{host_name=\"$d_hostname\", environment=~\"$d_environment\", mode=\"Visitor\"}",
"format": "time_series",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "Office (Visitor) Mode",
"range": true,
"refId": "B",
"useBackend": false
},
{
"datasource": {
"type": "prometheus",
"uid": "a7316362-425c-42a2-b221-07300fbdb8a9"
},
"disableTextWrap": false,
"editorMode": "builder",
"exemplar": true,
"expr": "system_network_blades_vpn_active_clients{host_name=\"$d_hostname\", environment=~\"$d_environment\"}",
"format": "time_series",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
"instant": false,
"interval": "",
"legendFormat": "ALL VPN Clients",
"range": true,
"refId": "C",
"useBackend": false
}
],
"title": "VPN Clients",
"type": "timeseries"
}
hope this helps...