From 915cbba8359eabb54d9aa8200e775a979f1e982e Mon Sep 17 00:00:00 2001 From: Leon Morten Richter Date: Tue, 30 Apr 2024 14:22:03 +0200 Subject: [PATCH] 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": "" }