From 7b81df2ed5f050d670e0eefefb61877963671240 Mon Sep 17 00:00:00 2001 From: skorpy <magnus@skorpy.space> Date: Mon, 17 Apr 2023 16:15:23 +0000 Subject: [PATCH] init Router - Meshviewer Export --- .../Nodes/Router - Meshviewer Export.json | 4795 +++++++++++++++++ 1 file changed, 4795 insertions(+) create mode 100644 grafana/files/dashboards/Nodes/Router - Meshviewer Export.json diff --git a/grafana/files/dashboards/Nodes/Router - Meshviewer Export.json b/grafana/files/dashboards/Nodes/Router - Meshviewer Export.json new file mode 100644 index 00000000..e7227df7 --- /dev/null +++ b/grafana/files/dashboards/Nodes/Router - Meshviewer Export.json @@ -0,0 +1,4795 @@ +{ + "annotations": { + "list": [ + { + "$$hashKey": "object:16", + "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" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "enable": true, + "hide": false, + "iconColor": "rgba(255, 96, 96, 1)", + "name": "Annotation von Updates", + "query": "select \"firmware_release\" as \"text\" from (select first(\"load\"), \"nodeid\", \"hostname\", \"firmware_release\" from node where \"nodeid\"='$node' group by \"firmware_release\" order by time desc) order by time desc;", + "showIn": 0, + "target": { + "fromAnnotations": true, + "name": "Annotation von Updates", + "query": "select \"firmware_release\" as \"text\" from (select first(\"load\"), \"nodeid\", \"hostname\", \"firmware_release\" from node where \"nodeid\"='$node' group by \"firmware_release\" order by time desc) order by time desc;", + "queryType": "tags", + "tagsColumn": "", + "textColumn": "", + "timeEndColumn": "", + "titleColumn": "" + } + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 2, + "id": 19, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [], + "targetBlank": true, + "title": "Meshviewer", + "tooltip": "", + "type": "link", + "url": "https://meshviewer.darmstadt.freifunk.net/#!/de/map/${node}" + }, + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [], + "targetBlank": true, + "title": "Statusseite Knoten", + "tooltip": "", + "type": "link", + "url": "http://${hostname}.nodes.ffda.io/" + } + ], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "gridPos": { + "h": 4, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 29, + "options": { + "content": "<div style=\"text-align: center; \">\n <h1>{{hostname}}</h1>\n Modell: {{model}} <br/>\n Firmware: <a href=\"https://git.darmstadt.ccc.de/ffda/firmware/site/-/tree/v{{ firmware_release }}\" target=\"_blank\" style=\"text-decoration: underline;\" title=\"{{ firmware_base }}\">{{ firmware_release }}</a> - Branch: {{ autoupdater }} \n{{#if domain }}- Domain: {{domain}}{{/if}}\n<!--{{#if owner }} - Kontakt: <a href=\"mailto:{{owner}}\">{{owner}}</a><br/>{{/if}}-->\n</div> {{ site }}", + "defaultContent": "<div style=\"text-align: center; \">\n <h1>Unknown Node</h1>\n You could try looking for historic data by increasing the selceted Time Range in the top left corner.\n</div>", + "editor": { + "format": "auto", + "height": 200, + "language": "markdown" + }, + "editors": [], + "everyRow": true, + "helpers": "", + "styles": "" + }, + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"load\"), \"nodeid\", \"hostname\", \"model\", \"domain\", \"owner\", \"autoupdater\", \"firmware_release\" FROM \"node\" WHERE (\"nodeid\" =~ /^$node$/) AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "load" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ], + [ + { + "params": [ + "nodeid" + ], + "type": "field" + } + ], + [ + { + "params": [ + "hostname" + ], + "type": "field" + } + ], + [ + { + "params": [ + "model" + ], + "type": "field" + } + ], + [ + { + "params": [ + "domain" + ], + "type": "field" + } + ], + [ + { + "params": [ + "owner" + ], + "type": "field" + } + ], + [ + { + "params": [ + "autoupdater" + ], + "type": "field" + } + ], + [ + { + "params": [ + "firmware_release" + ], + "type": "field" + } + ], + [ + { + "params": [ + "firmware_base" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "transparent": true, + "type": "marcusolsson-dynamictext-panel" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 1, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 43200 + }, + { + "color": "yellow", + "value": 259200 + }, + { + "color": "green", + "value": 604800 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 0, + "y": 4 + }, + "id": 23, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"time.up\") AS \"Uptime\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Uptime", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "text", + "value": null + }, + { + "color": "green", + "value": 2 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 3, + "y": 4 + }, + "id": 9, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"nproc\") AS \"CPU Cores\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "CPUs", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "orange", + "value": 50000 + }, + { + "color": "yellow", + "value": 100000 + }, + { + "color": "green", + "value": 200000 + } + ] + }, + "unit": "deckbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 6, + "y": 4 + }, + "id": 10, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"memory.total\") AS \"Memory\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Arbeitsspeicher (gesamt)", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "description": "sum for selected time period", + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "text", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 10, + "y": 4 + }, + "id": 19, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT SUM(\"down\") FROM (\nSELECT NON_NEGATIVE_DERIVATIVE(\"traffic.rx.bytes\", 1m) AS \"down\"\nFROM \"node\"\nWHERE (\"nodeid\" =~ /^$node$/) \nAND $timeFilter \n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "RX Traffic", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "description": "sum for selected time period", + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "text", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 13, + "y": 4 + }, + "id": 20, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT SUM(\"up\") FROM (\nSELECT NON_NEGATIVE_DERIVATIVE(\"traffic.tx.bytes\", 1m) AS \"up\"\nFROM \"node\"\nWHERE (\"nodeid\" =~ /^$node$/) \nAND $timeFilter \n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "TX Traffic", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "description": "sum for selected time period", + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "text", + "value": null + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 16, + "y": 4 + }, + "id": 21, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT SUM(\"forward\") FROM (\nSELECT NON_NEGATIVE_DERIVATIVE(\"traffic.forward.bytes\", 1m) AS \"forward\"\nFROM \"node\"\nWHERE (\"nodeid\" =~ /^$node$/) \nAND $timeFilter \n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Forward Traffic", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Total" + }, + "properties": [ + { + "id": "links", + "value": [ + { + "title": "", + "url": "fwfwefew" + } + ] + } + ] + } + ] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 19, + "y": 4 + }, + "id": 36, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"neighbours.batadv\") AS \"fffwefwe\", last(\"neighbours.vpn\") FROM \"node\" WHERE (\"nodeid\" =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "neighbours.batadv" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "batman-adv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "neighbours.vpn" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "VPN" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "neighbours.lldp" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "LLDP" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "neighbours.total" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "Total" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Neighbours", + "type": "stat" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "links": [], + "mappings": [ + { + "options": { + "2412000000": { + "index": 0, + "text": "1" + }, + "2417000000": { + "index": 1, + "text": "2" + }, + "2422000000": { + "index": 2, + "text": "3" + }, + "2427000000": { + "index": 3, + "text": "4" + }, + "2432000000": { + "index": 4, + "text": "5" + }, + "2437000000": { + "index": 5, + "text": "6" + }, + "2442000000": { + "index": 6, + "text": "7" + }, + "2447000000": { + "index": 7, + "text": "8" + }, + "2452000000": { + "index": 8, + "text": "9" + }, + "2457000000": { + "index": 9, + "text": "10" + }, + "2462000000": { + "index": 10, + "text": "11" + }, + "2467000000": { + "index": 11, + "text": "12" + }, + "2472000000": { + "index": 12, + "text": "13" + }, + "2484000000": { + "index": 13, + "text": "14" + }, + "5170000000": { + "index": 14, + "text": "34" + }, + "5180000000": { + "index": 15, + "text": "36" + }, + "5190000000": { + "index": 16, + "text": "38" + }, + "5200000000": { + "index": 17, + "text": "40" + }, + "5210000000": { + "index": 18, + "text": "42" + }, + "5220000000": { + "index": 19, + "text": "44" + }, + "5230000000": { + "index": 20, + "text": "46" + }, + "5240000000": { + "index": 21, + "text": "48" + }, + "5260000000": { + "index": 22, + "text": "52" + }, + "5280000000": { + "index": 23, + "text": "56" + }, + "5300000000": { + "index": 24, + "text": "60" + }, + "5320000000": { + "index": 25, + "text": "64" + }, + "5500000000": { + "index": 26, + "text": "100" + }, + "5520000000": { + "index": 27, + "text": "104" + }, + "5540000000": { + "index": 28, + "text": "108" + }, + "5560000000": { + "index": 29, + "text": "112" + }, + "5580000000": { + "index": 30, + "text": "116" + }, + "5600000000": { + "index": 31, + "text": "120" + }, + "5620000000": { + "index": 32, + "text": "124" + }, + "5640000000": { + "index": 33, + "text": "128" + }, + "5660000000": { + "index": 34, + "text": "132" + }, + "5680000000": { + "index": 35, + "text": "136" + }, + "5700000000": { + "index": 36, + "text": "140" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "rothz" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "11g" + }, + "properties": [ + { + "id": "links", + "value": [] + } + ] + } + ] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 22, + "y": 4 + }, + "id": 53, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"neighbours.batadv\") AS \"fffwefwe\", last(\"neighbours.vpn\") FROM \"node\" WHERE (\"nodeid\" =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "airtime11g.frequency" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + }, + { + "params": [ + " * 1000000" + ], + "type": "math" + }, + { + "params": [ + "2,4 GHz" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "airtime11a.frequency" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + }, + { + "params": [ + " * 1000000" + ], + "type": "math" + }, + { + "params": [ + "5 GHz" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Channel", + "type": "stat" + }, + { + "collapsed": true, + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 8 + }, + "id": 42, + "panels": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "displayMode": "auto", + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "firmware_release" + }, + "properties": [ + { + "id": "displayName", + "value": "Firmware Release" + }, + { + "id": "links", + "value": [ + { + "targetBlank": true, + "title": "", + "url": "https://git.darmstadt.ccc.de/ffda/firmware/site/-/tree/v${__data.fields.firmware_release}" + } + ] + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "firmware_base" + }, + "properties": [ + { + "id": "displayName", + "value": "Gluon Version" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "dateTimeAsIso" + }, + { + "id": "custom.width", + "value": 145 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 9 + }, + "id": 30, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "select \"firmware_release\", \"firmware_base\" from (select first(\"load\"), \"hostname\", \"firmware_release\", \"firmware_base\" from node where \"nodeid\"='$node' group by \"firmware_release\" order by time desc limit 10) order by time desc;", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Recent Firmware Updates of this Router", + "type": "table" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "displayMode": "auto", + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "hostname" + }, + "properties": [ + { + "id": "displayName", + "value": "Hostname" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "displayName", + "value": "Last seen under this Name" + }, + { + "id": "unit", + "value": "dateTimeAsIso" + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 6, + "x": 8, + "y": 9 + }, + "id": 26, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "select time,hostname from (select last(\"load\"), \"hostname\" from node where \"nodeid\"='$node' group by hostname order by time desc) order by time desc", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Recent Names of this Router", + "type": "table" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "displayMode": "auto", + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "autoupdater" + }, + "properties": [ + { + "id": "displayName", + "value": "Autoupdater Branch" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "dateTimeAsIso" + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 14, + "y": 9 + }, + "id": 25, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "select \"autoupdater\" from (select first(\"load\"), \"hostname\", \"autoupdater\" from node where \"nodeid\"='$node' group by \"autoupdater\" order by time desc limit 10) order by time desc;", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Recent Autoupdater Branch Changes", + "type": "table" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "displayMode": "auto", + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "unit", + "value": "dateTimeAsIso" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "domain" + }, + "properties": [ + { + "id": "displayName", + "value": "Domain" + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 5, + "x": 19, + "y": 9 + }, + "id": 35, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "select \"domain\" from (select first(\"load\"), \"hostname\", \"domain\" from node where \"nodeid\"='$node' group by \"domain\" order by time desc limit 10) order by time desc;", + "rawQuery": true, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Recent Domains of this Router", + "type": "table" + } + ], + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "refId": "A" + } + ], + "title": "Historic Data", + "type": "row" + }, + { + "collapsed": false, + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 50, + "panels": [], + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "refId": "A" + } + ], + "title": "Clients & Wireless", + "type": "row" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 70, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Total" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(217, 217, 217)", + "mode": "fixed" + } + }, + { + "id": "custom.lineWidth", + "value": 0 + }, + { + "id": "custom.lineWidth", + "value": 1 + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 10 + }, + "id": 1, + "interval": ">[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "2.4 GHz Clients", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"clients.wifi24\") AS \"Connected Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "5 GHz Clients", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "expr": "SELECT mean(\"clients.total\") AS \"Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "intervalFactor": 2, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"clients.wifi5\") AS \"Connected Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "step": 30, + "tags": [] + }, + { + "alias": "Wired Clients", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"clients.total\") - mean(\"clients.wifi5\") - mean(\"clients.wifi24\") AS \"Connected Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Clients - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 70, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Total" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "rgb(217, 217, 217)", + "mode": "fixed" + } + }, + { + "id": "custom.lineWidth", + "value": 0 + }, + { + "id": "custom.lineWidth", + "value": 1 + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 20 + }, + "id": 22, + "interval": ">[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "2.4 GHz Clients", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"clients.owe24\") AS \"Connected Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + }, + { + "alias": "5 GHz Clients", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "expr": "SELECT mean(\"clients.total\") AS \"Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "intervalFactor": 2, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"clients.owe5\") AS \"Connected Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "step": 30, + "tags": [] + } + ], + "title": "OWE Clients - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 7, + "interval": ">[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "expr": "SELECT mean(\"clients.total\") AS \"Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "intervalFactor": 2, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"airtime11g.chan_util\") AS \"2.4 Ghz\", mean(\"airtime11a.chan_util\") AS \"5 Ghz\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time(300s) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "step": 30, + "tags": [] + } + ], + "title": "Airtime Utilization - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "max": 0, + "min": -110, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "dB" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 35 + }, + "id": 27, + "interval": ">[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "expr": "SELECT mean(\"clients.total\") AS \"Clients\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "intervalFactor": 2, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"airtime11g.noise\") AS \"2.4 Ghz\", mean(\"airtime11a.noise\") AS \"5 Ghz\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time(300s) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "step": 30, + "tags": [] + } + ], + "title": "Noisefloor - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 48, + "panels": [], + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "refId": "A" + } + ], + "title": "System Stats", + "type": "row" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "line" + } + }, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "transparent" + }, + { + "color": "orange", + "value": 1 + }, + { + "color": "red", + "value": 4 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Memory Usage" + }, + "properties": [ + { + "id": "unit", + "value": "percentunit" + }, + { + "id": "max", + "value": 1 + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 43 + }, + "id": 3, + "interval": ">[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"load\") AS \"Load\", ((mean(\"memory.total\")-mean(\"memory.available\"))/mean(\"memory.total\")) AS \"Memory Usage\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "load" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "Load" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "(memory.total-memory.free)/memory.total" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + " / 100" + ], + "type": "math" + }, + { + "params": [ + "Mem" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/$node$/" + } + ] + } + ], + "title": "Load & Memory - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "dtdhms" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 50 + }, + "id": 4, + "interval": ">[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "expr": "", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "intervalFactor": 2, + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"time.up\") AS \"Uptime\" FROM \"node\" WHERE \"nodeid\" =~ /$node$/ AND $timeFilter GROUP BY time($interval) fill(null)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Uptime - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 57 + }, + "id": 38, + "panels": [], + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "refId": "A" + } + ], + "title": "Traffic", + "type": "row" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Up" + }, + "properties": [ + { + "id": "custom.stacking", + "value": { + "group": "B", + "mode": "normal" + } + }, + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 58 + }, + "id": 2, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \n NON_NEGATIVE_DERIVATIVE(\"down\") * 8 AS \"Down\",\n NON_NEGATIVE_DERIVATIVE(\"up\") * 8 AS \"Up\"\nFROM (\n SELECT \n LAST(\"traffic.rx.bytes\") AS \"down\", \n LAST(\"traffic.tx.bytes\") AS \"up\" \n FROM \"node\"\n WHERE (\"nodeid\" =~ /^$node$/) \n AND $timeFilter \n GROUP BY time($interval) fill(none)\n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "traffic.rx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Down" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "traffic.tx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Up" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Traffic (Up/Down) - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "pps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Up" + }, + "properties": [ + { + "id": "custom.stacking", + "value": { + "group": "B", + "mode": "normal" + } + }, + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 58 + }, + "id": 5, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \n NON_NEGATIVE_DERIVATIVE(\"down\") * 8 AS \"Down\",\n NON_NEGATIVE_DERIVATIVE(\"up\") * 8 AS \"Up\"\nFROM (\n SELECT \n LAST(\"traffic.rx.packets\") AS \"down\", \n LAST(\"traffic.tx.packets\") AS \"up\" \n FROM \"node\"\n WHERE (\"nodeid\" =~ /^$node$/) \n AND $timeFilter \n GROUP BY time($interval) fill(none)\n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "traffic.rx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Down" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "traffic.tx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Up" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Packets (Up/Down) - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Forward" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#447ebc", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 65 + }, + "id": 6, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \n NON_NEGATIVE_DERIVATIVE(\"forward\") * 8 AS \"Forward\"\nFROM (\n SELECT \n LAST(\"traffic.forward.bytes\") AS \"forward\"\n FROM \"node\"\n WHERE (\"nodeid\" =~ /^$node$/) \n AND $timeFilter \n GROUP BY time($interval) fill(none)\n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "traffic.rx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Down" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "traffic.tx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Up" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Traffic (Forward) - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "pps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Forward" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#5195ce", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 65 + }, + "id": 14, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \n NON_NEGATIVE_DERIVATIVE(\"forward\") * 8 AS \"Forward\"\nFROM (\n SELECT \n LAST(\"traffic.forward.packets\") AS \"forward\"\n FROM \"node\"\n WHERE (\"nodeid\" =~ /^$node$/) \n AND $timeFilter \n GROUP BY time($interval) fill(none)\n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "traffic.rx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Down" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "traffic.tx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Up" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Packets (Forward) - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Sent" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 72 + }, + "id": 15, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \n NON_NEGATIVE_DERIVATIVE(\"RX\") * 8 AS \"Received\",\n NON_NEGATIVE_DERIVATIVE(\"TX\") * 8 AS \"Sent\"\nFROM (\n SELECT \n LAST(\"traffic.mgmt_rx.bytes\") AS \"RX\",\n LAST(\"traffic.mgmt_tx.bytes\") AS \"TX\"\n FROM \"node\"\n WHERE (\"nodeid\" =~ /^$node$/) \n AND $timeFilter \n GROUP BY time($interval) fill(none)\n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "traffic.rx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Down" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "traffic.tx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Up" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Traffic (Management)- $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "pps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Sent" + }, + "properties": [ + { + "id": "custom.stacking", + "value": { + "group": "B", + "mode": "normal" + } + }, + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 72 + }, + "id": 16, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "dsType": "influxdb", + "groupBy": [ + { + "params": [ + "$interval" + ], + "type": "time" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \n NON_NEGATIVE_DERIVATIVE(\"RX\") * 8 AS \"Received\",\n NON_NEGATIVE_DERIVATIVE(\"TX\") * 8 AS \"Sent\"\nFROM (\n SELECT \n LAST(\"traffic.mgmt_rx.packets\") AS \"RX\",\n LAST(\"traffic.mgmt_tx.packets\") AS \"TX\"\n FROM \"node\"\n WHERE (\"nodeid\" =~ /^$node$/) \n AND $timeFilter \n GROUP BY time($interval) fill(none)\n)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "traffic.rx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Down" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "traffic.tx.bytes" + ], + "type": "field" + }, + { + "params": [], + "type": "sum" + }, + { + "params": [ + "1s" + ], + "type": "non_negative_derivative" + }, + { + "params": [ + "*8" + ], + "type": "math" + }, + { + "params": [ + "Up" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Packets (Management) - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 79 + }, + "id": 46, + "panels": [], + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P60F92E97BD961DD7" + }, + "refId": "A" + } + ], + "title": "Mesh & Neighbours", + "type": "row" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Total" + }, + "properties": [ + { + "id": "links", + "value": [ + { + "title": "", + "url": "fwfwefew" + } + ] + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 80 + }, + "id": 31, + "interval": "[[saveinterval]]s", + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "alias": "$col", + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "node", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT last(\"neighbours.batadv\") AS \"fffwefwe\", last(\"neighbours.vpn\") FROM \"node\" WHERE (\"nodeid\" =~ /^$node$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "neighbours.batadv" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "batman-adv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "neighbours.vpn" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "VPN" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "neighbours.lldp" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "LLDP" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "neighbours.total" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + }, + { + "params": [ + "Total" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "nodeid", + "operator": "=~", + "value": "/^$node$/" + } + ] + } + ], + "title": "Neighbours - $hostname", + "transparent": true, + "type": "timeseries" + }, + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "points", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "always", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "link.mean {source.addr: c2:f7:f2:38:12:39, target.addr: fe:17:ad:96:5c:39}", + "link.mean {source.addr: c2:f7:f2:38:12:3d, target.addr: fe:17:ad:96:5c:3d}", + "link.mean {source.addr: fe:17:ad:96:5c:39, target.addr: c2:f7:f2:38:12:39}", + "link.mean {source.addr: fe:17:ad:96:5c:3d, target.addr: c2:f7:f2:38:12:3d}" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 24, + "x": 0, + "y": 86 + }, + "id": 18, + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "min" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "groupBy": [ + { + "params": [ + "$__interval" + ], + "type": "time" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT mean(\"tq\")\nFROM \"link\"\nWHERE (\"source.id\" =~ /^$node$/ OR \"target.id\" =~ /^$node$/) \nAND $timeFilter \nGROUP BY time($__interval), \"source.addr\", \"target.addr\" fill(none)", + "rawQuery": true, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "mean" + } + ] + ], + "tags": [] + } + ], + "title": "Mesh Links - $hostname", + "transparent": true, + "type": "timeseries" + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "yanic" + ], + "templating": { + "list": [ + { + "allValue": "(.*)", + "current": { + "selected": false, + "text": "e4956e41f65f", + "value": "e4956e41f65f" + }, + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "definition": "", + "hide": 0, + "includeAll": true, + "label": "Knoten ID", + "multi": false, + "name": "node", + "options": [], + "query": "SHOW TAG VALUES FROM \"node\" WITH KEY = \"nodeid\"", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query", + "useTags": false + }, + { + "hide": 2, + "label": "SavedInterval", + "name": "saveinterval", + "query": "60", + "skipUrlSync": false, + "type": "constant" + }, + { + "current": { + "selected": false, + "text": "61381-h11-cloud-access", + "value": "61381-h11-cloud-access" + }, + "datasource": { + "type": "influxdb", + "uid": "P0BEC5A9646A77189" + }, + "definition": "select time,hostname from (select last(\"load\"), \"hostname\" from node where \"nodeid\"='$node' group by hostname order by time desc) order by time desc limit 1", + "hide": 2, + "includeAll": false, + "label": "Hostname", + "multi": false, + "name": "hostname", + "options": [], + "query": "select time,hostname from (select last(\"load\"), \"hostname\" from node where \"nodeid\"='$node' group by hostname order by time desc) order by time desc limit 1", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-7d", + "to": "now-1m" + }, + "timepicker": { + "nowDelay": "1m", + "refresh_intervals": [ + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "browser", + "title": "Router - Meshviewer Export", + "uid": "000000021", + "version": 5, + "weekStart": "" +} -- GitLab