323 lines
9.3 KiB
JSON
323 lines
9.3 KiB
JSON
{
|
|
"displayName": "VPN Monitoring",
|
|
"mosaicLayout": {
|
|
"columns": 12,
|
|
"tiles": [
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Number of connections",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_MEAN"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/gateway/connections\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "1"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 4
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Tunnel established",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_MEAN"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/tunnel_established\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "1"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 4,
|
|
"xPos": 4
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "VPN Tunnel Bandwidth usage",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesQueryLanguage": "fetch vpn_gateway| { metric vpn.googleapis.com/network/sent_bytes_count; metric vpn.googleapis.com/network/received_bytes_count }| align rate (1m)| group_by [metric.tunnel_name]| outer_join 0,0| value val(0) + val(1)| condition val() > 187.5 \"MBy/s\""
|
|
}
|
|
}
|
|
],
|
|
"thresholds": [
|
|
{
|
|
"targetAxis": "Y1",
|
|
"value": 187500000
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 4,
|
|
"xPos": 8
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Cloud VPN Gateway - Received bytes",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_RATE"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/network/received_bytes_count\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "By"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 6,
|
|
"yPos": 4
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Cloud VPN Gateway - Sent bytes",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_RATE"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/network/sent_bytes_count\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "By"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 6,
|
|
"xPos": 6,
|
|
"yPos": 4
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Cloud VPN Gateway - Received packets",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_RATE"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/network/received_packets_count\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "{packets}"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 6,
|
|
"yPos": 8
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Cloud VPN Gateway - Sent packets",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_RATE"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/network/sent_packets_count\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "{packets}"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 6,
|
|
"xPos": 6,
|
|
"yPos": 8
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Incoming packets dropped",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_RATE"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/network/dropped_received_packets_count\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "1"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 6,
|
|
"xPos": 6,
|
|
"yPos": 12
|
|
},
|
|
{
|
|
"height": 4,
|
|
"widget": {
|
|
"title": "Outgoing packets dropped",
|
|
"xyChart": {
|
|
"chartOptions": {
|
|
"mode": "COLOR"
|
|
},
|
|
"dataSets": [
|
|
{
|
|
"minAlignmentPeriod": "60s",
|
|
"plotType": "LINE",
|
|
"targetAxis": "Y1",
|
|
"timeSeriesQuery": {
|
|
"timeSeriesFilter": {
|
|
"aggregation": {
|
|
"perSeriesAligner": "ALIGN_RATE"
|
|
},
|
|
"filter": "metric.type=\"vpn.googleapis.com/network/dropped_sent_packets_count\" resource.type=\"vpn_gateway\"",
|
|
"secondaryAggregation": {}
|
|
},
|
|
"unitOverride": "1"
|
|
}
|
|
}
|
|
],
|
|
"timeshiftDuration": "0s",
|
|
"yAxis": {
|
|
"label": "y1Axis",
|
|
"scale": "LINEAR"
|
|
}
|
|
}
|
|
},
|
|
"width": 6,
|
|
"yPos": 12
|
|
}
|
|
]
|
|
}
|
|
}
|