From ee53500ce60c6fe9f050e5f988fb9e84aa245b8e Mon Sep 17 00:00:00 2001 From: Leon Morten Richter Date: Sun, 18 Sep 2022 13:22:01 +0200 Subject: [PATCH] adds Python exporter metrics to Grafana --- grafana/provisioning/dashboards/monitor.json | 1549 +++++++++++++----- 1 file changed, 1141 insertions(+), 408 deletions(-) diff --git a/grafana/provisioning/dashboards/monitor.json b/grafana/provisioning/dashboards/monitor.json index a327ca0..4f3a0e7 100644 --- a/grafana/provisioning/dashboards/monitor.json +++ b/grafana/provisioning/dashboards/monitor.json @@ -1,28 +1,108 @@ { + "__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": "9.0.6" + }, + { + "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": [ { "builtIn": 1, - "datasource": "-- Grafana --", + "datasource": { + "type": "datasource", + "uid": "grafana" + }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, "type": "dashboard" } ] }, "description": "Mikrotik MKTXP Exporter metrics", "editable": true, + "fiscalYearStartMonth": 0, "gnetId": 13679, "graphTooltip": 0, - "id": 1, - "iteration": 1659266546964, + "id": null, "links": [], + "liveNow": false, "panels": [ { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -31,12 +111,23 @@ }, "id": 10, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "System", "type": "row" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -75,7 +166,6 @@ "y": 1 }, "id": 72, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -93,9 +183,13 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_identity_info{routerboard_address=\"$node\"}", "instant": true, "interval": "", @@ -107,8 +201,10 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -146,7 +242,6 @@ "y": 1 }, "id": 12, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -164,12 +259,16 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "General" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -198,8 +297,10 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "decimals": 1, @@ -244,11 +345,12 @@ "y": 1 }, "id": 14, - "interval": null, "links": [], "maxDataPoints": 100, "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -260,12 +362,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "Memory" }, + "datasource": { + "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", "functions": [], @@ -290,6 +396,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}", "instant": true, "interval": "", @@ -297,6 +407,10 @@ "refId": "C" }, { + "datasource": { + "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, "interval": "", @@ -304,8 +418,6 @@ "refId": "B" } ], - "timeFrom": null, - "timeShift": null, "type": "bargauge" }, { @@ -313,7 +425,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "editable": true, "error": false, "fieldConfig": { @@ -352,7 +467,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -365,6 +480,10 @@ "application": { "filter": "CPU" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}", "format": "time_series", @@ -390,9 +509,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "CPU load", "tooltip": { "msResolution": false, @@ -402,9 +519,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -412,7 +527,6 @@ { "$$hashKey": "object:398", "format": "percent", - "label": null, "logBase": 10, "max": "100", "min": "0", @@ -421,16 +535,12 @@ { "$$hashKey": "object:399", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -441,7 +551,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "editable": true, "error": false, "fieldConfig": { @@ -479,7 +592,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -506,6 +619,10 @@ "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": [], @@ -532,6 +649,10 @@ "application": { "filter": "Memory" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -556,9 +677,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "HDD Utilization", "tooltip": { "msResolution": false, @@ -568,9 +687,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -578,30 +695,26 @@ { "$$hashKey": "object:365", "format": "decbytes", - "label": null, "logBase": 1, - "max": null, "min": "0", "show": true }, { "$$hashKey": "object:366", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -640,7 +753,6 @@ "y": 3 }, "id": 6, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -658,9 +770,13 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "instant": true, "interval": "", @@ -672,7 +788,10 @@ "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "mappings": [], @@ -715,6 +834,7 @@ }, "id": 59, "options": { + "orientation": "auto", "reduceOptions": { "calcs": [ "mean" @@ -726,9 +846,13 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_routerboard_temperature{routerboard_address=\"$node\"} ", "instant": true, "interval": "", @@ -736,14 +860,14 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Temperature", "type": "gauge" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -781,7 +905,6 @@ "y": 5 }, "id": 8, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -799,12 +922,16 @@ "text": {}, "textMode": "name" }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "General" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_uptime{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -833,8 +960,10 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -863,7 +992,6 @@ "y": 7 }, "id": 57, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -881,12 +1009,16 @@ "text": {}, "textMode": "value" }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "General" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_system_routerboard_voltage{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -911,13 +1043,14 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Voltage", "type": "stat" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1062,7 +1195,8 @@ "placement": "right" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "pluginVersion": "8.0.4", @@ -1071,6 +1205,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": " rate(mktxp_interface_rx_byte_total{routerboard_address=\"$node\"}[15s]) * 8 != 0", "format": "time_series", @@ -1099,6 +1237,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "- rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\"}[15s]) * 8 != 0", "format": "time_series", @@ -1123,13 +1265,14 @@ "refId": "B" } ], - "timeFrom": null, - "timeShift": null, "title": "Interface traffic ", "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -1198,11 +1341,16 @@ "placement": "right" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(mktxp_interface_rx_packet_total{routerboard_address=\"$node\"}[15s]) * 8 != 0", "interval": "", @@ -1214,7 +1362,10 @@ "type": "timeseries" }, { - "datasource": null, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -1280,11 +1431,16 @@ "placement": "right" }, "tooltip": { - "mode": "single" + "mode": "single", + "sort": "none" } }, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "exemplar": true, "expr": "rate(mktxp_interface_tx_packet_total{routerboard_address=\"$node\"}[15s]) * 8 != 0", "interval": "", @@ -1297,7 +1453,10 @@ }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -1306,12 +1465,23 @@ }, "id": 2, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "DHCP", "type": "row" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1346,10 +1516,11 @@ "y": 25 }, "id": 20, - "interval": null, "links": [], "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -1361,12 +1532,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -1391,13 +1566,14 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "DHCP Leases by Server", "type": "bargauge" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -1406,7 +1582,8 @@ "custom": { "align": "center", "displayMode": "auto", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -1505,6 +1682,13 @@ }, "id": 25, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -1513,10 +1697,13 @@ } ] }, - "pluginVersion": "8.0.4", - "repeat": null, + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_dhcp_lease_info{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -1525,8 +1712,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "DHCP Leases", "transformations": [ { @@ -1568,8 +1753,10 @@ "type": "table" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1604,10 +1791,11 @@ "y": 33 }, "id": 23, - "interval": null, "links": [], "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -1619,12 +1807,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "sum(mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"})", "format": "time_series", "functions": [], @@ -1649,14 +1841,15 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Total DHCP Leases", "type": "bargauge" }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -1665,11 +1858,23 @@ }, "id": 45, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "Network", "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1727,9 +1932,13 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_routes_total_routes{routerboard_address=\"$node\"}", "format": "time_series", "instant": true, @@ -1738,13 +1947,14 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Total Routes", "type": "gauge" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "links": [], @@ -1775,6 +1985,8 @@ "links": [], "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -1786,12 +1998,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "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": [], @@ -1816,13 +2032,14 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Routes per protocol", "type": "bargauge" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -1869,6 +2086,8 @@ "id": 69, "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -1880,9 +2099,13 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_interface_full_duplex{routerboard_address=\"$node\"}", "format": "time_series", "instant": true, @@ -1891,8 +2114,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Ethernet Ports: Full Duplex", "type": "bargauge" }, @@ -1901,7 +2122,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "editable": true, "error": false, "fieldConfig": { @@ -1940,7 +2164,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -1953,6 +2177,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_interface_rx_error_total{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -1976,6 +2204,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_interface_tx_error_total{routerboard_address=\"$node\"}", "format": "time_series", "hide": false, @@ -1986,9 +2218,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Interface Errors", "tooltip": { "msResolution": false, @@ -1998,9 +2228,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2008,29 +2236,25 @@ { "$$hashKey": "object:265", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:266", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -2077,6 +2301,8 @@ "id": 51, "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -2088,9 +2314,13 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_interface_status{routerboard_address=\"$node\"}", "format": "time_series", "instant": true, @@ -2099,19 +2329,21 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Ethernet Ports: Status", "type": "bargauge" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "custom": { - "align": null, + "align": "auto", "displayMode": "auto", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -2139,11 +2371,22 @@ }, "id": 53, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_interface_rate{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -2152,8 +2395,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Rates", "transformations": [ { @@ -2182,7 +2423,10 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -2191,7 +2435,8 @@ "custom": { "align": "center", "displayMode": "auto", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -2290,6 +2535,13 @@ }, "id": 85, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -2298,9 +2550,13 @@ } ] }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_poe_info{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -2309,8 +2565,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "POE", "transformations": [ { @@ -2357,7 +2611,10 @@ }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -2366,6 +2623,15 @@ }, "id": 84, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "Firewall", "type": "row" }, @@ -2377,7 +2643,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "editable": true, "error": false, @@ -2408,7 +2677,6 @@ "min": true, "rightSide": false, "show": true, - "sideWidth": null, "total": false, "values": true }, @@ -2421,7 +2689,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -2434,6 +2702,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\", log=\"1\"}[4m])", "format": "time_series", "functions": [], @@ -2459,9 +2731,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Logged Firewall Rules Traffic ", "tooltip": { "msResolution": false, @@ -2471,9 +2741,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2483,23 +2751,17 @@ "format": "decbytes", "label": "", "logBase": 2, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2510,7 +2772,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "editable": true, "error": false, @@ -2541,7 +2806,6 @@ "min": true, "rightSide": false, "show": true, - "sideWidth": null, "total": false, "values": true }, @@ -2554,7 +2818,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -2567,6 +2831,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\", log=\"1\"}[4m])", "format": "time_series", "functions": [], @@ -2592,9 +2860,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Logged Raw Firewall Rules Traffic ", "tooltip": { "msResolution": false, @@ -2604,9 +2870,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2616,23 +2880,17 @@ "format": "decbytes", "label": "", "logBase": 2, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2643,7 +2901,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "editable": true, "error": false, @@ -2674,7 +2935,6 @@ "min": true, "rightSide": false, "show": true, - "sideWidth": null, "total": false, "values": true }, @@ -2687,7 +2947,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -2700,6 +2960,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", "functions": [], @@ -2725,9 +2989,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Firewall Rules Traffic ", "tooltip": { "msResolution": false, @@ -2737,9 +2999,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2749,23 +3009,17 @@ "format": "decbytes", "label": "", "logBase": 2, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2776,7 +3030,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "editable": true, "error": false, @@ -2807,7 +3064,6 @@ "min": true, "rightSide": false, "show": true, - "sideWidth": null, "total": false, "values": true }, @@ -2820,7 +3076,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -2833,6 +3089,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", "functions": [], @@ -2858,9 +3118,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Raw Firewall Rules Traffic ", "tooltip": { "msResolution": false, @@ -2870,9 +3128,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2882,23 +3138,17 @@ "format": "decbytes", "label": "", "logBase": 2, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -2906,7 +3156,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "decimals": 0, "fieldConfig": { "defaults": { @@ -2944,7 +3197,7 @@ "alertThreshold": false }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -2954,6 +3207,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_internet_bandwidth", "instant": false, "interval": "", @@ -2962,9 +3219,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Internet Bandwidth", "tooltip": { "shared": true, @@ -2973,9 +3228,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -2986,23 +3239,17 @@ "format": "binbps", "label": "", "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:55", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -3010,7 +3257,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "decimals": 0, "fieldConfig": { "defaults": { @@ -3048,7 +3298,7 @@ "alertThreshold": false }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -3058,6 +3308,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_internet_latency", "instant": false, "interval": "", @@ -3066,9 +3320,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Internet Latency", "tooltip": { "shared": true, @@ -3077,9 +3329,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -3090,28 +3340,25 @@ "format": "ms", "label": "", "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:55", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -3120,6 +3367,15 @@ }, "id": 90, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "Netwatch", "type": "row" }, @@ -3127,7 +3383,6 @@ "cards": { "cardHSpacing": 2, "cardMinWidth": 5, - "cardRound": null, "cardVSpacing": 2 }, "color": { @@ -3152,7 +3407,10 @@ } ] }, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "gridPos": { "h": 8, @@ -3179,6 +3437,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "max_over_time(mktxp_netwatch_status{routerboard_address=\"$node\"}[1m])", "format": "time_series", "functions": [], @@ -3203,8 +3465,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Status over time", "tooltip": { "customContent": "", @@ -3235,7 +3495,10 @@ } }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -3244,7 +3507,8 @@ "custom": { "align": "center", "displayMode": "color-text", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -3309,12 +3573,23 @@ }, "id": 88, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_netwatch_info{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -3323,8 +3598,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Netwatch Info", "transformations": [ { @@ -3374,7 +3647,10 @@ }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -3383,6 +3659,15 @@ }, "id": 29, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "Wireless", "type": "row" }, @@ -3391,7 +3676,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "links": [] @@ -3427,7 +3715,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -3437,6 +3725,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_noise_floor{routerboard_address=\"$node\"}", "interval": "", "legendFormat": "{{channel}}", @@ -3444,9 +3736,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Noise Floor", "tooltip": { "shared": true, @@ -3455,9 +3745,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -3466,25 +3754,18 @@ "$$hashKey": "object:156", "decimals": 1, "format": "dB", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:157", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -3492,7 +3773,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "decimals": 2, "fieldConfig": { "defaults": { @@ -3529,7 +3813,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -3539,6 +3823,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_overall_tx_ccq{routerboard_address=\"$node\"}", "instant": false, "interval": "", @@ -3547,9 +3835,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Overall Tx CCQ", "tooltip": { "shared": true, @@ -3558,9 +3844,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -3569,29 +3853,26 @@ "$$hashKey": "object:54", "decimals": 2, "format": "percent", - "label": null, "logBase": 1, "max": "100", - "min": null, "show": true }, { "$$hashKey": "object:55", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -3600,7 +3881,8 @@ "custom": { "align": "center", "displayMode": "auto", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -3687,6 +3969,13 @@ }, "id": 68, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -3695,10 +3984,13 @@ } ] }, - "pluginVersion": "8.0.4", - "repeat": null, + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_clients_devices_info{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -3707,8 +3999,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Client Devices", "transformations": [ { @@ -3750,7 +4040,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "decimals": 0, "fieldConfig": { "defaults": { @@ -3787,7 +4080,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -3797,6 +4090,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_registered_clients{routerboard_address=\"$node\"}", "interval": "", "legendFormat": "{{channel}}", @@ -3804,9 +4101,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Number of clients", "tooltip": { "shared": true, @@ -3815,9 +4110,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -3826,25 +4119,18 @@ "$$hashKey": "object:501", "decimals": 0, "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:502", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -3852,7 +4138,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "decimals": 0, "description": "", "fieldConfig": { @@ -3891,7 +4180,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -3901,6 +4190,10 @@ "steppedLine": false, "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_clients_tx_ccq{routerboard_address=\"$node\"}", "instant": false, "interval": "", @@ -3909,9 +4202,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "WLAN Clients Tx CCQ", "tooltip": { "shared": true, @@ -3920,36 +4211,27 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:108", - "decimals": null, "format": "percent", - "label": null, "logBase": 1, "max": "100", - "min": null, "show": true }, { "$$hashKey": "object:109", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -3960,7 +4242,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "editable": true, "error": false, @@ -4002,7 +4287,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -4026,6 +4311,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_wlan_clients_tx_bytes_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", "functions": [], @@ -4053,6 +4342,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_wlan_clients_rx_bytes_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", "functions": [], @@ -4077,9 +4370,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Clients Traffic", "tooltip": { "msResolution": false, @@ -4089,9 +4380,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -4099,25 +4388,18 @@ { "$$hashKey": "object:706", "format": "bps", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -4125,7 +4407,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "decimals": 0, "fieldConfig": { "defaults": { @@ -4165,7 +4450,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -4178,6 +4463,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -4203,9 +4492,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Clients Signal Strength", "tooltip": { "shared": true, @@ -4214,36 +4501,26 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:788", - "decimals": null, "format": "dB", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:789", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -4251,7 +4528,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "links": [], @@ -4290,7 +4570,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -4303,6 +4583,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_wlan_clients_signal_to_noise{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -4328,9 +4612,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "Clients Signal-to-Noise ", "tooltip": { "shared": true, @@ -4339,41 +4621,34 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:788", - "decimals": null, "format": "none", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:789", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -4382,17 +4657,30 @@ }, "id": 33, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "CAPsMAN", "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "custom": { "align": "center", "displayMode": "auto", - "filterable": false + "filterable": false, + "inspect": false }, "decimals": 2, "mappings": [], @@ -4458,12 +4746,23 @@ }, "id": 35, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_capsman_remote_caps_info{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -4472,8 +4771,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Remote Caps", "transformations": [ { @@ -4508,7 +4805,10 @@ "type": "table" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -4517,7 +4817,8 @@ "custom": { "align": "center", "displayMode": "auto", - "filterable": false + "filterable": false, + "inspect": false }, "mappings": [], "thresholds": { @@ -4604,6 +4905,13 @@ }, "id": 41, "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, "showHeader": true, "sortBy": [ { @@ -4612,10 +4920,13 @@ } ] }, - "pluginVersion": "8.0.4", - "repeat": null, + "pluginVersion": "9.0.6", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_capsman_clients_devices_info{routerboard_address=\"$node\"}", "format": "table", "instant": true, @@ -4624,8 +4935,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "CAPsMAN Clients", "transformations": [ { @@ -4665,8 +4974,10 @@ "type": "table" }, { - "cacheTimeout": null, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "description": "", "fieldConfig": { "defaults": { @@ -4701,10 +5012,11 @@ "y": 127 }, "id": 47, - "interval": null, "links": [], "options": { "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -4716,12 +5028,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_capsman_registrations_count{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -4746,6 +5062,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "sum(mktxp_capsman_registrations_count{routerboard_address=\"$node\"})", "instant": true, "interval": "", @@ -4753,13 +5073,14 @@ "refId": "B" } ], - "timeFrom": null, - "timeShift": null, "title": "CAPsMAN Registrations", "type": "bargauge" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -4806,6 +5127,8 @@ "links": [], "options": { "displayMode": "gradient", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -4817,12 +5140,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -4847,8 +5174,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "Registered Client Signal Strength", "type": "bargauge" }, @@ -4857,7 +5182,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "links": [], @@ -4896,7 +5224,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -4909,6 +5237,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}", "format": "time_series", "functions": [], @@ -4934,9 +5266,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "CAPsMan Clients Signal Strength", "tooltip": { "shared": true, @@ -4945,18 +5275,14 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:788", - "decimals": null, "format": "dB", - "label": null, "logBase": 1, "max": "-16", "min": "-80", @@ -4965,16 +5291,12 @@ { "$$hashKey": "object:789", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { @@ -4985,7 +5307,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "editable": true, "error": false, "fieldConfig": { @@ -5026,7 +5351,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -5050,6 +5375,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_capsman_clients_tx_bytes_total{routerboard_address=\"$node\"}[15s]) * 8", "format": "time_series", "functions": [], @@ -5077,6 +5406,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_capsman_clients_rx_bytes_total{routerboard_address=\"$node\"}[15s]) * 8", "format": "time_series", "functions": [], @@ -5101,9 +5434,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "CAPsMAN Clients Traffic", "tooltip": { "msResolution": false, @@ -5113,9 +5444,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -5123,30 +5452,26 @@ { "$$hashKey": "object:706", "format": "bps", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 1, - "max": null, - "min": null, "show": false } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } }, { "collapsed": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, "gridPos": { "h": 1, "w": 24, @@ -5155,11 +5480,23 @@ }, "id": 80, "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], "title": "MKTXP Metrics", "type": "row" }, { - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "fieldConfig": { "defaults": { "color": { @@ -5202,6 +5539,8 @@ "links": [], "options": { "displayMode": "gradient", + "minVizHeight": 10, + "minVizWidth": 0, "orientation": "horizontal", "reduceOptions": { "calcs": [ @@ -5213,12 +5552,16 @@ "showUnfilled": true, "text": {} }, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "targets": [ { "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]) ", "format": "time_series", "functions": [], @@ -5243,8 +5586,6 @@ "refId": "A" } ], - "timeFrom": null, - "timeShift": null, "title": "MKTXP Collection Times", "type": "bargauge" }, @@ -5256,7 +5597,10 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "Prometheus", + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "editable": true, "error": false, "fieldConfig": { @@ -5297,7 +5641,7 @@ }, "paceLength": 10, "percentage": false, - "pluginVersion": "8.0.4", + "pluginVersion": "9.0.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -5321,6 +5665,10 @@ "application": { "filter": "Network" }, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m])", "format": "time_series", "functions": [], @@ -5345,6 +5693,10 @@ "refId": "A" }, { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, "expr": "sum(rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]))", "interval": "", "legendFormat": "Total", @@ -5352,9 +5704,7 @@ } ], "thresholds": [], - "timeFrom": null, "timeRegions": [], - "timeShift": null, "title": "MKTXP Collection Times", "tooltip": { "msResolution": false, @@ -5364,9 +5714,7 @@ }, "type": "graph", "xaxis": { - "buckets": null, "mode": "time", - "name": null, "show": true, "values": [] }, @@ -5374,30 +5722,418 @@ { "$$hashKey": "object:706", "format": "ms", - "label": null, "logBase": 2, - "max": null, - "min": null, "show": true }, { "$$hashKey": "object:707", "format": "short", - "label": null, "logBase": 2, - "max": null, - "min": null, "show": true } ], "yaxis": { - "align": false, - "alignLevel": null + "align": false } + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 0, + "y": 164 + }, + "id": 96, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "python_gc_collections_total{generation=\"0\"}", + "legendFormat": "{{__name__}}", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "python_gc_objects_collected_total{generation=\"0\"}", + "hide": false, + "legendFormat": "{{__name__}}", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "builder", + "expr": "python_gc_objects_uncollectable_total{generation=\"0\"}", + "hide": false, + "legendFormat": "{{__name__}}", + "range": true, + "refId": "C" + } + ], + "title": "Python Garbage Collector", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 6, + "y": 164 + }, + "id": 98, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "builder", + "expr": "process_open_fds", + "hide": false, + "legendFormat": "{{__name__}}", + "range": true, + "refId": "B" + } + ], + "title": "Open File Descriptors", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 12, + "y": 164 + }, + "id": 100, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(process_cpu_seconds_total[4m])", + "legendFormat": "process_cpu_seconds_total", + "range": true, + "refId": "A" + } + ], + "title": "CPU Seconds", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 6, + "x": 18, + "y": 164 + }, + "id": 102, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "builder", + "expr": "process_resident_memory_bytes", + "legendFormat": "{{__name__}}", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "builder", + "expr": "process_virtual_memory_bytes", + "hide": false, + "legendFormat": "{{__name__}}", + "range": true, + "refId": "B" + } + ], + "title": "Process Memory", + "type": "timeseries" } ], "refresh": "10s", - "schemaVersion": 30, + "schemaVersion": 36, "style": "dark", "tags": [ "mikrotik", @@ -5407,16 +6143,12 @@ "templating": { "list": [ { - "allValue": null, - "current": { - "selected": false, - "text": "10.0.10.1", - "value": "10.0.10.1" + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "datasource": "Prometheus", "definition": "label_values(mktxp_system_identity_info, routerboard_address)", - "description": null, - "error": null, "hide": 0, "includeAll": false, "label": "node", @@ -5446,5 +6178,6 @@ "timezone": "", "title": "Mikrotik MKTXP Exporter", "uid": "0j4sdLm7z", - "version": 7 -} + "version": 3, + "weekStart": "" +} \ No newline at end of file