From d133d17c12aae7f7eb61c97ef36a6e8c18c17e6d Mon Sep 17 00:00:00 2001 From: Leon Morten Richter Date: Tue, 30 Apr 2024 12:28:23 +0200 Subject: [PATCH 1/3] feat: adds min, max, mean for bandwidth --- .../dashboards/mikrotik/monitor.json | 211 ++++++++++++------ 1 file changed, 143 insertions(+), 68 deletions(-) diff --git a/grafana/provisioning/dashboards/mikrotik/monitor.json b/grafana/provisioning/dashboards/mikrotik/monitor.json index ac322e2..6f2c3c5 100644 --- a/grafana/provisioning/dashboards/mikrotik/monitor.json +++ b/grafana/provisioning/dashboards/mikrotik/monitor.json @@ -84,7 +84,8 @@ } ] }, - "unit": "none" + "unit": "none", + "unitScale": true }, "overrides": [] }, @@ -109,10 +110,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "name" + "textMode": "name", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { @@ -151,7 +154,8 @@ "value": 80 } ] - } + }, + "unitScale": true }, "overrides": [] }, @@ -174,9 +178,11 @@ "fields": "", "values": false }, - "textMode": "name" + "showPercentChange": false, + "textMode": "name", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { @@ -222,7 +228,8 @@ } ] }, - "unit": "none" + "unit": "none", + "unitScale": true }, "overrides": [] }, @@ -247,10 +254,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "name" + "textMode": "name", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { @@ -295,7 +304,8 @@ } ] }, - "unit": "dtdurations" + "unit": "dtdurations", + "unitScale": true }, "overrides": [] }, @@ -320,10 +330,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "auto" + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "application": { @@ -388,7 +400,8 @@ } ] }, - "unit": "none" + "unit": "none", + "unitScale": true }, "overrides": [] }, @@ -413,10 +426,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "name" + "textMode": "name", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "application": { @@ -476,7 +491,8 @@ "value": 1 } ] - } + }, + "unitScale": true }, "overrides": [] }, @@ -499,9 +515,11 @@ "fields": "", "values": true }, - "textMode": "name" + "showPercentChange": false, + "textMode": "name", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { @@ -541,7 +559,8 @@ } ] }, - "unit": "volt" + "unit": "volt", + "unitScale": true }, "overrides": [] }, @@ -566,10 +585,12 @@ "fields": "", "values": false }, + "showPercentChange": false, "text": {}, - "textMode": "value" + "textMode": "value", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "application": { @@ -628,7 +649,8 @@ "value": 80 } ] - } + }, + "unitScale": true }, "overrides": [] }, @@ -651,9 +673,11 @@ "fields": "", "values": false }, - "textMode": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { @@ -708,7 +732,8 @@ } ] }, - "unit": "celsius" + "unit": "celsius", + "unitScale": true }, "overrides": [] }, @@ -720,6 +745,8 @@ }, "id": 59, "options": { + "minVizHeight": 75, + "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ @@ -730,9 +757,10 @@ }, "showThresholdLabels": false, "showThresholdMarkers": true, + "sizing": "auto", "text": {} }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { @@ -784,7 +812,8 @@ } ] }, - "unit": "percent" + "unit": "percent", + "unitScale": true }, "overrides": [] }, @@ -799,8 +828,10 @@ "maxDataPoints": 100, "options": { "displayMode": "lcd", + "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -810,9 +841,11 @@ "values": false }, "showUnfilled": true, - "text": {} + "sizing": "auto", + "text": {}, + "valueMode": "color" }, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "targets": [ { "application": { @@ -881,7 +914,8 @@ "error": false, "fieldConfig": { "defaults": { - "links": [] + "links": [], + "unitScale": true }, "overrides": [] }, @@ -915,7 +949,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1005,7 +1039,8 @@ "error": false, "fieldConfig": { "defaults": { - "links": [] + "links": [], + "unitScale": true }, "overrides": [] }, @@ -1038,7 +1073,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "9.3.6", + "pluginVersion": "10.3.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1166,6 +1201,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1179,6 +1215,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, @@ -1210,12 +1247,13 @@ } ] }, - "unit": "bps" + "unit": "bps", + "unitScale": true }, "overrides": [] }, "gridPos": { - "h": 7, + "h": 8, "w": 24, "x": 0, "y": 11 @@ -1224,9 +1262,13 @@ "links": [], "options": { "legend": { - "calcs": [], - "displayMode": "list", - "placement": "right", + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", "showLegend": true }, "tooltip": { @@ -1243,6 +1285,7 @@ "datasource": { "type": "prometheus" }, + "editorMode": "code", "exemplar": true, "expr": " rate(mktxp_interface_rx_byte_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8 != 0", "format": "time_series", @@ -1312,6 +1355,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1325,6 +1369,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -1358,7 +1403,8 @@ } ] }, - "unit": "pps" + "unit": "pps", + "unitScale": true }, "overrides": [] }, @@ -1366,7 +1412,7 @@ "h": 8, "w": 12, "x": 0, - "y": 18 + "y": 19 }, "id": 92, "options": { @@ -1407,6 +1453,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1420,6 +1467,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1450,7 +1498,8 @@ } ] }, - "unit": "pps" + "unit": "pps", + "unitScale": true }, "overrides": [] }, @@ -1458,7 +1507,7 @@ "h": 8, "w": 12, "x": 12, - "y": 18 + "y": 19 }, "id": 94, "options": { @@ -1494,7 +1543,7 @@ "h": 1, "w": 24, "x": 0, - "y": 26 + "y": 27 }, "id": 131, "panels": [], @@ -1513,6 +1562,7 @@ "seriesBy": "last" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1526,6 +1576,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1556,7 +1607,8 @@ } ] }, - "unit": "s" + "unit": "s", + "unitScale": true }, "overrides": [] }, @@ -1564,7 +1616,7 @@ "h": 8, "w": 12, "x": 0, - "y": 27 + "y": 28 }, "id": 129, "options": { @@ -1612,6 +1664,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1625,6 +1678,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1655,7 +1709,8 @@ } ] }, - "unit": "s" + "unit": "s", + "unitScale": true }, "overrides": [] }, @@ -1663,7 +1718,7 @@ "h": 8, "w": 12, "x": 12, - "y": 27 + "y": 28 }, "id": 135, "options": { @@ -1706,6 +1761,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1719,6 +1775,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1749,7 +1806,8 @@ } ] }, - "unit": "percent" + "unit": "percent", + "unitScale": true }, "overrides": [] }, @@ -1757,7 +1815,7 @@ "h": 6, "w": 24, "x": 0, - "y": 35 + "y": 36 }, "id": 133, "options": { @@ -1800,7 +1858,7 @@ "h": 1, "w": 24, "x": 0, - "y": 41 + "y": 42 }, "id": 2, "panels": [ @@ -1904,7 +1962,9 @@ }, "custom": { "align": "center", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "filterable": false, "inspect": false }, @@ -2183,7 +2243,7 @@ "h": 1, "w": 24, "x": 0, - "y": 42 + "y": 43 }, "id": 45, "panels": [ @@ -2642,7 +2702,9 @@ "defaults": { "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "filterable": false, "inspect": false }, @@ -2732,7 +2794,9 @@ }, "custom": { "align": "center", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "filterable": false, "inspect": false }, @@ -2926,7 +2990,7 @@ "h": 1, "w": 24, "x": 0, - "y": 43 + "y": 44 }, "id": 84, "panels": [ @@ -3757,7 +3821,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -3875,7 +3941,7 @@ "h": 1, "w": 24, "x": 0, - "y": 44 + "y": 45 }, "id": 90, "panels": [ @@ -4003,7 +4069,9 @@ }, "custom": { "align": "center", - "displayMode": "color-text", + "cellOptions": { + "type": "color-text" + }, "filterable": false, "inspect": false }, @@ -4161,7 +4229,7 @@ "h": 1, "w": 24, "x": 0, - "y": 45 + "y": 46 }, "id": 29, "panels": [ @@ -4369,7 +4437,9 @@ }, "custom": { "align": "center", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "filterable": false, "inspect": false }, @@ -5140,7 +5210,7 @@ "h": 1, "w": 24, "x": 0, - "y": 46 + "y": 47 }, "id": 33, "panels": [ @@ -5152,7 +5222,9 @@ "defaults": { "custom": { "align": "center", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "filterable": false, "inspect": false }, @@ -5287,7 +5359,9 @@ }, "custom": { "align": "center", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "filterable": false, "inspect": false }, @@ -5553,7 +5627,9 @@ }, "custom": { "align": "auto", - "displayMode": "auto", + "cellOptions": { + "type": "auto" + }, "inspect": false }, "mappings": [], @@ -6047,7 +6123,7 @@ "h": 1, "w": 24, "x": 0, - "y": 47 + "y": 48 }, "id": 125, "panels": [ @@ -6202,7 +6278,7 @@ "h": 1, "w": 24, "x": 0, - "y": 48 + "y": 49 }, "id": 80, "panels": [ @@ -6721,8 +6797,7 @@ } ], "refresh": "10s", - "schemaVersion": 37, - "style": "dark", + "schemaVersion": 39, "tags": [ "mikrotik", "dashboard", From 9eaa7519a4ba95409bfa191482fa80d1de7fb21a Mon Sep 17 00:00:00 2001 From: Leon Morten Richter Date: Tue, 30 Apr 2024 13:13:44 +0200 Subject: [PATCH 2/3] feat: adds total network inbound/outbound --- .../dashboards/mikrotik/monitor.json | 1276 +++++++++++------ 1 file changed, 819 insertions(+), 457 deletions(-) diff --git a/grafana/provisioning/dashboards/mikrotik/monitor.json b/grafana/provisioning/dashboards/mikrotik/monitor.json index 6f2c3c5..e0e7460 100644 --- a/grafana/provisioning/dashboards/mikrotik/monitor.json +++ b/grafana/provisioning/dashboards/mikrotik/monitor.json @@ -1,4 +1,71 @@ { + "__inputs": [ + { + "name": "DS_PROMETHEUS", + "label": "Prometheus", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "panel", + "id": "bargauge", + "name": "Bar gauge", + "version": "" + }, + { + "type": "panel", + "id": "flant-statusmap-panel", + "name": "Statusmap", + "version": "0.5.1" + }, + { + "type": "panel", + "id": "gauge", + "name": "Gauge", + "version": "" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "10.3.1" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph (old)", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], "annotations": { "list": [ { @@ -26,7 +93,7 @@ "fiscalYearStartMonth": 0, "gnetId": 13679, "graphTooltip": 0, - "id": 1, + "id": null, "links": [], "liveNow": false, "panels": [ @@ -56,7 +123,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -119,7 +187,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_system_identity_info{routerboard_address=\"$node\"}", "instant": true, @@ -133,7 +202,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "Public IP address of the networking device.", "fieldConfig": { @@ -186,7 +256,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "mktxp_public_ip_address_info{routerboard_address=\"$node\"}", @@ -200,7 +271,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -263,7 +335,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "instant": true, @@ -277,7 +350,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -342,7 +416,8 @@ "filter": "General" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "format": "time_series", @@ -373,7 +448,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -438,7 +514,8 @@ "filter": "General" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "format": "time_series", @@ -470,7 +547,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "The newest available version", "fieldConfig": { @@ -524,7 +601,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, @@ -540,7 +617,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -597,7 +675,8 @@ "filter": "General" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_system_routerboard_voltage{routerboard_address=\"$node\"}", "format": "time_series", @@ -629,7 +708,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -682,7 +761,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, @@ -700,85 +779,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "fieldConfig": { - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "green", - "value": 30 - }, - { - "color": "yellow", - "value": 40 - }, - { - "color": "orange", - "value": 60 - }, - { - "color": "red", - "value": 70 - } - ] - }, - "unit": "celsius", - "unitScale": true - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 2, - "x": 0, - "y": 3 - }, - "id": 59, - "options": { - "minVizHeight": 75, - "minVizWidth": 75, - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true, - "sizing": "auto", - "text": {} - }, - "pluginVersion": "10.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus" - }, - "expr": "mktxp_system_routerboard_temperature{routerboard_address=\"$node\"} or mktxp_system_cpu_temperature{routerboard_address=\"$node\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Temperature", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -818,9 +819,9 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 6, "w": 4, - "x": 2, + "x": 0, "y": 3 }, "id": 14, @@ -852,7 +853,8 @@ "filter": "Memory" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "(1 - mktxp_system_free_memory{routerboard_address=\"$node\"} / mktxp_system_total_memory{routerboard_address=\"$node\"})*100", "format": "time_series", @@ -879,7 +881,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}", "instant": true, @@ -889,7 +892,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "(1 - mktxp_system_free_hdd_space{routerboard_address=\"$node\"} / mktxp_system_total_hdd_space{routerboard_address=\"$node\"})*100", "instant": true, @@ -900,6 +904,470 @@ ], "type": "bargauge" }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "green", + "value": 30 + }, + { + "color": "yellow", + "value": 40 + }, + { + "color": "orange", + "value": 60 + }, + { + "color": "red", + "value": 70 + } + ] + }, + "unit": "celsius", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 4, + "y": 3 + }, + "id": 59, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto", + "text": {} + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "expr": "mktxp_system_routerboard_temperature{routerboard_address=\"$node\"} or mktxp_system_cpu_temperature{routerboard_address=\"$node\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Temperature", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "semi-dark-green", + "mode": "fixed" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "semi-dark-green", + "value": "" + }, + { + "color": "dark-green", + "value": "" + } + ] + }, + "unit": "bps", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 8, + "y": 3 + }, + "id": 141, + "options": { + "minVizHeight": 75, + "minVizWidth": 85, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": false, + "sizing": "auto" + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(rate(mktxp_interface_rx_byte_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8)", + "instant": false, + "legendFormat": "{{name}}", + "range": true, + "refId": "A" + } + ], + "title": "Total Network Inbound", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "orange", + "value": null + } + ] + }, + "unit": "bps", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 12, + "y": 3 + }, + "id": 142, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": false, + "sizing": "auto" + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8)", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Total Network Outbound", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "blue", + "mode": "shades" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 8, + "x": 16, + "y": 3 + }, + "id": 140, + "options": { + "displayMode": "lcd", + "maxVizHeight": 300, + "minVizHeight": 16, + "minVizWidth": 8, + "namePlacement": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "valueMode": "color" + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": " sort_desc(mktxp_interface_rx_byte_total{routerboard_address=\"$node\"})", + "instant": true, + "legendFormat": "{{name}}", + "range": false, + "refId": "A" + } + ], + "title": "Rx Bytes Total", + "transformations": [], + "type": "bargauge" + }, + { + "aliasColors": { + "Total memory": "#E24D42", + "Used memory": "#1F78C1" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unitScale": true + }, + "overrides": [] + }, + "fill": 5, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 9 + }, + "hiddenSeries": false, + "id": 18, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "paceLength": 10, + "percentage": false, + "pluginVersion": "10.3.1", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "$$hashKey": "object:743", + "alias": "Total memory", + "color": "#E24D42", + "fill": 2, + "linewidth": 0, + "zindex": -3 + }, + { + "$$hashKey": "object:744", + "alias": "Used memory", + "color": "#1F78C1" + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "application": { + "filter": "Memory" + }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"} - mktxp_system_free_hdd_space{routerboard_address=\"$node\"}", + "format": "time_series", + "functions": [], + "group": { + "filter": "Network" + }, + "host": { + "filter": "MikroTik Router" + }, + "instant": false, + "interval": "", + "intervalFactor": 1, + "item": { + "filter": "Used memory" + }, + "legendFormat": "Used memory", + "mode": 0, + "options": { + "showDisabledItems": false + }, + "refId": "A" + }, + { + "application": { + "filter": "Memory" + }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"}", + "format": "time_series", + "functions": [], + "group": { + "filter": "Network" + }, + "host": { + "filter": "MikroTik Router" + }, + "instant": false, + "interval": "", + "intervalFactor": 1, + "item": { + "filter": "Total memory" + }, + "legendFormat": "Total memory", + "mode": 0, + "options": { + "showDisabledItems": false + }, + "refId": "B" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "HDD Utilization", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:365", + "format": "decbytes", + "logBase": 1, + "min": "0", + "show": true + }, + { + "$$hashKey": "object:366", + "format": "short", + "logBase": 1, + "show": false + } + ], + "yaxis": { + "align": false + } + }, { "aliasColors": { "ARM": "green" @@ -908,7 +1376,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "editable": true, "error": false, @@ -923,9 +1392,9 @@ "fillGradient": 0, "gridPos": { "h": 8, - "w": 8, - "x": 6, - "y": 3 + "w": 12, + "x": 12, + "y": 9 }, "hiddenSeries": false, "id": 16, @@ -963,7 +1432,8 @@ "filter": "CPU" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}", @@ -1024,175 +1494,10 @@ "align": false } }, - { - "aliasColors": { - "Total memory": "#E24D42", - "Used memory": "#1F78C1" - }, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus" - }, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [], - "unitScale": true - }, - "overrides": [] - }, - "fill": 5, - "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 10, - "x": 14, - "y": 3 - }, - "hiddenSeries": false, - "id": 18, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "10.3.1", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "$$hashKey": "object:743", - "alias": "Total memory", - "color": "#E24D42", - "fill": 2, - "linewidth": 0, - "zindex": -3 - }, - { - "$$hashKey": "object:744", - "alias": "Used memory", - "color": "#1F78C1" - } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "application": { - "filter": "Memory" - }, - "datasource": { - "type": "prometheus" - }, - "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"} - mktxp_system_free_hdd_space{routerboard_address=\"$node\"}", - "format": "time_series", - "functions": [], - "group": { - "filter": "Network" - }, - "host": { - "filter": "MikroTik Router" - }, - "instant": false, - "interval": "", - "intervalFactor": 1, - "item": { - "filter": "Used memory" - }, - "legendFormat": "Used memory", - "mode": 0, - "options": { - "showDisabledItems": false - }, - "refId": "A" - }, - { - "application": { - "filter": "Memory" - }, - "datasource": { - "type": "prometheus" - }, - "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"}", - "format": "time_series", - "functions": [], - "group": { - "filter": "Network" - }, - "host": { - "filter": "MikroTik Router" - }, - "instant": false, - "interval": "", - "intervalFactor": 1, - "item": { - "filter": "Total memory" - }, - "legendFormat": "Total memory", - "mode": 0, - "options": { - "showDisabledItems": false - }, - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "HDD Utilization", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:365", - "format": "decbytes", - "logBase": 1, - "min": "0", - "show": true - }, - { - "$$hashKey": "object:366", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } - }, { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -1256,7 +1561,7 @@ "h": 8, "w": 24, "x": 0, - "y": 11 + "y": 17 }, "id": 75, "links": [], @@ -1283,7 +1588,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": true, @@ -1315,7 +1621,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "- rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8 != 0", @@ -1347,7 +1654,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1394,8 +1701,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1412,7 +1718,7 @@ "h": 8, "w": 12, "x": 0, - "y": 19 + "y": 25 }, "id": 92, "options": { @@ -1430,7 +1736,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "rate(mktxp_interface_rx_packet_total{routerboard_address=\"$node\"}[$__rate_interval]) != 0", @@ -1445,7 +1752,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1489,8 +1796,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1507,7 +1813,7 @@ "h": 8, "w": 12, "x": 12, - "y": 19 + "y": 25 }, "id": 94, "options": { @@ -1525,7 +1831,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "rate(mktxp_interface_tx_packet_total{routerboard_address=\"$node\"}[$__rate_interval]) != 0", @@ -1543,7 +1850,7 @@ "h": 1, "w": 24, "x": 0, - "y": 27 + "y": 33 }, "id": 131, "panels": [], @@ -1553,7 +1860,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1598,8 +1905,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1616,7 +1922,7 @@ "h": 8, "w": 12, "x": 0, - "y": 28 + "y": 34 }, "id": 129, "options": { @@ -1640,7 +1946,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(rate(probe_icmp_duration_seconds{phase=\"rtt\"}[$__rate_interval])) by (instance)\n", @@ -1656,7 +1962,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1700,8 +2006,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1718,7 +2023,7 @@ "h": 8, "w": 12, "x": 12, - "y": 28 + "y": 34 }, "id": 135, "options": { @@ -1737,7 +2042,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sum(rate(probe_icmp_duration_seconds{phase=\"resolve\"}[$__rate_interval])) by (instance)", @@ -1753,7 +2058,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -1797,8 +2102,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1815,7 +2119,7 @@ "h": 6, "w": 24, "x": 0, - "y": 36 + "y": 42 }, "id": 133, "options": { @@ -1834,7 +2138,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, @@ -1858,13 +2162,14 @@ "h": 1, "w": 24, "x": 0, - "y": 42 + "y": 48 }, "id": 2, "panels": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -1896,7 +2201,7 @@ "h": 8, "w": 5, "x": 0, - "y": 89 + "y": 129 }, "id": 20, "links": [], @@ -1922,7 +2227,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"}", "format": "time_series", @@ -1953,7 +2259,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2060,7 +2367,7 @@ "h": 11, "w": 19, "x": 5, - "y": 89 + "y": 129 }, "id": 25, "options": { @@ -2083,7 +2390,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_dhcp_lease_info{routerboard_address=\"$node\"}", "format": "table", @@ -2135,7 +2443,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2167,7 +2476,7 @@ "h": 3, "w": 5, "x": 0, - "y": 97 + "y": 137 }, "id": 23, "links": [], @@ -2193,7 +2502,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "sum(mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"})", "format": "time_series", @@ -2243,13 +2553,14 @@ "h": 1, "w": 24, "x": 0, - "y": 43 + "y": 49 }, "id": 45, "panels": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2291,7 +2602,7 @@ "h": 5, "w": 2, "x": 0, - "y": 90 + "y": 130 }, "id": 70, "options": { @@ -2311,7 +2622,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_routes_total_routes{routerboard_address=\"$node\"}", "format": "time_series", @@ -2326,7 +2638,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2351,7 +2664,7 @@ "h": 5, "w": 4, "x": 2, - "y": 90 + "y": 130 }, "id": 71, "links": [], @@ -2377,7 +2690,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_routes_protocol_count{routerboard_address=\"$node\"}", "format": "time_series", @@ -2408,7 +2722,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2450,7 +2765,7 @@ "h": 5, "w": 6, "x": 6, - "y": 90 + "y": 130 }, "id": 69, "options": { @@ -2472,7 +2787,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_interface_full_duplex{routerboard_address=\"$node\"}", "format": "time_series", @@ -2491,7 +2807,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "editable": true, "error": false, @@ -2507,7 +2824,7 @@ "h": 16, "w": 12, "x": 12, - "y": 90 + "y": 130 }, "hiddenSeries": false, "id": 55, @@ -2545,7 +2862,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_interface_rx_error_total{routerboard_address=\"$node\"}", "format": "time_series", @@ -2571,7 +2889,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_interface_tx_error_total{routerboard_address=\"$node\"}", "format": "time_series", @@ -2617,7 +2936,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -2659,7 +2979,7 @@ "h": 7, "w": 6, "x": 0, - "y": 95 + "y": 135 }, "id": 51, "options": { @@ -2681,7 +3001,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_interface_status{routerboard_address=\"$node\"}", "format": "time_series", @@ -2696,7 +3017,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2729,7 +3051,7 @@ "h": 7, "w": 6, "x": 6, - "y": 95 + "y": 135 }, "id": 53, "options": { @@ -2746,7 +3068,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_interface_rate{routerboard_address=\"$node\"}", "format": "table", @@ -2785,7 +3108,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -2892,7 +3216,7 @@ "h": 4, "w": 12, "x": 0, - "y": 102 + "y": 142 }, "id": 85, "options": { @@ -2915,7 +3239,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_poe_info{routerboard_address=\"$node\"}", "format": "table", @@ -2990,7 +3315,7 @@ "h": 1, "w": 24, "x": 0, - "y": 44 + "y": 50 }, "id": 84, "panels": [ @@ -3003,7 +3328,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "editable": true, @@ -3021,7 +3347,7 @@ "h": 7, "w": 12, "x": 0, - "y": 83 + "y": 123 }, "hiddenSeries": false, "id": 81, @@ -3061,7 +3387,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\", log=\"1\"}[4m])", "format": "time_series", @@ -3130,7 +3457,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "editable": true, @@ -3148,7 +3476,7 @@ "h": 7, "w": 12, "x": 12, - "y": 83 + "y": 123 }, "hiddenSeries": false, "id": 82, @@ -3188,7 +3516,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\", log=\"1\"}[4m])", "format": "time_series", @@ -3251,7 +3580,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -3310,7 +3639,7 @@ "h": 15, "w": 12, "x": 0, - "y": 90 + "y": 130 }, "id": 106, "options": { @@ -3335,7 +3664,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "rate(mktxp_firewall_filter_ipv6_total{routerboard_address=\"$node\"}[$__rate_interval])", @@ -3350,7 +3679,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3411,7 +3740,7 @@ "h": 15, "w": 12, "x": 12, - "y": 90 + "y": 130 }, "id": 43, "links": [], @@ -3440,7 +3769,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\"}[$__rate_interval])", "format": "time_series", @@ -3472,7 +3802,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3549,7 +3879,7 @@ "h": 6, "w": 24, "x": 0, - "y": 105 + "y": 145 }, "id": 76, "links": [], @@ -3576,7 +3906,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\"}[$__rate_interval])", "format": "time_series", @@ -3614,7 +3945,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "decimals": 0, "fieldConfig": { @@ -3630,7 +3962,7 @@ "h": 7, "w": 12, "x": 0, - "y": 111 + "y": 151 }, "hiddenSeries": false, "id": 27, @@ -3664,7 +3996,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_internet_bandwidth", "instant": false, @@ -3715,7 +4048,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "decimals": 0, "fieldConfig": { @@ -3731,7 +4065,7 @@ "h": 7, "w": 12, "x": 12, - "y": 111 + "y": 151 }, "hiddenSeries": false, "id": 74, @@ -3765,7 +4099,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_internet_latency", "instant": false, @@ -3811,7 +4146,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "Shows active users on all monitored devices.", "fieldConfig": { @@ -3846,7 +4181,7 @@ "h": 7, "w": 24, "x": 0, - "y": 118 + "y": 158 }, "id": 127, "options": { @@ -3872,7 +4207,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, @@ -3941,7 +4276,7 @@ "h": 1, "w": 24, "x": 0, - "y": 45 + "y": 51 }, "id": 90, "panels": [ @@ -3974,14 +4309,15 @@ ] }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 61 + "y": 101 }, "hideBranding": false, "highlightCards": true, @@ -4003,7 +4339,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "max_over_time(mktxp_netwatch_status{routerboard_address=\"$node\"}[1m])", "format": "time_series", @@ -4060,7 +4397,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -4133,7 +4471,7 @@ "h": 8, "w": 12, "x": 12, - "y": 61 + "y": 101 }, "id": 88, "options": { @@ -4151,7 +4489,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_netwatch_info{routerboard_address=\"$node\"}", "format": "table", @@ -4229,7 +4568,7 @@ "h": 1, "w": 24, "x": 0, - "y": 46 + "y": 52 }, "id": 29, "panels": [ @@ -4239,7 +4578,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -4253,7 +4593,7 @@ "h": 8, "w": 12, "x": 0, - "y": 93 + "y": 133 }, "hiddenSeries": false, "id": 31, @@ -4287,7 +4627,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_noise_floor{routerboard_address=\"$node\"}", "interval": "", @@ -4334,7 +4675,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "decimals": 2, "fieldConfig": { @@ -4349,7 +4691,7 @@ "h": 8, "w": 12, "x": 12, - "y": 93 + "y": 133 }, "hiddenSeries": false, "id": 73, @@ -4383,7 +4725,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_overall_tx_ccq{routerboard_address=\"$node\"}", "instant": false, @@ -4428,7 +4771,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -4523,7 +4867,7 @@ "h": 8, "w": 12, "x": 0, - "y": 101 + "y": 141 }, "id": 68, "options": { @@ -4546,7 +4890,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_clients_devices_info{routerboard_address=\"$node\"}", "format": "table", @@ -4598,7 +4943,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "decimals": 0, "fieldConfig": { @@ -4613,7 +4959,7 @@ "h": 8, "w": 12, "x": 12, - "y": 101 + "y": 141 }, "hiddenSeries": false, "id": 37, @@ -4647,7 +4993,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_registered_clients{routerboard_address=\"$node\"}", "interval": "", @@ -4694,7 +5041,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "decimals": 0, "description": "", @@ -4710,7 +5058,7 @@ "h": 8, "w": 12, "x": 0, - "y": 109 + "y": 149 }, "hiddenSeries": false, "id": 61, @@ -4745,7 +5093,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_clients_tx_ccq{routerboard_address=\"$node\"}", "instant": false, @@ -4796,7 +5145,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "editable": true, @@ -4813,7 +5163,7 @@ "h": 8, "w": 12, "x": 12, - "y": 109 + "y": 149 }, "hiddenSeries": false, "id": 63, @@ -4864,7 +5214,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_wlan_clients_tx_bytes_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", @@ -4894,7 +5245,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_wlan_clients_rx_bytes_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", @@ -4958,7 +5310,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "decimals": 0, "fieldConfig": { @@ -4974,7 +5327,7 @@ "h": 7, "w": 12, "x": 0, - "y": 117 + "y": 157 }, "hiddenSeries": false, "id": 65, @@ -5013,7 +5366,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", @@ -5077,7 +5431,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -5092,7 +5447,7 @@ "h": 7, "w": 12, "x": 12, - "y": 117 + "y": 157 }, "hiddenSeries": false, "id": 66, @@ -5131,7 +5486,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_wlan_clients_signal_to_noise{routerboard_address=\"$node\"}", "format": "time_series", @@ -5210,13 +5566,14 @@ "h": 1, "w": 24, "x": 0, - "y": 47 + "y": 53 }, "id": 33, "panels": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -5287,7 +5644,7 @@ "h": 7, "w": 6, "x": 0, - "y": 94 + "y": 134 }, "id": 35, "options": { @@ -5305,7 +5662,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_capsman_remote_caps_info{routerboard_address=\"$node\"}", "format": "table", @@ -5350,7 +5708,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -5445,7 +5804,7 @@ "h": 15, "w": 18, "x": 6, - "y": 94 + "y": 134 }, "id": 41, "options": { @@ -5468,7 +5827,8 @@ "targets": [ { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_capsman_clients_devices_info{routerboard_address=\"$node\"}", "format": "table", @@ -5518,7 +5878,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5550,7 +5911,7 @@ "h": 9, "w": 6, "x": 0, - "y": 101 + "y": 141 }, "id": 47, "links": [], @@ -5576,7 +5937,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_capsman_registrations_count{routerboard_address=\"$node\"}", "format": "time_series", @@ -5603,7 +5965,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "sum(mktxp_capsman_registrations_count{routerboard_address=\"$node\"})", "instant": true, @@ -5618,7 +5981,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -5652,7 +6015,7 @@ "h": 8, "w": 18, "x": 6, - "y": 109 + "y": 149 }, "id": 104, "options": { @@ -5670,7 +6033,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, @@ -5724,7 +6087,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -5765,7 +6129,7 @@ "h": 16, "w": 6, "x": 0, - "y": 110 + "y": 150 }, "id": 48, "links": [], @@ -5791,7 +6155,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", @@ -5826,7 +6191,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -5841,7 +6207,7 @@ "h": 9, "w": 18, "x": 6, - "y": 117 + "y": 157 }, "hiddenSeries": false, "id": 49, @@ -5880,7 +6246,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", @@ -5950,7 +6317,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editable": true, "error": false, @@ -5966,7 +6333,7 @@ "h": 10, "w": 24, "x": 0, - "y": 126 + "y": 166 }, "hiddenSeries": false, "id": 39, @@ -6017,7 +6384,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_capsman_clients_tx_bytes_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", "format": "time_series", @@ -6047,7 +6415,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_capsman_clients_rx_bytes_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", "format": "time_series", @@ -6123,14 +6492,14 @@ "h": 1, "w": 24, "x": 0, - "y": 48 + "y": 54 }, "id": 125, "panels": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -6220,7 +6589,7 @@ "h": 8, "w": 6, "x": 0, - "y": 207 + "y": 247 }, "id": 108, "options": { @@ -6241,7 +6610,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "(rate(mktxp_interface_rx_byte_total{routerboard_address=\"$node\", name=\"$interface_name\"}[$__rate_interval]) * 8)", @@ -6252,7 +6621,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "(rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\", name=\"$interface_name\"}[$__rate_interval]) * 8)", @@ -6278,14 +6647,14 @@ "h": 1, "w": 24, "x": 0, - "y": 49 + "y": 55 }, "id": 80, "panels": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "The version of Python running the Prometheus exporter.", "fieldConfig": { @@ -6313,7 +6682,7 @@ "h": 3, "w": 6, "x": 0, - "y": 96 + "y": 136 }, "id": 102, "options": { @@ -6335,7 +6704,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", "expr": "python_info", @@ -6356,7 +6725,8 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "editable": true, "error": false, @@ -6372,7 +6742,7 @@ "h": 8, "w": 18, "x": 6, - "y": 96 + "y": 136 }, "hiddenSeries": false, "id": 77, @@ -6423,7 +6793,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", @@ -6450,7 +6821,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "sum(rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]))", "interval": "", @@ -6493,7 +6865,8 @@ }, { "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -6530,7 +6903,7 @@ "h": 13, "w": 6, "x": 0, - "y": 99 + "y": 139 }, "id": 78, "links": [], @@ -6556,7 +6929,8 @@ "filter": "Network" }, "datasource": { - "type": "prometheus" + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, "expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]) ", "format": "time_series", @@ -6588,7 +6962,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "Memory metrics about the Mikrotik Metric Exporter for Prometheus.", "fieldConfig": { @@ -6641,7 +7015,7 @@ "h": 8, "w": 9, "x": 6, - "y": 104 + "y": 144 }, "id": 98, "options": { @@ -6660,7 +7034,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", "expr": "process_resident_memory_bytes", @@ -6671,7 +7045,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", "expr": "process_virtual_memory_bytes", @@ -6687,7 +7061,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "description": "The CPU usage caused by the Prometheus exporter process. This is NOT the overall CPU usage.", "fieldConfig": { @@ -6752,7 +7126,7 @@ "h": 8, "w": 9, "x": 15, - "y": 104 + "y": 144 }, "id": 100, "options": { @@ -6771,7 +7145,7 @@ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "rate(process_cpu_seconds_total[30s]) * 100", @@ -6796,7 +7170,7 @@ "type": "row" } ], - "refresh": "10s", + "refresh": "5s", "schemaVersion": 39, "tags": [ "mikrotik", @@ -6806,14 +7180,10 @@ "templating": { "list": [ { - "current": { - "selected": false, - "text": "10.0.0.1", - "value": "10.0.0.1" - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(mktxp_system_identity_info, routerboard_address)", "hide": 0, @@ -6836,18 +7206,10 @@ "useTags": false }, { - "current": { - "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, "definition": "mktxp_interface_rx_byte_total{routerboard_address=\"$node\"}", "hide": 0, @@ -6875,6 +7237,6 @@ "timezone": "", "title": "Mikrotik MKTXP Exporter", "uid": "0j4sdLm7z", - "version": 8, + "version": 3, "weekStart": "" } From 915cbba8359eabb54d9aa8200e775a979f1e982e Mon Sep 17 00:00:00 2001 From: Leon Morten Richter Date: Tue, 30 Apr 2024 14:22:03 +0200 Subject: [PATCH 3/3] feat: adds simple queues --- .../dashboards/mikrotik/monitor.json | 3124 ++++++++++------- 1 file changed, 1769 insertions(+), 1355 deletions(-) diff --git a/grafana/provisioning/dashboards/mikrotik/monitor.json b/grafana/provisioning/dashboards/mikrotik/monitor.json index e0e7460..8f599ae 100644 --- a/grafana/provisioning/dashboards/mikrotik/monitor.json +++ b/grafana/provisioning/dashboards/mikrotik/monitor.json @@ -1,71 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "Prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "bargauge", - "name": "Bar gauge", - "version": "" - }, - { - "type": "panel", - "id": "flant-statusmap-panel", - "name": "Statusmap", - "version": "0.5.1" - }, - { - "type": "panel", - "id": "gauge", - "name": "Gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "10.3.1" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph (old)", - "version": "" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "table", - "name": "Table", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -93,7 +26,7 @@ "fiscalYearStartMonth": 0, "gnetId": 13679, "graphTooltip": 0, - "id": null, + "id": 2, "links": [], "liveNow": false, "panels": [ @@ -123,8 +56,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "fieldConfig": { @@ -187,8 +119,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_identity_info{routerboard_address=\"$node\"}", "instant": true, @@ -202,8 +133,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "Public IP address of the networking device.", "fieldConfig": { @@ -256,8 +186,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "editorMode": "code", "expr": "mktxp_public_ip_address_info{routerboard_address=\"$node\"}", @@ -271,8 +200,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "fieldConfig": { @@ -335,8 +263,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "instant": true, @@ -350,8 +277,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -416,8 +342,7 @@ "filter": "General" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "format": "time_series", @@ -448,8 +373,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -514,8 +438,7 @@ "filter": "General" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "format": "time_series", @@ -547,7 +470,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "The newest available version", "fieldConfig": { @@ -601,7 +524,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -617,8 +540,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "fieldConfig": { @@ -675,8 +597,7 @@ "filter": "General" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_routerboard_voltage{routerboard_address=\"$node\"}", "format": "time_series", @@ -708,7 +629,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -761,7 +682,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -778,8 +699,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -853,8 +773,7 @@ "filter": "Memory" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "(1 - mktxp_system_free_memory{routerboard_address=\"$node\"} / mktxp_system_total_memory{routerboard_address=\"$node\"})*100", "format": "time_series", @@ -881,8 +800,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}", "instant": true, @@ -892,8 +810,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "(1 - mktxp_system_free_hdd_space{routerboard_address=\"$node\"} / mktxp_system_total_hdd_space{routerboard_address=\"$node\"})*100", "instant": true, @@ -907,7 +824,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -971,8 +888,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_routerboard_temperature{routerboard_address=\"$node\"} or mktxp_system_cpu_temperature{routerboard_address=\"$node\"}", "instant": true, @@ -987,7 +903,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -1045,7 +961,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -1062,7 +978,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -1111,7 +1027,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -1128,7 +1044,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -1185,7 +1101,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -1209,8 +1125,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "editable": true, "error": false, @@ -1278,8 +1193,7 @@ "filter": "Memory" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"} - mktxp_system_free_hdd_space{routerboard_address=\"$node\"}", "format": "time_series", @@ -1308,8 +1222,7 @@ "filter": "Memory" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"}", "format": "time_series", @@ -1376,8 +1289,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "editable": true, "error": false, @@ -1432,8 +1344,7 @@ "filter": "CPU" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "exemplar": true, "expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}", @@ -1497,7 +1408,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "", "fieldConfig": { @@ -1588,8 +1499,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "editorMode": "code", "exemplar": true, @@ -1621,8 +1531,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "exemplar": true, "expr": "- rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8 != 0", @@ -1654,7 +1563,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -1701,7 +1610,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1736,8 +1646,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "exemplar": true, "expr": "rate(mktxp_interface_rx_packet_total{routerboard_address=\"$node\"}[$__rate_interval]) != 0", @@ -1752,7 +1661,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -1796,7 +1705,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1831,8 +1741,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "exemplar": true, "expr": "rate(mktxp_interface_tx_packet_total{routerboard_address=\"$node\"}[$__rate_interval]) != 0", @@ -1845,7 +1754,7 @@ "type": "timeseries" }, { - "collapsed": false, + "collapsed": true, "gridPos": { "h": 1, "w": 24, @@ -1853,306 +1762,307 @@ "y": 33 }, "id": 131, - "panels": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic", + "seriesBy": "last" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 100, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 82 + }, + "id": 129, + "options": { + "legend": { + "calcs": [ + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.6", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "sum(rate(probe_icmp_duration_seconds{phase=\"rtt\"}[$__rate_interval])) by (instance)\n", + "format": "time_series", + "legendFormat": "{{ instance }}", + "range": true, + "refId": "A" + } + ], + "title": "Latency (RTT)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 100, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 82 + }, + "id": 135, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "sum(rate(probe_icmp_duration_seconds{phase=\"resolve\"}[$__rate_interval])) by (instance)", + "instant": false, + "legendFormat": "{{host}}", + "range": true, + "refId": "A" + } + ], + "title": "Latency (DNS resolution)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": 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", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 90 + }, + "id": 133, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "exemplar": false, + "expr": "100 * avg_over_time(probe_success[$__rate_interval]) ", + "hide": false, + "instant": false, + "legendFormat": "{{instance}}", + "range": true, + "refId": "A" + } + ], + "title": "Availability", + "type": "timeseries" + } + ], "title": "Latency", "type": "row" }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic", - "seriesBy": "last" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s", - "unitScale": true - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 34 - }, - "id": 129, - "options": { - "legend": { - "calcs": [ - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.6", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum(rate(probe_icmp_duration_seconds{phase=\"rtt\"}[$__rate_interval])) by (instance)\n", - "format": "time_series", - "legendFormat": "{{ instance }}", - "range": true, - "refId": "A" - } - ], - "title": "Latency (RTT)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s", - "unitScale": true - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 34 - }, - "id": 135, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum(rate(probe_icmp_duration_seconds{phase=\"resolve\"}[$__rate_interval])) by (instance)", - "instant": false, - "legendFormat": "{{host}}", - "range": true, - "refId": "A" - } - ], - "title": "Latency (DNS resolution)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": 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", - "unitScale": true - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 42 - }, - "id": 133, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": false, - "expr": "100 * avg_over_time(probe_success[$__rate_interval]) ", - "hide": false, - "instant": false, - "legendFormat": "{{instance}}", - "range": true, - "refId": "A" - } - ], - "title": "Availability", - "type": "timeseries" - }, { "collapsed": true, "datasource": { @@ -2162,14 +2072,13 @@ "h": 1, "w": 24, "x": 0, - "y": 48 + "y": 34 }, "id": 2, "panels": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "fieldConfig": { @@ -2193,7 +2102,8 @@ "value": 80 } ] - } + }, + "unitScale": true }, "overrides": [] }, @@ -2201,14 +2111,16 @@ "h": 8, "w": 5, "x": 0, - "y": 129 + "y": 83 }, "id": 20, "links": [], "options": { "displayMode": "lcd", + "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -2218,17 +2130,18 @@ "values": false }, "showUnfilled": true, - "text": {} + "sizing": "auto", + "text": {}, + "valueMode": "color" }, - "pluginVersion": "9.0.6", + "pluginVersion": "10.3.1", "targets": [ { "application": { "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"}", "format": "time_series", @@ -2259,8 +2172,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -2287,7 +2199,8 @@ "value": 80 } ] - } + }, + "unitScale": true }, "overrides": [ { @@ -2367,11 +2280,13 @@ "h": 11, "w": 19, "x": 5, - "y": 129 + "y": 83 }, "id": 25, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": [ "sum" @@ -2386,12 +2301,11 @@ } ] }, - "pluginVersion": "9.0.6", + "pluginVersion": "10.3.1", "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_dhcp_lease_info{routerboard_address=\"$node\"}", "format": "table", @@ -2443,8 +2357,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "fieldConfig": { @@ -2476,7 +2389,7 @@ "h": 3, "w": 5, "x": 0, - "y": 137 + "y": 91 }, "id": 23, "links": [], @@ -2502,8 +2415,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "sum(mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"})", "format": "time_series", @@ -2545,7 +2457,7 @@ "type": "row" }, { - "collapsed": true, + "collapsed": false, "datasource": { "type": "prometheus" }, @@ -2553,748 +2465,10 @@ "h": 1, "w": 24, "x": 0, - "y": 49 + "y": 35 }, "id": 45, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "mappings": [ - { - "options": { - "0": { - "text": "Unplugged" - }, - "1": { - "text": "" - } - }, - "type": "value" - } - ], - "min": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "yellow", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 2, - "x": 0, - "y": 130 - }, - "id": 70, - "options": { - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": true, - "text": {} - }, - "pluginVersion": "9.0.6", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_routes_total_routes{routerboard_address=\"$node\"}", - "format": "time_series", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Total Routes", - "type": "gauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 4, - "x": 2, - "y": 130 - }, - "id": 71, - "links": [], - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "9.0.6", - "targets": [ - { - "application": { - "filter": "Network" - }, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_routes_protocol_count{routerboard_address=\"$node\"}", - "format": "time_series", - "functions": [], - "group": { - "filter": "Network" - }, - "hide": false, - "host": { - "filter": "MikroTik Router" - }, - "instant": true, - "interval": "", - "intervalFactor": 1, - "item": { - "filter": "/errors on interface/" - }, - "legendFormat": "{{protocol}}", - "mode": 0, - "options": { - "showDisabledItems": false - }, - "refId": "A" - } - ], - "title": "Routes per protocol", - "type": "bargauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "mappings": [ - { - "options": { - "0": { - "text": "No" - }, - "1": { - "text": "Yes" - } - }, - "type": "value" - } - ], - "min": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "yellow", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 130 - }, - "id": 69, - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "9.0.6", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_interface_full_duplex{routerboard_address=\"$node\"}", - "format": "time_series", - "instant": true, - "interval": "", - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "title": "Ethernet Ports: Full Duplex", - "type": "bargauge" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editable": true, - "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 16, - "w": 12, - "x": 12, - "y": 130 - }, - "hiddenSeries": false, - "id": 55, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": true, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "9.0.6", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "application": { - "filter": "Network" - }, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_interface_rx_error_total{routerboard_address=\"$node\"}", - "format": "time_series", - "functions": [], - "group": { - "filter": "Network" - }, - "hide": false, - "host": { - "filter": "MikroTik Router" - }, - "interval": "", - "intervalFactor": 1, - "item": { - "filter": "/errors on interface/" - }, - "legendFormat": "In Errors | {{name}}", - "mode": 0, - "options": { - "showDisabledItems": false - }, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_interface_tx_error_total{routerboard_address=\"$node\"}", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Out Errors | {{name}}", - "refId": "B" - } - ], - "thresholds": [], - "timeRegions": [], - "title": "Interface Errors", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:265", - "format": "short", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:266", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "mappings": [ - { - "options": { - "0": { - "text": "Unplugged" - }, - "1": { - "text": "Plugged-In" - } - }, - "type": "value" - } - ], - "min": 1, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "yellow", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 135 - }, - "id": 51, - "options": { - "displayMode": "lcd", - "minVizHeight": 10, - "minVizWidth": 0, - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "showUnfilled": true, - "text": {} - }, - "pluginVersion": "9.0.6", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_interface_status{routerboard_address=\"$node\"}", - "format": "time_series", - "instant": true, - "interval": "", - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "title": "Ethernet Ports: Status", - "type": "bargauge" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "filterable": false, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "Mbits" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 6, - "y": 135 - }, - "id": 53, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true - }, - "pluginVersion": "9.0.6", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_interface_rate{routerboard_address=\"$node\"}", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "{{name}}", - "refId": "A" - } - ], - "title": "Rates", - "transformations": [ - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "__name__": true, - "address": true, - "env": true, - "instance": true, - "job": true, - "name": false, - "routerboard_address": true, - "routerboard_name": true - }, - "indexByName": {}, - "renameByName": { - "Value": "Rate", - "name": "Interface", - "routerboard_name": "" - } - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "fixed" - }, - "custom": { - "align": "center", - "cellOptions": { - "type": "auto" - }, - "filterable": false, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "__name__" - }, - "properties": [ - { - "id": "displayName" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "mac_address" - }, - "properties": [ - { - "id": "custom.width", - "value": 231 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "DHCP VLAN" - }, - "properties": [ - { - "id": "custom.width", - "value": 227 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "active_address" - }, - "properties": [ - { - "id": "custom.width", - "value": 240 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Host Name" - }, - "properties": [ - { - "id": "custom.width", - "value": 383 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Comment" - }, - "properties": [ - { - "id": "custom.width", - "value": 360 - } - ] - } - ] - }, - "gridPos": { - "h": 4, - "w": 12, - "x": 0, - "y": 142 - }, - "id": 85, - "options": { - "footer": { - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [ - { - "desc": true, - "displayName": "active_address" - } - ] - }, - "pluginVersion": "9.0.6", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "expr": "mktxp_poe_info{routerboard_address=\"$node\"}", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "POE", - "transformations": [ - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true, - "__name__": true, - "instance": true, - "job": true, - "routerboard_address": true, - "routerboard_name": true - }, - "indexByName": { - "Time": 9, - "Value": 13, - "__name__": 8, - "active_address": 5, - "address": 4, - "comment": 1, - "expires_after": 6, - "host_name": 0, - "instance": 7, - "job": 10, - "mac_address": 3, - "routerboard_address": 11, - "routerboard_name": 12, - "server": 2 - }, - "renameByName": { - "comment": "Comment", - "host_name": "Host Name", - "name": "Interface", - "poe_out": "State", - "poe_out_status": "Status", - "poe_priority": "Priority", - "server": "DHCP Server" - } - } - } - ], - "type": "table" - } - ], + "panels": [], "targets": [ { "datasource": { @@ -3306,6 +2480,830 @@ "title": "Network", "type": "row" }, + { + "datasource": { + "type": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "0": { + "text": "Unplugged" + }, + "1": { + "text": "" + } + }, + "type": "value" + } + ], + "min": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 2, + "x": 0, + "y": 36 + }, + "id": 70, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto", + "text": {} + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_routes_total_routes{routerboard_address=\"$node\"}", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Total Routes", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus" + }, + "fieldConfig": { + "defaults": { + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 2, + "y": 36 + }, + "id": 71, + "links": [], + "options": { + "displayMode": "lcd", + "maxVizHeight": 300, + "minVizHeight": 10, + "minVizWidth": 0, + "namePlacement": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "text": {}, + "valueMode": "color" + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "application": { + "filter": "Network" + }, + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_routes_protocol_count{routerboard_address=\"$node\"}", + "format": "time_series", + "functions": [], + "group": { + "filter": "Network" + }, + "hide": false, + "host": { + "filter": "MikroTik Router" + }, + "instant": true, + "interval": "", + "intervalFactor": 1, + "item": { + "filter": "/errors on interface/" + }, + "legendFormat": "{{protocol}}", + "mode": 0, + "options": { + "showDisabledItems": false + }, + "refId": "A" + } + ], + "title": "Routes per protocol", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "0": { + "text": "No" + }, + "1": { + "text": "Yes" + } + }, + "type": "value" + } + ], + "min": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 6, + "x": 6, + "y": 36 + }, + "id": 69, + "options": { + "displayMode": "lcd", + "maxVizHeight": 300, + "minVizHeight": 10, + "minVizWidth": 0, + "namePlacement": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "text": {}, + "valueMode": "color" + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_interface_full_duplex{routerboard_address=\"$node\"}", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Ethernet Ports: Full Duplex", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 12, + "x": 12, + "y": 36 + }, + "id": 143, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(mktxp_interface_rx_error_total{routerboard_address=\"$node\"}) + sum(mktxp_interface_tx_error_total{routerboard_address=\"$node\"})", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Total Interface Errors", + "type": "stat" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": { + "type": "prometheus" + }, + "editable": true, + "error": false, + "fieldConfig": { + "defaults": { + "links": [], + "unitScale": true + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 14, + "w": 12, + "x": 12, + "y": 38 + }, + "hiddenSeries": false, + "id": 55, + "legend": { + "alignAsTable": true, + "avg": true, + "current": false, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": true, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "paceLength": 10, + "percentage": false, + "pluginVersion": "10.3.1", + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "application": { + "filter": "Network" + }, + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_interface_rx_error_total{routerboard_address=\"$node\"}", + "format": "time_series", + "functions": [], + "group": { + "filter": "Network" + }, + "hide": false, + "host": { + "filter": "MikroTik Router" + }, + "interval": "", + "intervalFactor": 1, + "item": { + "filter": "/errors on interface/" + }, + "legendFormat": "In Errors | {{name}}", + "mode": 0, + "options": { + "showDisabledItems": false + }, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_interface_tx_error_total{routerboard_address=\"$node\"}", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Out Errors | {{name}}", + "refId": "B" + } + ], + "thresholds": [], + "timeRegions": [], + "title": "Interface Errors", + "tooltip": { + "msResolution": false, + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "mode": "time", + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:265", + "format": "short", + "logBase": 1, + "show": true + }, + { + "$$hashKey": "object:266", + "format": "short", + "logBase": 1, + "show": true + } + ], + "yaxis": { + "align": false + } + }, + { + "datasource": { + "type": "prometheus" + }, + "description": "", + "fieldConfig": { + "defaults": { + "mappings": [ + { + "options": { + "0": { + "text": "Unplugged" + }, + "1": { + "text": "Plugged-In" + } + }, + "type": "value" + } + ], + "min": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "yellow", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + }, + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 41 + }, + "id": 51, + "options": { + "displayMode": "lcd", + "maxVizHeight": 300, + "minVizHeight": 10, + "minVizWidth": 0, + "namePlacement": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showUnfilled": true, + "sizing": "auto", + "text": {}, + "valueMode": "color" + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_interface_status{routerboard_address=\"$node\"}", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Ethernet Ports: Status", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus" + }, + "fieldConfig": { + "defaults": { + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Mbits", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 6, + "y": 41 + }, + "id": 53, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_interface_rate{routerboard_address=\"$node\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "{{name}}", + "refId": "A" + } + ], + "title": "Rates", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "__name__": true, + "address": true, + "env": true, + "instance": true, + "job": true, + "name": false, + "routerboard_address": true, + "routerboard_name": true + }, + "indexByName": {}, + "renameByName": { + "Value": "Rate", + "name": "Interface", + "routerboard_name": "" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "fixed" + }, + "custom": { + "align": "center", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unitScale": true + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "__name__" + }, + "properties": [ + { + "id": "displayName" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "mac_address" + }, + "properties": [ + { + "id": "custom.width", + "value": 231 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "DHCP VLAN" + }, + "properties": [ + { + "id": "custom.width", + "value": 227 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "active_address" + }, + "properties": [ + { + "id": "custom.width", + "value": 240 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Host Name" + }, + "properties": [ + { + "id": "custom.width", + "value": 383 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Comment" + }, + "properties": [ + { + "id": "custom.width", + "value": 360 + } + ] + } + ] + }, + "gridPos": { + "h": 4, + "w": 12, + "x": 0, + "y": 48 + }, + "id": 85, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "active_address" + } + ] + }, + "pluginVersion": "10.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_poe_info{routerboard_address=\"$node\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "POE", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value": true, + "__name__": true, + "instance": true, + "job": true, + "routerboard_address": true, + "routerboard_name": true + }, + "indexByName": { + "Time": 9, + "Value": 13, + "__name__": 8, + "active_address": 5, + "address": 4, + "comment": 1, + "expires_after": 6, + "host_name": 0, + "instance": 7, + "job": 10, + "mac_address": 3, + "routerboard_address": 11, + "routerboard_name": 12, + "server": 2 + }, + "renameByName": { + "comment": "Comment", + "host_name": "Host Name", + "name": "Interface", + "poe_out": "State", + "poe_out_status": "Status", + "poe_priority": "Priority", + "server": "DHCP Server" + } + } + } + ], + "type": "table" + }, { "collapsed": true, "datasource": { @@ -3315,7 +3313,7 @@ "h": 1, "w": 24, "x": 0, - "y": 50 + "y": 52 }, "id": 84, "panels": [ @@ -3328,8 +3326,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "editable": true, @@ -3347,7 +3344,7 @@ "h": 7, "w": 12, "x": 0, - "y": 123 + "y": 171 }, "hiddenSeries": false, "id": 81, @@ -3387,8 +3384,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\", log=\"1\"}[4m])", "format": "time_series", @@ -3457,8 +3453,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "editable": true, @@ -3476,7 +3471,7 @@ "h": 7, "w": 12, "x": 12, - "y": 123 + "y": 171 }, "hiddenSeries": false, "id": 82, @@ -3516,8 +3511,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\", log=\"1\"}[4m])", "format": "time_series", @@ -3580,7 +3574,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -3639,7 +3633,7 @@ "h": 15, "w": 12, "x": 0, - "y": 130 + "y": 178 }, "id": 106, "options": { @@ -3664,7 +3658,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "expr": "rate(mktxp_firewall_filter_ipv6_total{routerboard_address=\"$node\"}[$__rate_interval])", @@ -3679,7 +3673,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "", "fieldConfig": { @@ -3740,7 +3734,7 @@ "h": 15, "w": 12, "x": 12, - "y": 130 + "y": 178 }, "id": 43, "links": [], @@ -3769,8 +3763,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\"}[$__rate_interval])", "format": "time_series", @@ -3802,7 +3795,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "", "fieldConfig": { @@ -3879,7 +3872,7 @@ "h": 6, "w": 24, "x": 0, - "y": 145 + "y": 193 }, "id": 76, "links": [], @@ -3906,8 +3899,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\"}[$__rate_interval])", "format": "time_series", @@ -3945,8 +3937,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "decimals": 0, "fieldConfig": { @@ -3962,7 +3953,7 @@ "h": 7, "w": 12, "x": 0, - "y": 151 + "y": 199 }, "hiddenSeries": false, "id": 27, @@ -3996,8 +3987,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_internet_bandwidth", "instant": false, @@ -4048,8 +4038,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "decimals": 0, "fieldConfig": { @@ -4065,7 +4054,7 @@ "h": 7, "w": 12, "x": 12, - "y": 151 + "y": 199 }, "hiddenSeries": false, "id": 74, @@ -4099,8 +4088,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_internet_latency", "instant": false, @@ -4146,7 +4134,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "Shows active users on all monitored devices.", "fieldConfig": { @@ -4181,7 +4169,7 @@ "h": 7, "w": 24, "x": 0, - "y": 158 + "y": 206 }, "id": 127, "options": { @@ -4207,7 +4195,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -4276,7 +4264,7 @@ "h": 1, "w": 24, "x": 0, - "y": 51 + "y": 53 }, "id": 90, "panels": [ @@ -4309,15 +4297,14 @@ ] }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 101 + "y": 149 }, "hideBranding": false, "highlightCards": true, @@ -4339,8 +4326,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "max_over_time(mktxp_netwatch_status{routerboard_address=\"$node\"}[1m])", "format": "time_series", @@ -4397,8 +4383,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -4471,7 +4456,7 @@ "h": 8, "w": 12, "x": 12, - "y": 101 + "y": 149 }, "id": 88, "options": { @@ -4489,8 +4474,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_netwatch_info{routerboard_address=\"$node\"}", "format": "table", @@ -4568,7 +4552,7 @@ "h": 1, "w": 24, "x": 0, - "y": 52 + "y": 54 }, "id": 29, "panels": [ @@ -4578,8 +4562,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -4593,7 +4576,7 @@ "h": 8, "w": 12, "x": 0, - "y": 133 + "y": 181 }, "hiddenSeries": false, "id": 31, @@ -4627,8 +4610,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_noise_floor{routerboard_address=\"$node\"}", "interval": "", @@ -4675,8 +4657,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "decimals": 2, "fieldConfig": { @@ -4691,7 +4672,7 @@ "h": 8, "w": 12, "x": 12, - "y": 133 + "y": 181 }, "hiddenSeries": false, "id": 73, @@ -4725,8 +4706,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_overall_tx_ccq{routerboard_address=\"$node\"}", "instant": false, @@ -4771,8 +4751,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -4867,7 +4846,7 @@ "h": 8, "w": 12, "x": 0, - "y": 141 + "y": 189 }, "id": 68, "options": { @@ -4890,8 +4869,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_clients_devices_info{routerboard_address=\"$node\"}", "format": "table", @@ -4943,8 +4921,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "decimals": 0, "fieldConfig": { @@ -4959,7 +4936,7 @@ "h": 8, "w": 12, "x": 12, - "y": 141 + "y": 189 }, "hiddenSeries": false, "id": 37, @@ -4993,8 +4970,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_registered_clients{routerboard_address=\"$node\"}", "interval": "", @@ -5041,8 +5017,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "decimals": 0, "description": "", @@ -5058,7 +5033,7 @@ "h": 8, "w": 12, "x": 0, - "y": 149 + "y": 197 }, "hiddenSeries": false, "id": 61, @@ -5093,8 +5068,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_clients_tx_ccq{routerboard_address=\"$node\"}", "instant": false, @@ -5145,8 +5119,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "editable": true, @@ -5163,7 +5136,7 @@ "h": 8, "w": 12, "x": 12, - "y": 149 + "y": 197 }, "hiddenSeries": false, "id": 63, @@ -5214,8 +5187,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_wlan_clients_tx_bytes_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", @@ -5245,8 +5217,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_wlan_clients_rx_bytes_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", @@ -5310,8 +5281,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "decimals": 0, "fieldConfig": { @@ -5327,7 +5297,7 @@ "h": 7, "w": 12, "x": 0, - "y": 157 + "y": 205 }, "hiddenSeries": false, "id": 65, @@ -5366,8 +5336,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", @@ -5431,8 +5400,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -5447,7 +5415,7 @@ "h": 7, "w": 12, "x": 12, - "y": 157 + "y": 205 }, "hiddenSeries": false, "id": 66, @@ -5486,8 +5454,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_wlan_clients_signal_to_noise{routerboard_address=\"$node\"}", "format": "time_series", @@ -5566,14 +5533,13 @@ "h": 1, "w": 24, "x": 0, - "y": 53 + "y": 55 }, "id": 33, "panels": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -5644,7 +5610,7 @@ "h": 7, "w": 6, "x": 0, - "y": 134 + "y": 182 }, "id": 35, "options": { @@ -5662,8 +5628,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_capsman_remote_caps_info{routerboard_address=\"$node\"}", "format": "table", @@ -5708,8 +5673,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -5804,7 +5768,7 @@ "h": 15, "w": 18, "x": 6, - "y": 134 + "y": 182 }, "id": 41, "options": { @@ -5827,8 +5791,7 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_capsman_clients_devices_info{routerboard_address=\"$node\"}", "format": "table", @@ -5878,8 +5841,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "description": "", "fieldConfig": { @@ -5911,7 +5873,7 @@ "h": 9, "w": 6, "x": 0, - "y": 141 + "y": 189 }, "id": 47, "links": [], @@ -5937,8 +5899,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_capsman_registrations_count{routerboard_address=\"$node\"}", "format": "time_series", @@ -5965,8 +5926,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "sum(mktxp_capsman_registrations_count{routerboard_address=\"$node\"})", "instant": true, @@ -5981,7 +5941,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -6015,7 +5975,7 @@ "h": 8, "w": 18, "x": 6, - "y": 149 + "y": 197 }, "id": 104, "options": { @@ -6033,7 +5993,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": false, @@ -6087,8 +6047,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -6129,7 +6088,7 @@ "h": 16, "w": 6, "x": 0, - "y": 150 + "y": 198 }, "id": 48, "links": [], @@ -6155,8 +6114,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", @@ -6191,8 +6149,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -6207,7 +6164,7 @@ "h": 9, "w": 18, "x": 6, - "y": 157 + "y": 205 }, "hiddenSeries": false, "id": 49, @@ -6246,8 +6203,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", @@ -6317,7 +6273,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editable": true, "error": false, @@ -6333,7 +6289,7 @@ "h": 10, "w": 24, "x": 0, - "y": 166 + "y": 214 }, "hiddenSeries": false, "id": 39, @@ -6384,8 +6340,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_capsman_clients_tx_bytes_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", "format": "time_series", @@ -6415,8 +6370,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_capsman_clients_rx_bytes_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", "format": "time_series", @@ -6492,14 +6446,467 @@ "h": 1, "w": 24, "x": 0, - "y": 54 + "y": 56 + }, + "id": 148, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 50, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "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", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 57 + }, + "id": 145, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "mktxp_queue_simple_rates_download_total{routerboard_address=\"$node\"}", + "instant": false, + "legendFormat": "{{name}} (in)", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "-mktxp_queue_simple_rates_upload_total{routerboard_address=\"$node\"}", + "hide": false, + "instant": false, + "legendFormat": "{{name}} (out)", + "range": true, + "refId": "B" + } + ], + "title": "Data Rate", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "decbytes", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 63 + }, + "id": 144, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "mktxp_queue_simple_bytes_download_total{routerboard_address=\"$node\"}", + "instant": false, + "legendFormat": "{{name}} (in)", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "- mktxp_queue_simple_bytes_upload_total{routerboard_address=\"$node\"}", + "hide": false, + "instant": false, + "legendFormat": "{{name}} (out)", + "range": true, + "refId": "B" + } + ], + "title": "Processed Bytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 50, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "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": "pps", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 69 + }, + "id": 147, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "rate(mktxp_queue_simple_dropped_download_total{routerboard_address=\"$node\"}[$__rate_interval])", + "instant": false, + "legendFormat": "{{name}} (in)", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "- rate(mktxp_queue_simple_dropped_upload_total{routerboard_address=\"$node\"}[$__rate_interval])", + "hide": false, + "instant": false, + "legendFormat": "{{name}} (out)", + "range": true, + "refId": "B" + } + ], + "title": "Drop Rate", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 50, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "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", + "unitScale": true + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 75 + }, + "id": 146, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "rate(mktxp_queue_simple_queued_bytes_downloadd_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", + "instant": false, + "legendFormat": "{{name}} (in)", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "editorMode": "code", + "expr": "- rate(mktxp_queue_simple_queued_bytes_upload_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", + "hide": false, + "instant": false, + "legendFormat": "{{name}} (out)", + "range": true, + "refId": "B" + } + ], + "title": "Queue Rate", + "type": "timeseries" + } + ], + "title": "Simple Queues", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 57 }, "id": 125, "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { @@ -6589,7 +6996,7 @@ "h": 8, "w": 6, "x": 0, - "y": 247 + "y": 295 }, "id": 108, "options": { @@ -6610,7 +7017,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "expr": "(rate(mktxp_interface_rx_byte_total{routerboard_address=\"$node\", name=\"$interface_name\"}[$__rate_interval]) * 8)", @@ -6621,7 +7028,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "expr": "(rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\", name=\"$interface_name\"}[$__rate_interval]) * 8)", @@ -6647,14 +7054,14 @@ "h": 1, "w": 24, "x": 0, - "y": 55 + "y": 58 }, "id": 80, "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "The version of Python running the Prometheus exporter.", "fieldConfig": { @@ -6682,7 +7089,7 @@ "h": 3, "w": 6, "x": 0, - "y": 136 + "y": 184 }, "id": 102, "options": { @@ -6704,7 +7111,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "builder", "expr": "python_info", @@ -6725,8 +7132,7 @@ "dashLength": 10, "dashes": false, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "editable": true, "error": false, @@ -6742,7 +7148,7 @@ "h": 8, "w": 18, "x": 6, - "y": 136 + "y": 184 }, "hiddenSeries": false, "id": 77, @@ -6793,8 +7199,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", @@ -6821,8 +7226,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "sum(rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]))", "interval": "", @@ -6865,8 +7269,7 @@ }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "fieldConfig": { "defaults": { @@ -6903,7 +7306,7 @@ "h": 13, "w": 6, "x": 0, - "y": 139 + "y": 187 }, "id": 78, "links": [], @@ -6929,8 +7332,7 @@ "filter": "Network" }, "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "prometheus" }, "expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]) ", "format": "time_series", @@ -6962,7 +7364,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "Memory metrics about the Mikrotik Metric Exporter for Prometheus.", "fieldConfig": { @@ -7015,7 +7417,7 @@ "h": 8, "w": 9, "x": 6, - "y": 144 + "y": 192 }, "id": 98, "options": { @@ -7034,7 +7436,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "builder", "expr": "process_resident_memory_bytes", @@ -7045,7 +7447,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "builder", "expr": "process_virtual_memory_bytes", @@ -7061,7 +7463,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "description": "The CPU usage caused by the Prometheus exporter process. This is NOT the overall CPU usage.", "fieldConfig": { @@ -7126,7 +7528,7 @@ "h": 8, "w": 9, "x": 15, - "y": 144 + "y": 192 }, "id": 100, "options": { @@ -7145,7 +7547,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "expr": "rate(process_cpu_seconds_total[30s]) * 100", @@ -7180,10 +7582,14 @@ "templating": { "list": [ { - "current": {}, + "current": { + "selected": false, + "text": "10.0.0.1", + "value": "10.0.0.1" + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "definition": "label_values(mktxp_system_identity_info, routerboard_address)", "hide": 0, @@ -7206,10 +7612,18 @@ "useTags": false }, { - "current": {}, + "current": { + "selected": true, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, "definition": "mktxp_interface_rx_byte_total{routerboard_address=\"$node\"}", "hide": 0, @@ -7237,6 +7651,6 @@ "timezone": "", "title": "Mikrotik MKTXP Exporter", "uid": "0j4sdLm7z", - "version": 3, + "version": 5, "weekStart": "" }