801 lines
20 KiB
JSON
801 lines
20 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- 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,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"iteration": 1638128079972,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"custom": {
|
|
"align": "auto",
|
|
"displayMode": "auto",
|
|
"filterable": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "s"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 15,
|
|
"interval": null,
|
|
"links": [
|
|
{
|
|
"targetBlank": true,
|
|
"title": "Zur Karte",
|
|
"url": "../#!/de/map/$node_id"
|
|
}
|
|
],
|
|
"maxDataPoints": 1,
|
|
"options": {
|
|
"showHeader": true
|
|
},
|
|
"pluginVersion": "8.2.3",
|
|
"targets": [
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max by (nodeid,hostname,firmware_base,firmware_release,model,owner,autoupdater) (node_time.up{nodeid=\"$node_id\"}[1y])",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Knoteninformationen",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": false
|
|
},
|
|
"indexByName": {
|
|
"Time": 5,
|
|
"Value": 7,
|
|
"autoupdater": 6,
|
|
"firmware_base": 3,
|
|
"firmware_release": 4,
|
|
"hostname": 1,
|
|
"model": 2,
|
|
"nodeid": 0
|
|
},
|
|
"renameByName": {
|
|
"Value": "Uptime",
|
|
"autoupdater": "Auto-Updater",
|
|
"firmware_base": "Firmware",
|
|
"firmware_release": "Version",
|
|
"hostname": "Hostname",
|
|
"model": "Modell",
|
|
"nodeid": " Node-ID",
|
|
"owner": "Kontakt"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"transparent": true,
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 9,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": 1800000,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "binBps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"id": 5,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min",
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max_over_time(irate(max by (nodeid) (node_traffic.forward.bytes{nodeid=\"$node_id\"})[2m]))",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Traffic (forward)",
|
|
"refId": "Aa"
|
|
},
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max_over_time(irate(max by (nodeid) (node_traffic.rx.bytes{nodeid=\"$node_id\"})[2m]))",
|
|
"interval": "",
|
|
"legendFormat": "Traffic (rx)",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max_over_time(irate(max by (nodeid) (node_traffic.tx.bytes{nodeid=\"$node_id\"})[2m]))",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Traffic (tx)",
|
|
"refId": "C"
|
|
}
|
|
],
|
|
"title": "Traffic",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"axisSoftMax": 5,
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 2,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": 1800000,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"decimals": 0,
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 3
|
|
},
|
|
"id": 2,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min",
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max by (nodeid)(max_over_time(node_clients.total{nodeid=\"$node_id\"}[10m]))",
|
|
"interval": "",
|
|
"legendFormat": "clients",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Clients",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 11
|
|
},
|
|
{
|
|
"id": 11,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 11
|
|
},
|
|
"type": "stat",
|
|
"title": "Traffic",
|
|
"pluginVersion": "8.2.3",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"mappings": [],
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"min": 0,
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"reduceOptions": {
|
|
"values": false,
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": ""
|
|
},
|
|
"orientation": "auto",
|
|
"text": {},
|
|
"textMode": "value_and_name",
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "center"
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.forward.bytes{nodeid=\"$node_id\"}[1y]))",
|
|
"legendFormat": "forward 1y",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "A",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.rx.bytes{nodeid=\"$node_id\"}[1y]))",
|
|
"legendFormat": "rx 1y",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"refId": "B",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.tx.bytes{nodeid=\"$node_id\"}[1y]))",
|
|
"legendFormat": "tx 1y",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "C",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.forward.bytes{nodeid=\"$node_id\"}[30d]))",
|
|
"legendFormat": "forward 30d",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "D",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.rx.bytes{nodeid=\"$node_id\"}[30d]))",
|
|
"legendFormat": "rx 30d",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "E",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.tx.bytes{nodeid=\"$node_id\"}[30d]))",
|
|
"legendFormat": "tx 30d",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "F",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.forward.bytes{nodeid=\"$node_id\"}[24h]))",
|
|
"legendFormat": "forward 24h",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "G",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.rx.bytes{nodeid=\"$node_id\"}[24h]))",
|
|
"legendFormat": "rx 24h",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"refId": "H",
|
|
"hide": false,
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.tx.bytes{nodeid=\"$node_id\"}[24h]))",
|
|
"legendFormat": "tx 24h",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "I",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.forward.bytes{nodeid=\"$node_id\"}[1h]))",
|
|
"legendFormat": "forward 1h",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "J",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.rx.bytes{nodeid=\"$node_id\"}[1h]))",
|
|
"legendFormat": "rx 1h",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "K",
|
|
"instant": true
|
|
},
|
|
{
|
|
"expr": "max by (nodeid) (increase(node_traffic.tx.bytes{nodeid=\"$node_id\"}[1h]))",
|
|
"legendFormat": "tx 1h",
|
|
"interval": "",
|
|
"exemplar": true,
|
|
"hide": false,
|
|
"refId": "L",
|
|
"instant": true
|
|
}
|
|
],
|
|
"transformations": [
|
|
{
|
|
"id": "seriesToRows",
|
|
"options": {}
|
|
},
|
|
{
|
|
"id": "rowsToFields",
|
|
"options": {
|
|
"mappings": [
|
|
{
|
|
"fieldName": "Time",
|
|
"handlerKey": "__ignore"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"timeFrom": null,
|
|
"hideTimeOverride": false,
|
|
"interval": null,
|
|
"maxDataPoints": null,
|
|
"datasource": null
|
|
},
|
|
"id": 7,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min",
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"exemplar": true,
|
|
"expr": "avg by (nodeid,target.id,target.hostname) (link_tq{source.id=\"$node_id\"})",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "to {{target.id}} {{target.hostname}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Links zu anderen Knoten",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "orange",
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 2,
|
|
"pointSize": 1,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"spanNulls": 3600000,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"max": 1,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 18
|
|
},
|
|
"id": 9,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min",
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max by (nodeid) (node_load{nodeid=\"$node_id\"})",
|
|
"interval": "",
|
|
"intervalFactor": 10,
|
|
"legendFormat": "load",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Load",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": null,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "orange",
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 2,
|
|
"pointSize": 1,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"spanNulls": 3600000,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "deckbytes"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byFrameRefID",
|
|
"options": "A"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 23
|
|
},
|
|
"id": 10,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"min",
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max by (nodeid) (node_memory.total{nodeid=\"$node_id\"})",
|
|
"interval": "",
|
|
"intervalFactor": 10,
|
|
"legendFormat": "total",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"exemplar": true,
|
|
"expr": "max by (nodeid) (node_memory.total{nodeid=\"$node_id\"}-node_memory.available{nodeid=\"$node_id\"})",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "used",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "RAM",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"refresh": "30s",
|
|
"schemaVersion": 31,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"allValue": null,
|
|
"current": {
|
|
"selected": false,
|
|
"text": "f4f26deaf460 - kirschberg4",
|
|
"value": "f4f26deaf460"
|
|
},
|
|
"datasource": null,
|
|
"definition": "query_result(label_join( max by (hostname,nodeid) (node_clients.total[1y]) , \"result\", \" - \", \"nodeid\", \"hostname\"))",
|
|
"description": null,
|
|
"error": null,
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": null,
|
|
"multi": false,
|
|
"name": "node_id",
|
|
"options": [],
|
|
"query": {
|
|
"query": "query_result(label_join( max by (hostname,nodeid) (node_clients.total[1y]) , \"result\", \" - \", \"nodeid\", \"hostname\"))",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "/nodeid=\"(?<value>[^\"]+)|result=\"(?<text>[^\"]+)/g",
|
|
"skipUrlSync": false,
|
|
"sort": 5,
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-6M",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Node (public)",
|
|
"uid": "KoKOqJc7k",
|
|
"version": 25
|
|
} |