diff --git a/README.md b/README.md new file mode 100644 index 0000000..119026a --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ + +# Grafana Dashboards for openwrt-libremesh devices + +## A scrape configuration containing the tags `group` and `host` +Esempio dal file di configurazione di prometheus /etc/prometheus/prometheus.yml con le etichette host e group + + scrape_configs: + # The job name is added as a label `job=` to any timeseries scraped from this config. + - job_name: 'prometheus' + + # metrics_path defaults to '/metrics' + # scheme defaults to 'http'. + + static_configs: + - targets: ['10.170.x.x:9090'] + labels: + host: 'ninux-59a9ea' + group: 'mesh_stations' + + - targets: ['10.170.x.x:9090'] + labels: + host: 'stercoraro' + group: 'mesh_routers' + + - targets: ['10.170.x.x:9090'] + labels: + host: 'cervo-volante' + group: 'home_routers' + +## Collector Configuration Details +Al momento stiamo suddividendo gli host in 3 gruppi `mesh_routers`, `mesh_stations`, `home_routers`, per poi filtrare più comodamente le metriche (e.g. non mostrare l'attività wireless dei router ma solo quella delle antenne) +Manteniamo monitorati alcuni home_routers nel caso per esempio questi siano direttamente connessi ad un gateway per avere un'informazione in più sul carico complessivo del gateway, e per avere riscontro delle informazioni del gateway relative all'interfaccia fisica corrispondente al collegamento con l'home_router. + +## Alcuni riferimenti +https://docs.victoriametrics.com/MetricsQL.html +https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html +https://valyala.medium.com/promql-tutorial-for-beginners-9ab455142085 diff --git a/alert.json b/alert.json deleted file mode 100644 index c0e0184..0000000 --- a/alert.json +++ /dev/null @@ -1,734 +0,0 @@ -{ - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": "Prometheus croara", - "enable": false, - "expr": "ALERTS", - "hide": false, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "step": "60s", - "target": { - "limit": 100, - "matchAny": false, - "tags": [], - "type": "dashboard" - }, - "type": "dashboard" - }, - { - "datasource": null, - "enable": false, - "expr": "node_boot_time_seconds{host=~\"$name\"} * 1000", - "iconColor": "red", - "name": "mark reboots", - "titleFormat": "", - "useValueForTime": false - } - ] - }, - "editable": true, - "gnetId": null, - "graphTooltip": 0, - "id": 41, - "iteration": 1651791125117, - "links": [], - "panels": [ - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 1 - ], - "type": "lt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Down - Croara", - "noDataState": "no_data", - "notifications": [] - }, - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "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": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 680, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "up{group=\"mesh_stations\"}", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "{{host}} - {{instance}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "op": "lt", - "value": 1, - "visible": true - } - ], - "title": "Down - Croara", - "type": "timeseries" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 1 - ], - "type": "lt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "last" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "for": "5m", - "frequency": "1m", - "handler": 1, - "message": "", - "name": "Down - Valsamoggia", - "noDataState": "no_data", - "notifications": [] - }, - "datasource": "Prometheus valsamoggia", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "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": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 682, - "options": { - "legend": { - "calcs": [], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "up{group=\"mesh_stations\"}", - "interval": "", - "legendFormat": "{{host}} - {{instance}}", - "refId": "A" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "op": "lt", - "value": 1, - "visible": true - } - ], - "title": "Down - Valsamoggia", - "type": "timeseries" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 10 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - }, - { - "evaluator": { - "params": [ - 10 - ], - "type": "gt" - }, - "operator": { - "type": "or" - }, - "query": { - "params": [ - "B", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Drops - Croara", - "noDataState": "no_data", - "notifications": [] - }, - "datasource": null, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "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": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": -10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 684, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_drop_total[5m])", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{host}} # {{device}} Receive Drops", - "refId": "A" - }, - { - "exemplar": true, - "expr": "irate(node_network_transmit_drop_total[5m])", - "format": "time_series", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{host}} # {{device}} Trasmit Drops", - "refId": "B" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "op": "gt", - "value": 10, - "visible": true - } - ], - "title": "Drops - Croara", - "type": "timeseries" - }, - { - "alert": { - "alertRuleTags": {}, - "conditions": [ - { - "evaluator": { - "params": [ - 10 - ], - "type": "gt" - }, - "operator": { - "type": "and" - }, - "query": { - "params": [ - "A", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - }, - { - "evaluator": { - "params": [ - 10 - ], - "type": "gt" - }, - "operator": { - "type": "or" - }, - "query": { - "params": [ - "B", - "5m", - "now" - ] - }, - "reducer": { - "params": [], - "type": "avg" - }, - "type": "query" - } - ], - "executionErrorState": "alerting", - "for": "5m", - "frequency": "1m", - "handler": 1, - "name": "Drops - Valsamoggia", - "noDataState": "no_data", - "notifications": [] - }, - "datasource": "Prometheus valsamoggia", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "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": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": -10 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 8 - }, - "id": 686, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean", - "lastNotNull" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_drop_total{device=\"eth0\"}[5m])", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{host}} # {{device}} Receive Drops", - "refId": "A" - }, - { - "exemplar": true, - "expr": "irate(node_network_transmit_drop_total[5m])", - "format": "time_series", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 2, - "legendFormat": "{{host}} # {{device}} Trasmit Drops", - "refId": "B" - } - ], - "thresholds": [ - { - "colorMode": "critical", - "op": "gt", - "value": 10, - "visible": true - } - ], - "title": "Drops - Valsamoggia", - "type": "timeseries" - } - ], - "refresh": false, - "schemaVersion": 30, - "style": "dark", - "tags": [], - "templating": { - "list": [ - { - "description": null, - "error": null, - "hide": 2, - "label": "Job", - "name": "job", - "query": "prometheus", - "skipUrlSync": false, - "type": "constant" - }, - { - "allValue": null, - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": "${data_source}", - "definition": "label_values(node_uname_info{job=~\"$job\"}, host)", - "description": null, - "error": null, - "hide": 2, - "includeAll": true, - "label": "Host:", - "multi": true, - "name": "name", - "options": [], - "query": { - "query": "label_values(node_uname_info{job=~\"$job\"}, host)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "allValue": null, - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, - "datasource": "${data_source}", - "definition": "label_values(node_uname_info{nodename=~\"$name\"}, instance)", - "description": null, - "error": null, - "hide": 2, - "includeAll": true, - "label": "WIFI Host:", - "multi": true, - "name": "node", - "options": [], - "query": { - "query": "label_values(node_uname_info{nodename=~\"$name\"}, instance)", - "refId": "StandardVariableQuery" - }, - "refresh": 1, - "regex": "/([^:]+):.*/", - "skipUrlSync": false, - "sort": 1, - "type": "query" - }, - { - "current": { - "selected": false, - "text": "Prometheus valsamoggia", - "value": "Prometheus valsamoggia" - }, - "description": "", - "error": null, - "hide": 0, - "includeAll": false, - "label": "Data source", - "multi": false, - "name": "data_source", - "options": [], - "query": "prometheus", - "queryValue": "", - "refresh": 1, - "regex": "", - "skipUrlSync": false, - "type": "datasource" - } - ] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Alert", - "uid": "m0Xg9FLnz_alert", - "version": 9 -} diff --git a/panoramica_nodi.json b/panoramica_nodi.json index ddabe54..a1cc0db 100644 --- a/panoramica_nodi.json +++ b/panoramica_nodi.json @@ -3,7 +3,9 @@ "list": [ { "builtIn": 1, - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "enable": false, "expr": "ALERTS", "hide": true, @@ -19,7 +21,10 @@ "type": "dashboard" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, "enable": false, "expr": "node_boot_time_seconds{host=~\"$name\"} * 1000", "iconColor": "red", @@ -29,16 +34,19 @@ } ] }, - "editable": true, - "gnetId": null, + "editable": false, + "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 42, - "iteration": 1651789336931, + "id": 55, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, "gridPos": { "h": 1, "w": 24, @@ -51,7 +59,9 @@ "type": "row" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "fieldConfig": { "defaults": { "color": { @@ -96,38 +106,47 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.1.8", - "repeat": null, + "pluginVersion": "9.0.6", "targets": [ { "exemplar": true, - "expr": "count(up)", + "expr": "count(up{job=\"$job\"})", "interval": "", "legendFormat": " Total", "refId": "Total" }, { "exemplar": true, - "expr": "sum(up) - count(group by (host)(wifi_station_signal_dbm{ifname=\"wlan0-mesh\"}))", + "expr": "count(up{job=\"$job\", group=\"mesh_routers\"})", "hide": false, "interval": "", - "legendFormat": "Routers", - "refId": "Routers" + "legendFormat": "Mesh Routers", + "refId": "Mesh Routers" }, { "exemplar": true, - "expr": "count(group by (host)(wifi_station_signal_dbm{ifname=\"wlan0-mesh\"}))", + "expr": "count(up{job=\"$job\", group=\"mesh_stations\"})", "hide": false, "interval": "", - "legendFormat": "Antenne", - "refId": "Antennas" + "legendFormat": "Mesh Stations", + "refId": "Mesh Stations" + }, + { + "exemplar": true, + "expr": "count(up{job=\"$job\", group=\"home_routers\"})", + "hide": false, + "interval": "", + "legendFormat": "Home Routers", + "refId": "Home Routers" } ], "title": "Total Devices", "type": "stat" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "fieldConfig": { "defaults": { "color": { @@ -172,37 +191,47 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.1.8", + "pluginVersion": "9.0.6", "targets": [ { "exemplar": true, - "expr": "sum(up)", + "expr": "sum(up{job=\"$job\"})", "interval": "", "legendFormat": "Total", - "refId": "Up Total" + "refId": "Total" }, { "exemplar": true, - "expr": "sum(up{group=\"home_routers\"})", + "expr": "sum(up{job=\"$job\", group=\"mesh_routers\"})", "hide": false, "interval": "", - "legendFormat": "Routers", - "refId": "Up Routers" + "legendFormat": "Mesh Routers", + "refId": "Mesh Routers" }, { "exemplar": true, "expr": "sum(up{group=\"mesh_stations\"})", "hide": false, "interval": "", - "legendFormat": "Antenne", - "refId": "Up Antennas" + "legendFormat": "Mesh Stations", + "refId": "Mesh Stations" + }, + { + "exemplar": true, + "expr": "sum(up{job=\"$job\", group=\"home_routers\"})", + "hide": false, + "interval": "", + "legendFormat": "Home Routers", + "refId": "Home Routers" } ], "title": "Up Devices", "type": "stat" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "fieldConfig": { "defaults": { "color": { @@ -247,37 +276,47 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.1.8", + "pluginVersion": "9.0.6", "targets": [ { "exemplar": true, - "expr": "count(up) - sum(up)", + "expr": "count(up{job=\"$job\"}) - sum(up{job=\"$job\"})", "interval": "", "legendFormat": "Total", - "refId": "Down Total" + "refId": "Total" }, { "exemplar": true, - "expr": "count(up{group=\"home_routers\"}) - sum(up{group=\"home_routers\"})", + "expr": "count(up{job=\"$job\", group=\"mesh_routers\"}) - sum(up{job=\"$job\", group=\"mesh_routers\"})", "hide": false, "interval": "", - "legendFormat": "Routers", - "refId": "Down Routers" + "legendFormat": "Mesh Routers", + "refId": "Mesh Routers" }, { "exemplar": true, - "expr": "count(up{group=\"mesh_stations\"}) - sum(up{group=\"mesh_stations\"})", + "expr": "count(up{job=\"$job\", group=\"mesh_stations\"}) - sum(up{job=\"$job\", group=\"mesh_stations\"})", "hide": false, "interval": "", - "legendFormat": "Antenne", - "refId": "Down Antennas" + "legendFormat": "Mesh Stations", + "refId": "Mesh Stations" + }, + { + "exemplar": true, + "expr": "count(up{job=\"$job\", group=\"home_routers\"}) - sum(up{job=\"$job\", group=\"home_routers\"})", + "hide": false, + "interval": "", + "legendFormat": "Home Routers", + "refId": "Home Routers" } ], "title": "Down Devices", "type": "stat" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "fieldConfig": { "defaults": { "color": { @@ -325,29 +364,31 @@ }, "textMode": "auto" }, - "pluginVersion": "8.1.8", + "pluginVersion": "9.0.6", "targets": [ { "exemplar": true, - "expr": "sum(wifi_stations{group=\"mesh_stations\", ifname!=\"wlan0-mesh\"})", + "expr": "sum(wifi_stations{job=\"$job\", group=\"mesh_stations\", ifname!=\"wlan0-mesh\"})", "interval": "", "legendFormat": "Total", - "refId": "A" + "refId": "Total" }, { "exemplar": true, - "expr": "wifi_stations{group=\"mesh_stations\", ifname!=\"wlan0-mesh\"}", + "expr": "wifi_stations{job=\"$job\", group=\"mesh_stations\", ifname!=\"wlan0-mesh\"}", "hide": false, "interval": "", "legendFormat": "{{host}} # {{ifname}}", - "refId": "B" + "refId": "Devices" } ], - "title": "Wifi Clients", + "title": "Wifi Stations - AP Clients", "type": "stat" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "fieldConfig": { "defaults": { "color": { @@ -395,29 +436,578 @@ }, "textMode": "auto" }, - "pluginVersion": "8.1.8", + "pluginVersion": "9.0.6", "targets": [ { "exemplar": true, - "expr": "sum(wifi_stations{ifname=\"wlan0-mesh\", group=\"mesh_stations\"})", + "expr": "sum(wifi_stations{job=\"$job\", ifname=\"wlan0-mesh\", group=\"mesh_stations\"})", "interval": "", "legendFormat": "Total", - "refId": "A" + "refId": "Total" }, { "exemplar": true, - "expr": "wifi_stations{ifname=\"wlan0-mesh\", group=\"mesh_stations\"}", + "expr": "wifi_stations{job=\"$job\", ifname=\"wlan0-mesh\", group=\"mesh_stations\"}", "hide": false, "interval": "", "legendFormat": "{{host}}", - "refId": "B" + "refId": "Devices" } ], - "title": "Wifi Mesh Clients", + "title": "Wifi Stations - Mesh Clients", "type": "stat" }, { - "datasource": "${data_source}", + "datasource": { + "type": "prometheus", + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 85 + }, + { + "color": "red", + "value": 95 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Value #Up Status" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-background-solid" + }, + { + "id": "custom.width", + "value": 80 + }, + { + "id": "unit" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "red", + "value": null + }, + { + "color": "green", + "value": 1 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #CPU" + }, + "properties": [ + { + "id": "color", + "value": { + "mode": "thresholds" + } + }, + { + "id": "custom.displayMode", + "value": "basic" + }, + { + "id": "custom.width", + "value": 120 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Ram Used" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "basic" + }, + { + "id": "custom.width", + "value": 120 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Load 1m" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "basic" + }, + { + "id": "thresholds", + "value": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + { + "id": "custom.width", + "value": 120 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Uptime" + }, + "properties": [ + { + "id": "unit", + "value": "s" + }, + { + "id": "custom.width", + "value": 80 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Last Seen" + }, + "properties": [ + { + "id": "unit", + "value": "dateTimeAsLocalNoDateIfToday" + }, + { + "id": "custom.width", + "value": 180 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #Load 5m" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "basic" + }, + { + "id": "thresholds", + "value": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + { + "id": "custom.width", + "value": 120 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Ram" + }, + "properties": [ + { + "id": "custom.width", + "value": 120 + }, + { + "id": "unit", + "value": "decbytes" + } + ] + } + ] + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 682, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "instance" + } + ] + }, + "pluginVersion": "9.0.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "last_over_time(node_uname_info{job=\"$job\"}[$__range]) > 0", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "node_uname_info" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "last_over_time(node_openwrt_info{job=\"$job\"}[$__range]) > 0", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "node_openwrt_info" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "up{job=\"$job\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "Up Status" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "node_time_seconds{job=\"$job\"} - node_boot_time_seconds{job=\"$job\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "Uptime" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "last_over_time(node_time_seconds{job=\"$job\"}[$__range]) * 1000", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "Last Seen" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "100 * (1 - rate(node_cpu_seconds_total{job=\"$job\", mode=\"idle\"}[$__range])) > 0", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "CPU", + "refId": "CPU" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "(\n (last_over_time(node_memory_MemTotal_bytes{job=~\"$job\"}[$__range]) - last_over_time(node_memory_MemFree_bytes{job=~\"$job\"}[$__range]) \n )\n / \n (last_over_time(node_memory_MemTotal_bytes{job=~\"$job\"}[$__range]) )\n) * 100", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "Ram Used" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "last_over_time(node_load1{job=\"$job\"}[$__range])", + "format": "table", + "hide": false, + "interval": "", + "legendFormat": "", + "refId": "Load 1m" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "last_over_time(node_load5{job=\"$job\"}[$__range])", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "Load 5m" + }, + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "last_over_time(node_memory_MemTotal_bytes{job=\"$job\"}[$__range])", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "Total Ram" + } + ], + "title": "All Devices", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "instance" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time 1": true, + "Time 10": true, + "Time 2": true, + "Time 3": true, + "Time 4": true, + "Time 5": true, + "Time 6": true, + "Time 7": true, + "Time 8": true, + "Time 9": true, + "Value #A": false, + "Value #B": true, + "Value #node_openwrt_info": true, + "Value #node_uname_info": true, + "__name__ 1": true, + "__name__ 2": true, + "__name__ 3": true, + "__name__ 4": true, + "__name__ 5": true, + "__name__ 6": true, + "cpu": true, + "domainname": true, + "group 1": false, + "group 10": true, + "group 2": true, + "group 3": true, + "group 4": true, + "group 5": true, + "group 6": true, + "group 7": true, + "group 8": true, + "group 9": true, + "host 10": true, + "host 2": true, + "host 3": true, + "host 4": true, + "host 5": true, + "host 6": true, + "host 7": true, + "host 8": true, + "host 9": true, + "job 1": true, + "job 10": true, + "job 2": true, + "job 3": true, + "job 4": true, + "job 5": true, + "job 6": true, + "job 7": true, + "job 8": true, + "job 9": true, + "mode": true, + "release 1": true, + "sysname": true, + "version": true + }, + "indexByName": { + "Time 1": 11, + "Time 10": 67, + "Time 2": 21, + "Time 3": 34, + "Time 4": 39, + "Time 5": 45, + "Time 6": 49, + "Time 7": 53, + "Time 8": 57, + "Time 9": 62, + "Value #CPU": 6, + "Value #Last Seen": 5, + "Value #Load 1m": 9, + "Value #Load 5m": 10, + "Value #Ram Used": 7, + "Value #Total Ram": 8, + "Value #Up Status": 3, + "Value #Uptime": 4, + "Value #node_openwrt_info": 33, + "Value #node_uname_info": 20, + "__name__ 1": 12, + "__name__ 2": 22, + "__name__ 3": 35, + "__name__ 4": 61, + "__name__ 5": 66, + "__name__ 6": 68, + "board_name": 23, + "cpu": 40, + "domainname": 13, + "group 1": 2, + "group 10": 69, + "group 2": 25, + "group 3": 36, + "group 4": 41, + "group 5": 46, + "group 6": 50, + "group 7": 54, + "group 8": 58, + "group 9": 63, + "host 1": 1, + "host 10": 70, + "host 2": 26, + "host 3": 37, + "host 4": 42, + "host 5": 47, + "host 6": 51, + "host 7": 55, + "host 8": 59, + "host 9": 64, + "id": 27, + "instance": 0, + "job 1": 14, + "job 10": 71, + "job 2": 28, + "job 3": 38, + "job 4": 43, + "job 5": 48, + "job 6": 52, + "job 7": 56, + "job 8": 60, + "job 9": 65, + "machine": 16, + "mode": 44, + "model": 24, + "nodename": 15, + "release 1": 17, + "release 2": 29, + "revision": 30, + "sysname": 18, + "system": 31, + "target": 32, + "version": 19 + }, + "renameByName": { + "Value #A": "CPU Busy", + "Value #CPU": "CPU Busy", + "Value #Last Seen": "Last Seen", + "Value #Load": "Load", + "Value #Load 1m": "Load 1m", + "Value #Load 5m": "Load 5m", + "Value #Ram Used": "Ram Used", + "Value #Status": "Up Status", + "Value #Total Ram": "Total Ram", + "Value #Up Status": "Up Status", + "Value #Uptime": "Uptime" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "uid": "${data_source}" + }, "description": "Se la raggiunge prometheus", "fieldConfig": { "defaults": { @@ -473,7 +1063,7 @@ "h": 8, "w": 12, "x": 0, - "y": 9 + "y": 21 }, "id": 6, "options": { @@ -485,13 +1075,14 @@ "placement": "right" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { "exemplar": true, - "expr": "up", + "expr": "up{job=\"$job\"}", "interval": "", "legendFormat": "{{host}}", "refId": "A" @@ -502,7 +1093,9 @@ "type": "timeseries" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "description": "Se è viva", "fieldConfig": { "defaults": { @@ -559,7 +1152,7 @@ "h": 8, "w": 12, "x": 12, - "y": 9 + "y": 21 }, "id": 8, "options": { @@ -571,7 +1164,8 @@ "placement": "right" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ @@ -587,7 +1181,9 @@ "type": "timeseries" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "description": "All connected Mesh Clients", "fieldConfig": { "defaults": { @@ -599,8 +1195,8 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", + "fillOpacity": 50, + "gradientMode": "opacity", "hideFrom": { "legend": false, "tooltip": false, @@ -627,8 +1223,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -643,7 +1238,7 @@ "h": 8, "w": 12, "x": 0, - "y": 17 + "y": 29 }, "id": 245, "options": { @@ -668,15 +1263,25 @@ "exemplar": true, "expr": "sum(wifi_stations{ifname=\"wlan0-mesh\"})", "interval": "", - "legendFormat": " ", - "refId": "A" + "legendFormat": " Total", + "refId": "Total" + }, + { + "exemplar": true, + "expr": "wifi_stations{ifname=\"wlan0-mesh\", group=\"mesh_stations\"}", + "hide": false, + "interval": "", + "legendFormat": "{{host}}", + "refId": "Devices" } ], "title": "Wifi Mesh Clients", "type": "timeseries" }, { - "datasource": "${data_source}", + "datasource": { + "uid": "${data_source}" + }, "description": "All connected AP clients, incuding stations with proprietary software", "fieldConfig": { "defaults": { @@ -688,8 +1293,8 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", + "fillOpacity": 50, + "gradientMode": "hue", "hideFrom": { "legend": false, "tooltip": false, @@ -716,8 +1321,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -733,7 +1337,7 @@ "h": 8, "w": 12, "x": 12, - "y": 17 + "y": 29 }, "id": 243, "options": { @@ -756,3352 +1360,3500 @@ "targets": [ { "exemplar": true, - "expr": "sum(wifi_stations{ifname!=\"wlan0-mesh\"})", + "expr": "sum(wifi_stations{ifname!=\"wlan0-mesh\", group=\"mesh_stations\"})", + "hide": false, "interval": "", - "legendFormat": " ", - "refId": "A" + "legendFormat": "Total", + "refId": "Total" + }, + { + "exemplar": true, + "expr": "wifi_stations{ifname!=\"wlan0-mesh\", group=\"mesh_stations\"}", + "interval": "", + "legendFormat": "{{host}} # {{ifname}}", + "refId": "Devices" } ], "title": "Wifi AP Clients", "type": "timeseries" }, { - "collapsed": false, - "datasource": null, + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 25 + "y": 37 }, "id": 36, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 0, + "y": 38 + }, + "id": 32, + "options": { + "legend": { + "displayMode": "table", + "placement": "bottom", + "values": [ + "value", + "percent" + ] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "sum by (model)(node_openwrt_info)", + "interval": "", + "legendFormat": "{{ model }}", + "refId": "A" + } + ], + "title": "Model", + "type": "piechart" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 8, + "y": 38 + }, + "id": 38, + "options": { + "displayLabels": [ + "name" + ], + "legend": { + "displayMode": "table", + "placement": "bottom", + "values": [ + "value", + "percent" + ] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "sum by (release)(node_openwrt_info)", + "interval": "", + "legendFormat": "{{ release }}", + "refId": "A" + } + ], + "title": "Release", + "type": "piechart" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 16, + "y": 38 + }, + "id": 34, + "options": { + "displayLabels": [], + "legend": { + "displayMode": "table", + "placement": "bottom", + "values": [ + "value", + "percent" + ] + }, + "pieType": "donut", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "exemplar": true, + "expr": "sum by (model, release)(node_openwrt_info)", + "interval": "", + "legendFormat": "{{ model }} - {{ release }}", + "refId": "A" + } + ], + "title": "Model - Release", + "type": "piechart" + } + ], "title": "Model and Release", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } - }, - "mappings": [] - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 6, - "w": 8, - "x": 0, - "y": 26 - }, - "id": 32, - "options": { - "legend": { - "displayMode": "table", - "placement": "right", - "values": [ - "value", - "percent" - ] - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "sum by (model)(node_openwrt_info)", - "interval": "", - "legendFormat": "{{ model }}", - "refId": "A" - } - ], - "title": "Model", - "type": "piechart" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } - }, - "mappings": [] - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 8, - "y": 26 - }, - "id": 38, - "options": { - "legend": { - "displayMode": "table", - "placement": "right", - "values": [ - "value", - "percent" - ] - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "sum by (release)(node_openwrt_info)", - "interval": "", - "legendFormat": "{{ release }}", - "refId": "A" - } - ], - "title": "Release", - "type": "piechart" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } - }, - "mappings": [] - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 8, - "x": 16, - "y": 26 - }, - "id": 34, - "options": { - "legend": { - "displayMode": "table", - "placement": "right", - "values": [ - "value", - "percent" - ] - }, - "pieType": "pie", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "datasource": "Prometheus croara", - "exemplar": true, - "expr": "sum by (model, release)(node_openwrt_info)", - "interval": "", - "legendFormat": "{{ model }} - {{ release }}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Model - Release", - "type": "piechart" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 32 + "y": 38 }, - "id": 468, - "panels": [], - "title": "System - Overview", + "id": 817, + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 3 + }, + "id": 819, + "options": { + "showHeader": true + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "rate(wifi_network_quality{job=~\"$job\", ifname=\"wlan0-mesh\"}[$__range])", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Wifi Info", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value": false, + "instance": false, + "job": true, + "ssid": true + }, + "indexByName": { + "Time": 0, + "Value": 5, + "bssid": 2, + "channel": 6, + "country": 7, + "device": 8, + "frequency": 9, + "group": 4, + "host": 3, + "ifname": 10, + "instance": 1, + "job": 11, + "mode": 12, + "ssid": 13 + }, + "renameByName": {} + } + } + ], + "type": "table" + } + ], + "title": "Wifi", "type": "row" }, { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 39 + }, + "id": 58, + "panels": [ + { + "datasource": { + "uid": "${data_source}" }, - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - { - "color": "#EAB839", - "value": 85 + "custom": { + "align": "auto", + "displayMode": "auto" }, - { - "color": "red", - "value": 95 - } - ] - }, - "unit": "percent" - }, - "overrides": [ - { - "matcher": { - "id": "byFrameRefID", - "options": "Uptime" - }, - "properties": [ - { - "id": "unit", - "value": "s" - }, - { - "id": "max", - "value": 24 - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "Total RAM" - }, - "properties": [ - { - "id": "unit", - "value": "decbytes" - }, - { - "id": "thresholds", - "value": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null + "mappings": [ + { + "options": { + "44:D9:E7:DA:9A:67": { + "index": 6, + "text": "ninux-db9a67 - 44:D9:E7:DA:9A:67" }, - { - "color": "green", - "value": 30 + "78:8A:20:CC:77:60": { + "index": 0, + "text": "neomantix - 78:8A:20:CC:77:60" + }, + "B0:95:75:FB:75:C0": { + "index": 7, + "text": "ninux-cabum - B0:95:75:FB:75:C0" + }, + "B0:95:75:FB:78:F2": { + "index": 4, + "text": "ninux-fb78f2 - B0:95:75:FB:78:F2" + }, + "CC:32:E5:9D:A5:E6": { + "index": 5, + "text": "falena - CC:32:E5:9D:A5:E6" + }, + "F0:9F:C2:58:A9:EA": { + "index": 2, + "text": "ninux-59a9ea - F0:9F:C2:58:A9:EA" + }, + "F0:9F:C2:58:AA:C4": { + "index": 3, + "text": "cetonia - F0:9F:C2:58:AA:C4" + }, + "FC:EC:DA:06:D5:F4": { + "index": 1, + "text": "scutigera - FC:EC:DA:06:D5:F4" } - ] + }, + "type": "value" } - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "Wifi AP Clients" - }, - "properties": [ - { - "id": "unit" - } - ] - }, - { - "matcher": { - "id": "byFrameRefID", - "options": "Wifi Mesh Stations" - }, - "properties": [ - { - "id": "unit" - }, - { - "id": "mappings", - "value": [ + ], + "thresholds": { + "mode": "absolute", + "steps": [ { - "options": { - "match": "null", - "result": { - "index": 0, - "text": "n/p" - } - }, - "type": "special" + "color": "red" + }, + { + "color": "green", + "value": 20 + }, + { + "color": "blue", + "value": 80 + } + ] + }, + "unit": "Mbits" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Signal" + }, + "properties": [ + { + "id": "unit", + "value": "dBm" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #Range dbm" + }, + "properties": [ + { + "id": "unit", + "value": "dbm" } ] } ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 8, - "x": 0, - "y": 33 - }, - "id": 470, - "maxPerRow": 3, - "options": { - "displayMode": "gradient", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" + }, + "gridPos": { + "h": 5, + "w": 14, + "x": 0, + "y": 4 + }, + "id": 343, + "options": { + "showHeader": true + }, + "pluginVersion": "8.1.8", + "repeat": "mesh_stations", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "avg by (mac)(wifi_station_expected_throughput_kilobits_per_second{ifname=\"wlan0-mesh\", host=\"$mesh_stations\"}/1024)", + "format": "table", + "interval": "", + "legendFormat": "Throughput", + "refId": "Throughput" + }, + { + "exemplar": true, + "expr": "avg by (mac)(wifi_station_signal_dbm{ifname=\"wlan0-mesh\", host=\"$mesh_stations\"})", + "format": "table", + "hide": false, + "interval": "", + "legendFormat": "Signal", + "refId": "Signal" + } ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "h", - "targets": [ - { - "exemplar": true, - "expr": "(((count(count(node_cpu_seconds_total{host=~\"$name\",job=~\"$job\"}) by (cpu))) - avg(sum by (mode)(irate(node_cpu_seconds_total{mode='idle',host=~\"$name\",job=~\"$job\"}[5m])))) * 100) / count(count(node_cpu_seconds_total{host=~\"$name\",job=~\"$job\"}) by (cpu))", - "interval": "", - "legendFormat": "CPU Busy", - "refId": "Cpu Busy" + "title": "$mesh_stations - Links", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "mac" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time 1": true, + "Time 2": true, + "Time 3": true, + "group": true, + "host": true, + "ifname": true, + "instance": true, + "job": true + }, + "indexByName": {}, + "renameByName": { + "Value #Range dbm": "Range dbm", + "Value #Signal": "Signal", + "Value #Throughput": "Throughput" + } + } + } + ], + "type": "table" }, { - "exemplar": true, - "expr": "((node_memory_MemTotal_bytes{host=~\"$name\",job=~\"$job\"} - node_memory_MemFree_bytes{host=~\"$name\",job=~\"$job\"}) / (node_memory_MemTotal_bytes{host=~\"$name\",job=~\"$job\"} )) * 100", - "hide": false, - "interval": "", - "legendFormat": "RAM Used", - "refId": "RAM Used" - }, - { - "exemplar": true, - "expr": "avg(node_load1{host=~\"$name\",job=~\"$job\"}) / count(count(node_cpu_seconds_total{host=~\"$name\",job=~\"$job\"}) by (cpu)) * 100", - "hide": false, - "interval": "", - "legendFormat": "Load1", - "refId": "Load 1" - }, - { - "exemplar": true, - "expr": "avg(node_load5{host=~\"$name\",job=~\"$job\"}) / count(count(node_cpu_seconds_total{host=~\"$name\",job=~\"$job\"}) by (cpu)) * 100", - "hide": false, - "interval": "", - "legendFormat": "Load5", - "refId": "Load 5" - }, - { - "exemplar": true, - "expr": "node_time_seconds{host=~\"$name\",job=~\"$job\"} - node_boot_time_seconds{host=~\"$name\",job=~\"$job\"}", - "hide": false, - "interval": "", - "legendFormat": "Uptime", - "refId": "Uptime" - }, - { - "exemplar": true, - "expr": "node_memory_MemTotal_bytes{host=~\"$name\",job=~\"$job\"}", - "hide": false, - "interval": "", - "legendFormat": "Total RAM", - "refId": "Total RAM" - }, - { - "exemplar": true, - "expr": "sum(wifi_stations{host=\"$name\", ifname=\"wlan0-mesh\"})", - "hide": false, - "interval": "", - "legendFormat": "Wifi Mesh Stations", - "refId": "Wifi Mesh Stations" - }, - { - "exemplar": true, - "expr": "sum(wifi_stations{host=\"$name\", ifname!=\"wlan0-mesh\"})", - "hide": false, - "interval": "", - "legendFormat": "Wifi AP Clients", - "refId": "Wifi AP Clients" - }, - { - "hide": false, - "refId": "A" + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "78:8A:20:CC:77:60": { + "index": 0, + "text": "neomantix" + }, + "B0:95:75:FB:78:F2": { + "index": 4, + "text": "ninux-fb78f2" + }, + "CC:32:E5:9D:A5:E6": { + "index": 5, + "text": "falena" + }, + "F0:9F:C2:58:A9:EA": { + "index": 2, + "text": "ninux-59a9ea" + }, + "F0:9F:C2:58:AA:C4": { + "index": 3, + "text": "cetonia" + }, + "FC:EC:DA:06:D5:F4": { + "index": 1, + "text": "scutigera" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 10 + } + ] + }, + "unit": "dBm" + }, + "overrides": [ + { + "matcher": { + "id": "byFrameRefID", + "options": "Throughput" + }, + "properties": [ + { + "id": "unit", + "value": "Kbits" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 10000 + } + ] + } + } + ] + } + ] + }, + "gridPos": { + "h": 5, + "w": 10, + "x": 14, + "y": 4 + }, + "id": 694, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "range" + ], + "fields": "", + "values": false + }, + "text": { + "titleSize": 14, + "valueSize": 14 + }, + "textMode": "auto" + }, + "pluginVersion": "8.1.8", + "repeat": "mesh_stations", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "avg by (mac)(wifi_station_signal_dbm{ifname=\"wlan0-mesh\", host=\"$mesh_stations\"})", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{mac}} - Signal", + "refId": "dbm" + }, + { + "exemplar": true, + "expr": "avg by (mac)(wifi_station_expected_throughput_kilobits_per_second{ifname=\"wlan0-mesh\", host=\"$mesh_stations\"})", + "hide": false, + "interval": "", + "legendFormat": "{{mac}} - Throughput", + "refId": "Throughput" + } + ], + "title": "$mesh_stations - Oscillazione", + "type": "stat" } ], - "title": "$name", - "type": "bargauge" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 54 - }, - "id": 58, - "panels": [], - "title": "Wifi - Overview", + "title": "Wifi - Links", "type": "row" }, { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 40 - }, - { - "color": "blue", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 3, - "w": 6, - "x": 0, - "y": 55 - }, - "id": 367, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "v", - "targets": [ - { - "exemplar": true, - "expr": "avg by (host)(wifi_network_quality{ifname=\"wlan0-mesh\", host=~\"$name\"})", - "format": "time_series", - "instant": true, - "interval": "", - "legendFormat": "{{host}}", - "refId": "Quality" - } - ], - "title": "$name - Wifi Quality avg", - "transformations": [], - "type": "stat" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 20 - }, - { - "color": "blue", - "value": 80 - } - ] - }, - "unit": "Mbits" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 6, - "y": 55 - }, - "id": 343, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": { - "titleSize": 14, - "valueSize": 14 - }, - "textMode": "value_and_name" - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "v", - "targets": [ - { - "exemplar": true, - "expr": "avg by (mac)(wifi_station_expected_throughput_kilobits_per_second{ifname=\"wlan0-mesh\", host=\"$name\"}/1024)", - "format": "time_series", - "interval": "", - "legendFormat": "{{mac}}", - "refId": "A" - } - ], - "title": "$name - Throughput avg", - "type": "stat" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "yellow", - "value": -80 - }, - { - "color": "green", - "value": -70 - } - ] - }, - "unit": "dBm" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 12, - "y": 55 - }, - "id": 351, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": { - "titleSize": 14, - "valueSize": 14 - }, - "textMode": "value_and_name" - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "v", - "targets": [ - { - "exemplar": true, - "expr": "avg by (mac)(wifi_station_signal_dbm{ifname=\"wlan0-mesh\", host=\"$name\"})", - "interval": "", - "legendFormat": "{{mac}}", - "refId": "A" - } - ], - "title": "$name - Signal avg", - "type": "stat" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 10 - }, - { - "color": "red", - "value": 15 - } - ] - }, - "unit": "dBm" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 6, - "x": 18, - "y": 55 - }, - "id": 425, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "range" - ], - "fields": "", - "values": false - }, - "text": { - "titleSize": 14, - "valueSize": 14 - }, - "textMode": "value_and_name" - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "v", - "targets": [ - { - "exemplar": true, - "expr": "avg by (mac)(wifi_station_signal_dbm{ifname=\"wlan0-mesh\", host=\"$name\"})", - "interval": "", - "legendFormat": "{{mac}}", - "refId": "A" - } - ], - "title": "$name - Range avg", - "type": "stat" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 76 + "y": 40 }, "id": 78, - "panels": [], - "title": "Wifi - Signal dbm", + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "area" + } + }, + "mappings": [], + "max": -10, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red" + }, + { + "color": "#EAB839", + "value": -80 + }, + { + "color": "green", + "value": -70 + } + ] + }, + "unit": "dBm" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 79, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "min", + "max", + "range" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.1.8", + "repeat": "mesh_stations", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "wifi_station_signal_dbm{ifname=\"wlan0-mesh\", host=\"$mesh_stations\"}", + "format": "time_series", + "instant": false, + "interval": "", + "legendFormat": "{{mac}}", + "refId": "A" + } + ], + "title": "$mesh_stations - Signal dbm # wlan0-mesh", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 73, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "min", + "max", + "range" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "repeat": "mesh_stations", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "wifi_network_quality{host=~\"$mesh_stations\", ifname=\"wlan0-mesh\"}", + "interval": "", + "legendFormat": "{{ifname}}", + "refId": "A" + }, + { + "exemplar": true, + "expr": "wifi_network_quality{host=~\"$mesh_stations\", ifname=\"wlan0-ap\"}", + "hide": false, + "interval": "", + "legendFormat": "{{ifname}}", + "refId": "B" + }, + { + "exemplar": true, + "expr": "wifi_network_quality{host=~\"$mesh_stations\", ifname=\"wlan0-apname\"}", + "hide": false, + "interval": "", + "legendFormat": "{{ifname}}", + "refId": "C" + }, + { + "exemplar": true, + "expr": "wifi_network_quality{host=~\"$name\", ifname!=\"wlan0-apname\", ifname!=\"wlan0-ap\", ifname!=\"wlan0-mesh\"}", + "hide": false, + "interval": "", + "legendFormat": "", + "refId": "D" + } + ], + "title": "$mesh_stations - Wifi Quality", + "type": "timeseries" + } + ], + "title": "Wifi - Signal and Quality", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "area" - } - }, - "mappings": [], - "max": -10, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "#EAB839", - "value": -80 - }, - { - "color": "green", - "value": -70 - } - ] - }, - "unit": "dBm" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 77 - }, - "id": 79, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "min", - "max", - "range" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "h", - "targets": [ - { - "exemplar": true, - "expr": "wifi_station_signal_dbm{ifname=\"wlan0-mesh\", host=\"$name\"}", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "{{mac}}", - "refId": "A" - } - ], - "title": "$name - Signal dbm # wlan0-mesh", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 109 + "y": 41 }, "id": 75, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Mbits" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 5 + }, + "id": 71, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "logmin", + "max", + "range" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "repeat": "mesh_stations", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "wifi_station_expected_throughput_kilobits_per_second{ifname=\"wlan0-mesh\", host=\"$mesh_stations\"}/1024", + "interval": "", + "legendFormat": "{{mac}}", + "refId": "A" + } + ], + "title": "$mesh_stations - Throughput # wlan0-mesh", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Mbits" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 5 + }, + "id": 716, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [ + "last", + "mean", + "logmin", + "max", + "range" + ], + "displayMode": "table", + "placement": "bottom" + }, + "tooltip": { + "mode": "single" + } + }, + "repeat": "mesh_stations", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "wifi_station_expected_throughput_kilobits_per_second{ifname!=\"wlan0-mesh\", host=\"$mesh_stations\"}/1024", + "interval": "", + "legendFormat": "{{mac}} # {{ifname}}", + "refId": "A" + } + ], + "title": "$mesh_stations - Throughput AP Clients", + "type": "timeseries" + } + ], "title": "Wifi - Throughput", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "Mbits" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 110 - }, - "id": 71, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "logmin", - "max", - "range" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "repeat": "name", - "repeatDirection": "h", - "targets": [ - { - "exemplar": true, - "expr": "wifi_station_expected_throughput_kilobits_per_second{ifname=\"wlan0-mesh\", host=\"$name\"}/1024", - "interval": "", - "legendFormat": "{{mac}}", - "refId": "A" - } - ], - "title": "$name - Throughput # wlan0-mesh", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 150 - }, - "id": 127, - "panels": [], - "title": "Wifi - Quality", - "type": "row" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 151 - }, - "id": 73, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [ - "last", - "mean", - "min", - "max", - "range" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single" - } - }, - "repeat": "name", - "repeatDirection": "h", - "targets": [ - { - "exemplar": true, - "expr": "wifi_network_quality{host=~\"$name\", ifname=\"wlan0-mesh\"}", - "interval": "", - "legendFormat": "{{ifname}}", - "refId": "A" - }, - { - "exemplar": true, - "expr": "wifi_network_quality{host=~\"$name\", ifname=\"wlan0-ap\"}", - "hide": false, - "interval": "", - "legendFormat": "{{ifname}}", - "refId": "B" - }, - { - "exemplar": true, - "expr": "wifi_network_quality{host=~\"$name\", ifname=\"wlan0-apname\"}", - "hide": false, - "interval": "", - "legendFormat": "{{ifname}}", - "refId": "C" - }, - { - "exemplar": true, - "expr": "wifi_network_quality{host=~\"$name\", ifname!=\"wlan0-apname\", ifname!=\"wlan0-ap\", ifname!=\"wlan0-mesh\"}", - "hide": false, - "interval": "", - "legendFormat": "", - "refId": "D" - } - ], - "title": "$name - Wifi Quality", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 191 + "y": 42 }, "id": 239, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "minWidth": 100 + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Value #WAN TX Speed" + }, + "properties": [ + { + "id": "unit", + "value": "bps" + } + ] + }, + { + "matcher": { + "id": "byType", + "options": "number" + }, + "properties": [ + { + "id": "custom.width", + "value": 140 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "WAN RX Speed" + }, + "properties": [ + { + "id": "unit", + "value": "bps" + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 7 + }, + "id": 785, + "options": { + "showHeader": true + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "node_network_transmit_bytes_total{device=\"eth0.2\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "{{host}}", + "refId": "WAN TX" + }, + { + "exemplar": true, + "expr": "node_network_receive_bytes_total{device=\"eth0.2\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{host}}", + "refId": "WAN RX" + }, + { + "exemplar": true, + "expr": "node_network_transmit_bytes_total{device=\"br-lan\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "LAN TX" + }, + { + "exemplar": true, + "expr": "node_network_receive_bytes_total{device=\"br-lan\"}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "LAN RX" + }, + { + "exemplar": true, + "expr": "({__name__=~\"node_network_transmit_bytes_total\", device=~\"br-lan\"}) + \n({__name__=~\"node_network_receive_bytes_total\", device=~\"br-lan\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "LAN Traffic Total" + }, + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.2\"}[1m]) * 8", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "WAN TX Speed" + }, + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"eth0.2\"}[1m]) * 8", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "WAN RX Speed" + }, + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"br-lan\"}[1m]) * 8", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "LAN TX Speed" + }, + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"br-lan\"}[1m]) * 8", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "LAN RX Speed" + }, + { + "exemplar": true, + "expr": "\n({__name__=~\"node_network_transmit_bytes_total\", device=~\"eth0.2\"}) + \n({__name__=~\"node_network_receive_bytes_total\", device=~\"eth0.2\"})\n", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "WAN Traffic Total" + } + ], + "title": "Network - All devices", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "instance" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Time 1": true, + "Time 10": true, + "Time 2": true, + "Time 3": true, + "Time 4": true, + "Time 5": true, + "Time 6": true, + "Time 7": true, + "Time 8": true, + "Time 9": true, + "__name__": true, + "__name__ 2": true, + "__name__ 3": true, + "__name__ 4": true, + "__name__ 5": true, + "device": false, + "device 10": true, + "device 2": true, + "device 3": true, + "device 4": false, + "device 5": true, + "device 6": true, + "device 7": true, + "device 8": true, + "device 9": true, + "group 1": true, + "group 10": true, + "group 2": true, + "group 3": true, + "group 4": false, + "group 5": true, + "group 6": true, + "group 7": true, + "group 8": true, + "group 9": true, + "host 1": true, + "host 10": true, + "host 2": true, + "host 3": true, + "host 4": false, + "host 5": true, + "host 6": true, + "host 7": true, + "host 8": true, + "host 9": true, + "job": true, + "job 10": true, + "job 2": true, + "job 3": true, + "job 4": true, + "job 5": true, + "job 6": true, + "job 7": true, + "job 8": true, + "job 9": true + }, + "indexByName": { + "Time 1": 3, + "Time 10": 60, + "Time 2": 11, + "Time 3": 18, + "Time 4": 25, + "Time 5": 29, + "Time 6": 36, + "Time 7": 42, + "Time 8": 48, + "Time 9": 54, + "Value #LAN RX": 28, + "Value #LAN RX Speed": 59, + "Value #LAN TX": 24, + "Value #LAN TX Speed": 53, + "Value #LAN Traffic Total": 35, + "Value #WAN RX": 17, + "Value #WAN RX Speed": 47, + "Value #WAN TX": 10, + "Value #WAN TX Speed": 41, + "Value #WAN Traffic Total": 34, + "__name__ 1": 4, + "__name__ 2": 12, + "__name__ 3": 19, + "__name__ 4": 26, + "device 1": 5, + "device 10": 61, + "device 2": 13, + "device 3": 20, + "device 4": 6, + "device 5": 30, + "device 6": 37, + "device 7": 43, + "device 8": 49, + "device 9": 55, + "group 1": 7, + "group 10": 62, + "group 2": 14, + "group 3": 21, + "group 4": 2, + "group 5": 31, + "group 6": 38, + "group 7": 44, + "group 8": 50, + "group 9": 56, + "host 1": 8, + "host 10": 63, + "host 2": 15, + "host 3": 22, + "host 4": 1, + "host 5": 32, + "host 6": 39, + "host 7": 45, + "host 8": 51, + "host 9": 57, + "instance": 0, + "job 1": 9, + "job 10": 64, + "job 2": 16, + "job 3": 23, + "job 4": 27, + "job 5": 33, + "job 6": 40, + "job 7": 46, + "job 8": 52, + "job 9": 58 + }, + "renameByName": { + "Value": "", + "Value #LAN RX": "LAN RX", + "Value #LAN RX Speed": "LAN RX Speed", + "Value #LAN TX": "LAN TX", + "Value #LAN TX Speed": "LAN TX Speed", + "Value #LAN Traffic Total": "LAN Traffic Total", + "Value #Total Trafffic": "Traffic Total", + "Value #Traffic Total": "Traffic Total", + "Value #WAN RX": "WAN RX", + "Value #WAN RX Speed": "WAN RX Speed", + "Value #WAN TX": "WAN TX", + "Value #WAN TX Speed": "WAN TX Speed", + "Value #WAN Traffic Total": "WAN Traffic Total", + "device 1": "WAN #", + "device 4": "LAN #" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100000000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red" + }, + { + "color": "#EAB839", + "value": 1000000 + }, + { + "color": "green", + "value": 10000000 + }, + { + "color": "blue", + "value": 20000000 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 6, + "x": 0, + "y": 17 + }, + "id": 313, + "options": { + "displayMode": "basic", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "max" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": {} + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.2\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "WAN - Transmit Speed Max", + "type": "bargauge" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100000000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red" + }, + { + "color": "#EAB839", + "value": 1000000 + }, + { + "color": "green", + "value": 10000000 + }, + { + "color": "blue", + "value": 20000000 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 6, + "x": 6, + "y": 17 + }, + "id": 315, + "options": { + "displayMode": "basic", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "max" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": {} + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"eth0.2\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "WAN - Receive Speed Max", + "type": "bargauge" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100000000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red" + }, + { + "color": "green", + "value": 10000 + }, + { + "color": "blue", + "value": 20000000 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 14, + "w": 6, + "x": 12, + "y": 17 + }, + "id": 332, + "options": { + "displayMode": "basic", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "max" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": {} + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"br-lan\"}[1d]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "LAN - Transmit Speed Max", + "type": "bargauge" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100000000, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "red" + }, + { + "color": "green", + "value": 10000 + }, + { + "color": "#6ED0E0", + "value": 20000000 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 14, + "w": 6, + "x": 18, + "y": 17 + }, + "id": 333, + "options": { + "displayMode": "basic", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "max" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "text": {} + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"br-lan\"}[1d]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "LAN - Receive Speed Max", + "type": "bargauge" + } + ], "title": "Network Traffic - Overview", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 10000000 - }, - { - "color": "blue", - "value": 20000000000 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 10, - "w": 6, - "x": 0, - "y": 192 - }, - "id": 247, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "repeat": null, - "targets": [ - { - "exemplar": true, - "expr": "node_network_transmit_bytes_total{device=\"eth0.2\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "WAN - Transmit Bytes Total", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 1000000000 - }, - { - "color": "blue", - "value": 20000000000 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 6, - "y": 192 - }, - "id": 249, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "node_network_receive_bytes_total{device=\"eth0.2\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "WAN - Receive Bytes Total", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 100000000, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "#EAB839", - "value": 1000000 - }, - { - "color": "green", - "value": 10000000 - }, - { - "color": "blue", - "value": 20000000 - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 12, - "y": 192 - }, - "id": 313, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "max" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.2\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "WAN - Transmit Speed Max", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 100000000, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "#EAB839", - "value": 1000000 - }, - { - "color": "green", - "value": 10000000 - }, - { - "color": "blue", - "value": 20000000 - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 10, - "w": 6, - "x": 18, - "y": 192 - }, - "id": 315, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "max" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_bytes_total{device=\"eth0.2\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "WAN - Receive Speed Max", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 20000000 - }, - { - "color": "blue", - "value": 20000000000 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 6, - "x": 0, - "y": 202 - }, - "id": 288, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "repeat": null, - "targets": [ - { - "exemplar": true, - "expr": "sum by (host)(node_network_transmit_bytes_total{device=\"br-lan\"})", - "interval": "", - "legendFormat": " {{host}}", - "refId": "A" - } - ], - "title": "LAN - Transmit Bytes Total", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 20000000 - }, - { - "color": "#6ED0E0", - "value": 20000000000 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 6, - "x": 6, - "y": 202 - }, - "id": 286, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "sum by (host)(node_network_receive_bytes_total{device=\"br-lan\"})", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "LAN - Receive Bytes Total", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 100000000, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 10000 - }, - { - "color": "blue", - "value": 20000000 - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 6, - "x": 12, - "y": 202 - }, - "id": 332, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "max" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_transmit_bytes_total{device=\"br-lan\"}[1d]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "LAN - Transmit Speed Max", - "type": "bargauge" - }, - { - "datasource": "${data_source}", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "max": 100000000, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "red", - "value": null - }, - { - "color": "green", - "value": 10000 - }, - { - "color": "#6ED0E0", - "value": 20000000 - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 6, - "x": 18, - "y": 202 - }, - "id": 333, - "options": { - "displayMode": "basic", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "max" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_bytes_total{device=\"br-lan\"}[1d]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "LAN - Receive Speed Max", - "type": "bargauge" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 216 + "y": 43 }, "id": 188, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 43 + }, + "id": 185, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "node_network_transmit_bytes_total{device=\"eth0.2\"}", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Total # eth0.2", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "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" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 43 + }, + "id": 186, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "node_network_receive_bytes_total{device=\"eth0.2\"}", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive Bytes Total # eth0.2", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 51 + }, + "id": 198, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.2\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Speed # eth0.2", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 51 + }, + "id": 199, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"eth0.2\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive Bytes Speed # eth0.2", + "type": "timeseries" + } + ], "title": "Network Traffic - WAN", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "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": "decbytes" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 217 - }, - "id": 185, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "node_network_transmit_bytes_total{device=\"eth0.2\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Total # eth0.2", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "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" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 217 - }, - "id": 186, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "node_network_receive_bytes_total{device=\"eth0.2\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Receive Bytes Total # eth0.2", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 225 - }, - "id": 198, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.2\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Speed # eth0.2", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 225 - }, - "id": 199, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_bytes_total{device=\"eth0.2\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Receive Bytes Speed # eth0.2", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 233 + "y": 44 }, "id": 26, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "id": 20, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "sum by (host)(node_network_transmit_bytes_total{device=\"br-lan\"})", + "interval": "", + "legendFormat": "{{device}} {{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Total # br-lan", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "id": 18, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "sum by (host)(node_network_receive_bytes_total{device=\"br-lan\"})", + "interval": "", + "legendFormat": "{{ host }}", + "refId": "A" + } + ], + "title": "Receive Bytes Total # br-lan", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 236, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"br-lan\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Speed # br-lan", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "id": 237, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"br-lan\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive Bytes Speed # br-lan", + "type": "timeseries" + } + ], "title": "Network Traffic - LAN", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 234 - }, - "id": 20, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "sum by (host)(node_network_transmit_bytes_total{device=\"br-lan\"})", - "interval": "", - "legendFormat": "{{device}} {{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Total # br-lan", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 234 - }, - "id": 18, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "sum by (host)(node_network_receive_bytes_total{device=\"br-lan\"})", - "interval": "", - "legendFormat": "{{ host }}", - "refId": "A" - } - ], - "title": "Receive Bytes Total # br-lan", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 242 - }, - "id": 236, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_transmit_bytes_total{device=\"br-lan\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Speed # br-lan", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 242 - }, - "id": 237, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_bytes_total{device=\"br-lan\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Receive Bytes Speed # br-lan", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 250 + "y": 45 }, "id": 201, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 210, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "node_network_transmit_bytes_total{device=\"eth0.1\"}", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Total # eth0.1", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "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" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 211, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "pluginVersion": "8.1.8", + "targets": [ + { + "exemplar": true, + "expr": "node_network_receive_bytes_total{device=\"eth0.1\"}", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive Bytes Total # eth0.1", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 17 + }, + "id": 206, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.1\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Speed # eth0.1", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 17 + }, + "id": 207, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"eth0.1\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive Bytes Speed # eth0.1", + "type": "timeseries" + } + ], "title": "Network Traffic - LAN - Ethernet only", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "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": "decbytes" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 251 - }, - "id": 210, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "node_network_transmit_bytes_total{device=\"eth0.1\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Total # eth0.1", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "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" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 251 - }, - "id": 211, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "targets": [ - { - "exemplar": true, - "expr": "node_network_receive_bytes_total{device=\"eth0.1\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Receive Bytes Total # eth0.1", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 259 - }, - "id": 206, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_transmit_bytes_total{device=\"eth0.1\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Speed # eth0.1", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 259 - }, - "id": 207, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_bytes_total{device=\"eth0.1\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Receive Bytes Speed # eth0.1", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 267 + "y": 46 }, "id": 190, - "panels": [], + "panels": [ + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 10 + }, + "id": 4, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "node_network_transmit_bytes_total{device=\"wlan0-mesh\"}", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Total # wlan0-mesh", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 10 + }, + "id": 2, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "node_network_receive_bytes_total{device=\"wlan0-mesh\"}", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive bytes total # wlan0-mesh", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 1, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 194, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_transmit_bytes_total{device=\"wlan0-mesh\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Transmit Bytes Speed # wlan0-mesh", + "type": "timeseries" + }, + { + "datasource": { + "uid": "${data_source}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 195, + "options": { + "legend": { + "calcs": [ + "mean", + "max" + ], + "displayMode": "table", + "placement": "right" + }, + "tooltip": { + "mode": "single" + } + }, + "targets": [ + { + "exemplar": true, + "expr": "irate(node_network_receive_bytes_total{device=\"wlan0-mesh\"}[1m]) * 8", + "interval": "", + "legendFormat": "{{host}}", + "refId": "A" + } + ], + "title": "Receive Bytes Speed # wlan0-mesh", + "type": "timeseries" + } + ], "title": "Network Traffic - LAN - Wifi only", "type": "row" }, { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "83tqawank" }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 268 - }, - "id": 4, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "node_network_transmit_bytes_total{device=\"wlan0-mesh\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "timeFrom": null, - "title": "Transmit Bytes Total # wlan0-mesh", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 268 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "last", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "node_network_receive_bytes_total{device=\"wlan0-mesh\"}", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Receive bytes total # wlan0-mesh", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 276 - }, - "id": 194, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_transmit_bytes_total{device=\"wlan0-mesh\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Transmit Bytes Speed # wlan0-mesh", - "type": "timeseries" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "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": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 276 - }, - "id": 195, - "interval": null, - "options": { - "legend": { - "calcs": [ - "mean", - "max" - ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "targets": [ - { - "exemplar": true, - "expr": "irate(node_network_receive_bytes_total{device=\"wlan0-mesh\"}[1m]) * 8", - "interval": "", - "legendFormat": "{{host}}", - "refId": "A" - } - ], - "title": "Receive Bytes Speed # wlan0-mesh", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 284 + "y": 47 }, "id": 213, - "panels": [], - "title": "Network Traffic - Details - Transmit", - "type": "row" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "panels": [ + { + "datasource": { + "uid": "${data_source}" }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 11 + }, + "id": 215, + "maxPerRow": 2, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 285 - }, - "id": 215, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [ - "last", - "max" + "repeat": "name", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "node_network_transmit_bytes_total{host=\"$name\"}", + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + } ], - "displayMode": "table", - "placement": "right" + "title": "$name - Transmit Bytes Total", + "type": "timeseries" }, - "tooltip": { - "mode": "single" - } - }, - "repeat": "name", - "repeatDirection": "h", - "targets": [ { - "exemplar": true, - "expr": "node_network_transmit_bytes_total{host=\"$name\"}", - "interval": "", - "legendFormat": "{{device}}", - "refId": "A" - } - ], - "title": "$name - Transmit Bytes Total", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 317 - }, - "id": 224, - "panels": [], - "title": "Network Traffic - Details - Receive", - "type": "row" - }, - { - "datasource": "${data_source}", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "datasource": { + "uid": "${data_source}" }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 11 + }, + "id": 233, + "options": { + "legend": { + "calcs": [ + "last", + "max" + ], + "displayMode": "table", + "placement": "right" }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" + "tooltip": { + "mode": "single" } }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "decbytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 318 - }, - "id": 233, - "maxPerRow": 2, - "options": { - "legend": { - "calcs": [ - "last", - "max" + "pluginVersion": "8.1.8", + "repeat": "name", + "repeatDirection": "v", + "targets": [ + { + "exemplar": true, + "expr": "node_network_receive_bytes_total{host=\"$name\"}", + "interval": "", + "legendFormat": "{{device}}", + "refId": "A" + } ], - "displayMode": "table", - "placement": "right" - }, - "tooltip": { - "mode": "single" - } - }, - "pluginVersion": "8.1.8", - "repeat": "name", - "repeatDirection": "h", - "targets": [ - { - "exemplar": true, - "expr": "node_network_receive_bytes_total{host=\"$name\"}", - "interval": "", - "legendFormat": "{{device}}", - "refId": "A" + "title": "$name - Receive Bytes Total", + "type": "timeseries" } ], - "timeFrom": null, - "timeShift": null, - "title": "$name - Receive Bytes Total", - "type": "timeseries" + "title": "Network Traffic - Details", + "type": "row" } ], "refresh": false, - "schemaVersion": 30, + "schemaVersion": 36, "style": "dark", "tags": [], "templating": { "list": [ { - "description": null, - "error": null, - "hide": 2, - "label": "Job", - "name": "job", - "query": "prometheus", - "skipUrlSync": false, - "type": "constant" - }, - { - "allValue": null, "current": { "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] + "text": "Prometheus valsamoggia", + "value": "Prometheus valsamoggia" }, - "datasource": "${data_source}", - "definition": "label_values(node_uname_info{job=~\"$job\", group=\"mesh_stations\"}, host)", - "description": null, - "error": null, - "hide": 2, - "includeAll": true, - "label": "Host:", - "multi": true, - "name": "name", + "description": "", + "hide": 0, + "includeAll": false, + "label": "Data source", + "multi": false, + "name": "data_source", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "current": { + "selected": false, + "text": "prometheus", + "value": "prometheus" + }, + "datasource": { + "type": "prometheus", + "uid": "${data_source}" + }, + "definition": "label_values(up, job)", + "hide": 0, + "includeAll": false, + "label": "Job", + "multi": false, + "name": "job", "options": [], "query": { - "query": "label_values(node_uname_info{job=~\"$job\", group=\"mesh_stations\"}, host)", + "query": "label_values(up, job)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, - "sort": 1, + "sort": 0, + "type": "query" + }, + { + "current": { + "selected": true, + "text": "All", + "value": "$__all" + }, + "datasource": { + "type": "prometheus", + "uid": "${data_source}" + }, + "definition": "label_values(node_uname_info{job=~\"$job\"}, nodename)", + "hide": 0, + "includeAll": true, + "label": "Host: ", + "multi": false, + "name": "name", + "options": [], + "query": { + "query": "label_values(node_uname_info{job=~\"$job\"}, nodename)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, "type": "query" }, { - "allValue": null, "current": { "selected": true, "text": [ @@ -4111,10 +4863,11 @@ "$__all" ] }, - "datasource": "${data_source}", + "datasource": { + "type": "prometheus", + "uid": "${data_source}" + }, "definition": "label_values(node_uname_info{nodename=~\"$name\"}, instance)", - "description": null, - "error": null, "hide": 2, "includeAll": true, "label": "WIFI Host:", @@ -4133,34 +4886,40 @@ }, { "current": { - "selected": false, - "text": "Prometheus croara", - "value": "Prometheus croara" + "selected": true, + "text": "All", + "value": "$__all" }, - "description": "", - "error": null, + "datasource": { + "type": "prometheus", + "uid": "${data_source}" + }, + "definition": "label_values(node_uname_info{job=~\"$job\", group=\"mesh_stations\"}, host)", "hide": 0, - "includeAll": false, - "label": "Data source", + "includeAll": true, "multi": false, - "name": "data_source", + "name": "mesh_stations", "options": [], - "query": "prometheus", - "queryValue": "", + "query": { + "query": "label_values(node_uname_info{job=~\"$job\", group=\"mesh_stations\"}, host)", + "refId": "StandardVariableQuery" + }, "refresh": 1, "regex": "", "skipUrlSync": false, - "type": "datasource" + "sort": 0, + "type": "query" } ] }, "time": { - "from": "now-1h", + "from": "now-2d", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Panoramica Nodi", - "uid": "m0Xg9FLnz", - "version": 3 + "uid": "m0Xg9FLnz_prod", + "version": 25, + "weekStart": "" } diff --git a/openwrt_single-device.json b/panoramica_nodo.json similarity index 100% rename from openwrt_single-device.json rename to panoramica_nodo.json