2024-09-28 08:35:04 +00:00
|
|
|
{
|
|
|
|
"annotations": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"$$hashKey": "object:39",
|
|
|
|
"builtIn": 1,
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "datasource",
|
|
|
|
"uid": "grafana"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"enable": true,
|
|
|
|
"hide": true,
|
|
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
|
|
"name": "Annotations & Alerts",
|
|
|
|
"type": "dashboard"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"editable": true,
|
2024-12-26 20:11:35 +00:00
|
|
|
"fiscalYearStartMonth": 0,
|
2024-09-28 08:35:04 +00:00
|
|
|
"graphTooltip": 0,
|
2024-12-26 20:11:35 +00:00
|
|
|
"id": 818,
|
2024-09-28 08:35:04 +00:00
|
|
|
"links": [],
|
|
|
|
"panels": [
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"barWidthFactor": 0.6,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": false,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "normal"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "bps"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": "/transmit/"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "B",
|
|
|
|
"mode": "normal"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.transform",
|
|
|
|
"value": "negative-Y"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 10,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"id": 9,
|
|
|
|
"options": {
|
2024-12-26 20:11:35 +00:00
|
|
|
"dataLinks": [],
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "multi",
|
|
|
|
"sort": "none"
|
2024-09-28 08:35:04 +00:00
|
|
|
}
|
2024-12-26 20:11:35 +00:00
|
|
|
},
|
|
|
|
"pluginVersion": "11.4.0",
|
2024-09-28 08:35:04 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "irate(node_network_receive_bytes_total{instance=~\"routnerr.*\",device!~\"lo|docker.*|virbr.*\"}[5m]) * 8",
|
|
|
|
"format": "time_series",
|
|
|
|
"hide": false,
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "receive: {{device}}",
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "irate(node_network_transmit_bytes_total{instance=~\"routnerr.*\",device!~\"lo|docker.*|virbr.*\"}[5m]) * 8",
|
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "transmit: {{device}}",
|
|
|
|
"refId": "B"
|
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "irate(wireguard_peer_receive_bytes_total{instance=~\"routnerr.*\"}[5m]) * on (public_key) group_left(name) wireguard_peer_info * on (instance) group_left(device) wireguard_device_info * 8",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "receive: {{device}}: {{name}}",
|
|
|
|
"refId": "C"
|
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "irate(wireguard_peer_transmit_bytes_total{instance=~\"routnerr.*\"}[5m]) * on (public_key) group_left(name) wireguard_peer_info * on (instance) group_left(device) wireguard_device_info * 8",
|
|
|
|
"interval": "",
|
|
|
|
"legendFormat": "transmit: {{device}}: {{name}}",
|
|
|
|
"refId": "D"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "WAN",
|
2024-12-26 20:11:35 +00:00
|
|
|
"type": "timeseries"
|
2024-09-28 08:35:04 +00:00
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"barWidthFactor": 0.6,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": false,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "bps"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": "/to/"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "B",
|
|
|
|
"mode": "normal"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.transform",
|
|
|
|
"value": "negative-Y"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 11,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 10
|
|
|
|
},
|
|
|
|
"id": 7,
|
|
|
|
"options": {
|
2024-12-26 20:11:35 +00:00
|
|
|
"dataLinks": [],
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "multi",
|
|
|
|
"sort": "none"
|
2024-09-28 08:35:04 +00:00
|
|
|
}
|
2024-12-26 20:11:35 +00:00
|
|
|
},
|
|
|
|
"pluginVersion": "11.4.0",
|
2024-09-28 08:35:04 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "rate(ifInOctets{ifAlias!=\"\",instance=\"switch-livingroom01\",job=\"snmp\"}[5m]) and on(instance, job, ifName) ifAdminStatus != 2 * 8",
|
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "from: {{ifAlias}}",
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "rate(ifOutOctets{ifAlias!=\"\",instance=\"switch-livingroom01\",job=\"snmp\"}[5m]) and on(instance, job, ifName) ifAdminStatus != 2 * 8",
|
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "to: {{ifAlias}}",
|
|
|
|
"refId": "B"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Core switch",
|
2024-12-26 20:11:35 +00:00
|
|
|
"type": "timeseries"
|
2024-09-28 08:35:04 +00:00
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
|
|
|
"fieldConfig": {
|
|
|
|
"defaults": {
|
|
|
|
"color": {
|
|
|
|
"mode": "palette-classic"
|
|
|
|
},
|
|
|
|
"custom": {
|
|
|
|
"axisBorderShow": false,
|
|
|
|
"axisCenteredZero": false,
|
|
|
|
"axisColorMode": "text",
|
|
|
|
"axisLabel": "",
|
|
|
|
"axisPlacement": "auto",
|
|
|
|
"barAlignment": 0,
|
|
|
|
"barWidthFactor": 0.6,
|
|
|
|
"drawStyle": "line",
|
|
|
|
"fillOpacity": 10,
|
|
|
|
"gradientMode": "none",
|
|
|
|
"hideFrom": {
|
|
|
|
"legend": false,
|
|
|
|
"tooltip": false,
|
|
|
|
"viz": false
|
|
|
|
},
|
|
|
|
"insertNulls": false,
|
|
|
|
"lineInterpolation": "linear",
|
|
|
|
"lineWidth": 1,
|
|
|
|
"pointSize": 5,
|
|
|
|
"scaleDistribution": {
|
|
|
|
"type": "linear"
|
|
|
|
},
|
|
|
|
"showPoints": "never",
|
|
|
|
"spanNulls": false,
|
|
|
|
"stacking": {
|
|
|
|
"group": "A",
|
|
|
|
"mode": "none"
|
|
|
|
},
|
|
|
|
"thresholdsStyle": {
|
|
|
|
"mode": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mappings": [],
|
|
|
|
"thresholds": {
|
|
|
|
"mode": "absolute",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"color": "green",
|
|
|
|
"value": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"color": "red",
|
|
|
|
"value": 80
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"unit": "bps"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"matcher": {
|
|
|
|
"id": "byRegexp",
|
|
|
|
"options": "/to/"
|
|
|
|
},
|
|
|
|
"properties": [
|
|
|
|
{
|
|
|
|
"id": "custom.stacking",
|
|
|
|
"value": {
|
|
|
|
"group": "B",
|
|
|
|
"mode": "normal"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "custom.transform",
|
|
|
|
"value": "negative-Y"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"gridPos": {
|
|
|
|
"h": 10,
|
|
|
|
"w": 24,
|
|
|
|
"x": 0,
|
|
|
|
"y": 21
|
|
|
|
},
|
|
|
|
"id": 6,
|
|
|
|
"options": {
|
2024-12-26 20:11:35 +00:00
|
|
|
"dataLinks": [],
|
|
|
|
"legend": {
|
|
|
|
"calcs": [
|
|
|
|
"lastNotNull"
|
|
|
|
],
|
|
|
|
"displayMode": "table",
|
|
|
|
"placement": "right",
|
|
|
|
"showLegend": true
|
|
|
|
},
|
|
|
|
"tooltip": {
|
|
|
|
"mode": "multi",
|
|
|
|
"sort": "none"
|
2024-09-28 08:35:04 +00:00
|
|
|
}
|
2024-12-26 20:11:35 +00:00
|
|
|
},
|
|
|
|
"pluginVersion": "11.4.0",
|
2024-09-28 08:35:04 +00:00
|
|
|
"targets": [
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "rate(ifInOctets{ifAlias!=\"\",instance=\"switch-office01\",job=\"snmp\"}[5m]) and on(instance, job, ifName) ifAdminStatus != 2 * 8",
|
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "from: {{ifAlias}}",
|
|
|
|
"refId": "A"
|
|
|
|
},
|
|
|
|
{
|
2024-12-26 20:11:35 +00:00
|
|
|
"datasource": {
|
|
|
|
"type": "prometheus",
|
|
|
|
"uid": "prometheus"
|
|
|
|
},
|
2024-09-28 08:35:04 +00:00
|
|
|
"expr": "rate(ifOutOctets{ifAlias!=\"\",instance=\"switch-office01\",job=\"snmp\"}[5m]) and on(instance, job, ifName) ifAdminStatus != 2 * 8",
|
|
|
|
"format": "time_series",
|
|
|
|
"interval": "",
|
|
|
|
"intervalFactor": 1,
|
|
|
|
"legendFormat": "to: {{ifAlias}}",
|
|
|
|
"refId": "B"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"title": "Office switch",
|
2024-12-26 20:11:35 +00:00
|
|
|
"type": "timeseries"
|
2024-09-28 08:35:04 +00:00
|
|
|
}
|
|
|
|
],
|
2024-12-26 20:11:35 +00:00
|
|
|
"preload": false,
|
|
|
|
"refresh": "",
|
|
|
|
"schemaVersion": 40,
|
2024-09-28 08:35:04 +00:00
|
|
|
"tags": [],
|
|
|
|
"templating": {
|
|
|
|
"list": []
|
|
|
|
},
|
|
|
|
"time": {
|
|
|
|
"from": "now-24h",
|
|
|
|
"to": "now"
|
|
|
|
},
|
2024-12-26 20:11:35 +00:00
|
|
|
"timepicker": {},
|
2024-09-28 08:35:04 +00:00
|
|
|
"timezone": "",
|
|
|
|
"title": "Network",
|
|
|
|
"uid": "e1K4fWrmz",
|
2024-12-26 20:11:35 +00:00
|
|
|
"version": 1,
|
|
|
|
"weekStart": ""
|
2024-09-28 08:35:04 +00:00
|
|
|
}
|