diff --git a/grafana/provisioning/dashboards/mikrotik/monitor.json b/grafana/provisioning/dashboards/mikrotik/monitor.json index eaac5cc..a68fda5 100644 --- a/grafana/provisioning/dashboards/mikrotik/monitor.json +++ b/grafana/provisioning/dashboards/mikrotik/monitor.json @@ -2464,7 +2464,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "datasource": { "type": "prometheus" }, @@ -2475,7 +2475,799 @@ "y": 35 }, "id": 45, - "panels": [], + "panels": [ + { + "datasource": { + "type": "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": 36 + }, + "id": 70, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "horizontal", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto", + "text": {} + }, + "pluginVersion": "11.2.0", + "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" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 2, + "y": 36 + }, + "id": 71, + "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": "11.2.0", + "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" + }, + { + "color": "yellow", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "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": "11.2.0", + "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" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 12, + "x": 12, + "y": 36 + }, + "id": 143, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": ["lastNotNull"], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.2.0", + "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" + }, + { + "datasource": { + "type": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 14, + "w": 12, + "x": 12, + "y": 38 + }, + "id": 55, + "options": { + "legend": { + "calcs": ["mean", "sum"], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "10.3.1", + "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" + } + ], + "title": "Interface Errors", + "type": "timeseries" + }, + { + "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" + }, + { + "color": "yellow", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "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": "11.2.0", + "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" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Mbits" + }, + "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": "11.2.0", + "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" + }, + { + "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": 48 + }, + "id": 85, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": ["sum"], + "show": false + }, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "active_address" + } + ] + }, + "pluginVersion": "11.2.0", + "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" + } + ], "targets": [ { "datasource": { @@ -2487,805 +3279,6 @@ "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 - } - ] - } - }, - "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": "11.2.0", - "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 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 5, - "w": 4, - "x": 2, - "y": 36 - }, - "id": 71, - "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": "11.2.0", - "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 - } - ] - } - }, - "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": "11.2.0", - "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 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 2, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 143, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": ["lastNotNull"], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "11.2.0", - "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" - }, - { - "datasource": { - "type": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 10, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 38 - }, - "id": 55, - "options": { - "legend": { - "calcs": ["mean", "sum"], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.3.1", - "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" - } - ], - "title": "Interface Errors", - "type": "timeseries" - }, - { - "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 - } - ] - } - }, - "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": "11.2.0", - "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" - }, - "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": "11.2.0", - "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 - } - ] - } - }, - "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": "11.2.0", - "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": { @@ -3295,7 +3288,7 @@ "h": 1, "w": 24, "x": 0, - "y": 52 + "y": 36 }, "id": 84, "panels": [ @@ -4224,7 +4217,7 @@ "type": "row" }, { - "collapsed": false, + "collapsed": true, "datasource": { "type": "prometheus" }, @@ -4232,10 +4225,261 @@ "h": 1, "w": 24, "x": 0, - "y": 53 + "y": 37 }, "id": 90, - "panels": [], + "panels": [ + { + "datasource": { + "default": true, + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-GrYlRd" + }, + "custom": { + "fillOpacity": 70, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineWidth": 0, + "spanNulls": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 38 + }, + "id": 87, + "options": { + "alignValue": "left", + "legend": { + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mergeValues": true, + "rowHeight": 0.9, + "showValue": "auto", + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "7.4.5", + "targets": [ + { + "application": { + "filter": "Network" + }, + "datasource": { + "type": "prometheus" + }, + "editorMode": "code", + "expr": "max(max_over_time(mktxp_netwatch_status{routerboard_address=\"$node\"}[1m])) by (name)\n", + "format": "time_series", + "functions": [], + "group": { + "filter": "Network" + }, + "hide": false, + "host": { + "filter": "MikroTik Router" + }, + "instant": false, + "interval": "", + "intervalFactor": 1, + "item": { + "filter": "Incoming traffic on interface ether1-gateway" + }, + "legendFormat": "{{ name }}", + "mode": 0, + "options": { + "showDisabledItems": false + }, + "refId": "A" + } + ], + "title": "Status over time", + "type": "state-timeline" + }, + { + "datasource": { + "type": "prometheus" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "fixed" + }, + "custom": { + "align": "center", + "cellOptions": { + "type": "color-text" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 0 + }, + { + "color": "green", + "value": 1 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Status" + }, + "properties": [ + { + "id": "mappings", + "value": [ + { + "options": { + "0": { + "text": "Down" + }, + "1": { + "text": "Up" + } + }, + "type": "value" + } + ] + }, + { + "id": "color", + "value": { + "mode": "fixed" + } + }, + { + "id": "color" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 38 + }, + "id": 88, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": ["sum"], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "11.2.0", + "targets": [ + { + "datasource": { + "type": "prometheus" + }, + "expr": "mktxp_netwatch_info{routerboard_address=\"$node\"}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Netwatch Info", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value": true, + "__name__": true, + "disabled": true, + "instance": true, + "job": true, + "name": true, + "routerboard_address": true, + "routerboard_name": true, + "timeout": true + }, + "indexByName": { + "Time": 5, + "Value": 9, + "__name__": 4, + "comment": 1, + "host": 0, + "instance": 3, + "interval": 11, + "job": 6, + "name": 12, + "routerboard_address": 7, + "routerboard_name": 8, + "since": 10, + "status": 2, + "timeout": 13 + }, + "renameByName": { + "comment": "Comment", + "host": "Host", + "host_name": "Host Name", + "interval": "Interval", + "server": "DHCP Server", + "since": "Since", + "status": "Status" + } + } + } + ], + "type": "table" + } + ], "targets": [ { "datasource": { @@ -4247,256 +4491,6 @@ "title": "Netwatch", "type": "row" }, - { - "datasource": { - "default": true, - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "continuous-GrYlRd" - }, - "custom": { - "fillOpacity": 70, - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineWidth": 0, - "spanNulls": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 54 - }, - "id": 87, - "options": { - "alignValue": "left", - "legend": { - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "mergeValues": true, - "rowHeight": 0.9, - "showValue": "auto", - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "7.4.5", - "targets": [ - { - "application": { - "filter": "Network" - }, - "datasource": { - "type": "prometheus" - }, - "editorMode": "code", - "expr": "max(max_over_time(mktxp_netwatch_status{routerboard_address=\"$node\"}[1m])) by (name)\n", - "format": "time_series", - "functions": [], - "group": { - "filter": "Network" - }, - "hide": false, - "host": { - "filter": "MikroTik Router" - }, - "instant": false, - "interval": "", - "intervalFactor": 1, - "item": { - "filter": "Incoming traffic on interface ether1-gateway" - }, - "legendFormat": "{{ name }}", - "mode": 0, - "options": { - "showDisabledItems": false - }, - "refId": "A" - } - ], - "title": "Status over time", - "type": "state-timeline" - }, - { - "datasource": { - "type": "prometheus" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "fixed" - }, - "custom": { - "align": "center", - "cellOptions": { - "type": "color-text" - }, - "filterable": false, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 0 - }, - { - "color": "green", - "value": 1 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Status" - }, - "properties": [ - { - "id": "mappings", - "value": [ - { - "options": { - "0": { - "text": "Down" - }, - "1": { - "text": "Up" - } - }, - "type": "value" - } - ] - }, - { - "id": "color", - "value": { - "mode": "fixed" - } - }, - { - "id": "color" - } - ] - } - ] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 54 - }, - "id": 88, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": ["sum"], - "show": false - }, - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "11.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus" - }, - "expr": "mktxp_netwatch_info{routerboard_address=\"$node\"}", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Netwatch Info", - "transformations": [ - { - "id": "organize", - "options": { - "excludeByName": { - "Time": true, - "Value": true, - "__name__": true, - "disabled": true, - "instance": true, - "job": true, - "name": true, - "routerboard_address": true, - "routerboard_name": true, - "timeout": true - }, - "indexByName": { - "Time": 5, - "Value": 9, - "__name__": 4, - "comment": 1, - "host": 0, - "instance": 3, - "interval": 11, - "job": 6, - "name": 12, - "routerboard_address": 7, - "routerboard_name": 8, - "since": 10, - "status": 2, - "timeout": 13 - }, - "renameByName": { - "comment": "Comment", - "host": "Host", - "host_name": "Host Name", - "interval": "Interval", - "server": "DHCP Server", - "since": "Since", - "status": "Status" - } - } - } - ], - "type": "table" - }, { "collapsed": true, "datasource": { @@ -4506,61 +4500,133 @@ "h": 1, "w": 24, "x": 0, - "y": 62 + "y": 38 }, "id": 29, "panels": [ { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus" }, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "dB" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsNull", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 181 + "y": 39 }, - "hiddenSeries": false, "id": 31, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": ["mean", "lastNotNull", "max", "min"], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, "pluginVersion": "9.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "datasource": { @@ -4572,91 +4638,133 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Noise Floor", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:156", - "decimals": 1, - "format": "dB", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:157", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus" }, - "decimals": 2, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 2, + "links": [], + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsNull", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 181 + "y": 39 }, - "hiddenSeries": false, "id": 73, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": ["mean", "lastNotNull", "max", "min"], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, "pluginVersion": "9.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "datasource": { @@ -4669,39 +4777,8 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Overall Tx CCQ", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:54", - "decimals": 2, - "format": "percent", - "logBase": 1, - "max": "100", - "show": true - }, - { - "$$hashKey": "object:55", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { "datasource": { @@ -4725,7 +4802,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -4800,11 +4878,13 @@ "h": 8, "w": 12, "x": 0, - "y": 189 + "y": 47 }, "id": 68, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": ["sum"], "show": false @@ -4817,7 +4897,7 @@ } ] }, - "pluginVersion": "9.0.6", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -4868,57 +4948,128 @@ "type": "table" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus" }, - "decimals": 0, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsNull", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 189 + "y": 47 }, - "hiddenSeries": false, "id": 37, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideEmpty": true, - "hideZero": true, - "max": true, - "min": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": ["mean", "lastNotNull", "max", "min"], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, "pluginVersion": "9.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "datasource": { @@ -4930,93 +5081,113 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Number of clients", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:501", - "decimals": 0, - "format": "short", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:502", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus" }, - "decimals": 0, "description": "", "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "max": 100, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsNull", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, - "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, - "y": 197 + "y": 55 }, - "hiddenSeries": false, "id": 61, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideEmpty": true, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": ["mean"], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, "pluginVersion": "9.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "datasource": { @@ -5029,110 +5200,163 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "WLAN Clients Tx CCQ", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:108", - "format": "percent", - "logBase": 1, - "max": "100", - "show": true - }, - { - "$$hashKey": "object:109", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": { - "Incoming traffic on interface ether1-gateway": "#1F78C1", - "Outgoing traffic on interface ether1-gateway": "#EAB839" - }, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { - "type": "prometheus" + "default": true, + "type": "prometheus", + "uid": "PBFA97CFB590B2093" }, "description": "", - "editable": true, - "error": false, "fieldConfig": { "defaults": { - "links": [] + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Incoming traffic on interface ether1-gateway" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F78C1", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Outgoing traffic on interface ether1-gateway" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#EAB839", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/Out/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#EAB839", + "mode": "fixed" + } + }, + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] + } + ] }, - "fill": 3, - "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 197 + "y": 55 }, - "hiddenSeries": false, "id": 63, - "legend": { - "alignAsTable": true, - "avg": false, - "current": false, - "hideEmpty": false, - "hideZero": true, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": false - }, - "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": [ - { - "$$hashKey": "object:176", - "alias": "/In/" + "legend": { + "calcs": [], + "displayMode": "table", + "placement": "right", + "showLegend": true }, - { - "$$hashKey": "object:177", - "alias": "/Out/", - "color": "#EAB839", - "transform": "negative-Y" + "tooltip": { + "mode": "multi", + "sort": "desc" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "9.0.6", "targets": [ { "application": { @@ -5141,7 +5365,8 @@ "datasource": { "type": "prometheus" }, - "expr": "rate(mktxp_wlan_clients_tx_bytes_total{routerboard_address=\"$node\"}[4m])", + "editorMode": "code", + "expr": "rate(mktxp_wlan_clients_tx_bytes_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", "format": "time_series", "functions": [], "group": { @@ -5171,7 +5396,8 @@ "datasource": { "type": "prometheus" }, - "expr": "rate(mktxp_wlan_clients_rx_bytes_total{routerboard_address=\"$node\"}[4m])", + "editorMode": "code", + "expr": "rate(mktxp_wlan_clients_rx_bytes_total{routerboard_address=\"$node\"}[$__rate_interval]) * 8", "format": "time_series", "functions": [], "group": { @@ -5191,97 +5417,94 @@ "options": { "showDisabledItems": false }, + "range": true, "refId": "B" } ], - "thresholds": [], - "timeRegions": [], "title": "Clients Traffic", - "tooltip": { - "msResolution": false, - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:706", - "format": "bps", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:707", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus" }, - "decimals": 0, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "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": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "dB" }, "overrides": [] }, - "fill": 0, - "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 0, - "y": 205 + "y": 63 }, - "hiddenSeries": false, "id": 65, - "legend": { - "alignAsTable": false, - "avg": true, - "current": false, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": ["mean"], + "displayMode": "list", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, "pluginVersion": "9.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "application": { @@ -5314,92 +5537,90 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Clients Signal Strength", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:788", - "format": "dB", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:789", - "format": "short", - "logBase": 1, - "show": false - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, "datasource": { "type": "prometheus" }, "fieldConfig": { "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "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": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, "unit": "none" }, "overrides": [] }, - "fill": 0, - "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, - "y": 205 + "y": 63 }, - "hiddenSeries": false, "id": 66, - "legend": { - "alignAsTable": true, - "avg": true, - "current": false, - "hideEmpty": false, - "hideZero": false, - "max": false, - "min": false, - "rightSide": true, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": ["mean"], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "desc" + } }, - "percentage": false, "pluginVersion": "9.0.6", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { "application": { @@ -5432,37 +5653,8 @@ "refId": "A" } ], - "thresholds": [], - "timeRegions": [], "title": "Clients Signal-to-Noise ", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "mode": "time", - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:788", - "format": "none", - "logBase": 1, - "show": true - }, - { - "$$hashKey": "object:789", - "format": "short", - "logBase": 1, - "show": true - } - ], - "yaxis": { - "align": false - } + "type": "timeseries" } ], "targets": [ @@ -5485,7 +5677,7 @@ "h": 1, "w": 24, "x": 0, - "y": 63 + "y": 39 }, "id": 33, "panels": [ @@ -5509,7 +5701,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5562,11 +5755,13 @@ "h": 7, "w": 6, "x": 0, - "y": 182 + "y": 40 }, "id": 35, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": ["sum"], "show": false @@ -5574,7 +5769,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "9.0.6", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -5643,7 +5838,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -5718,11 +5914,13 @@ "h": 15, "w": 18, "x": 6, - "y": 182 + "y": 40 }, "id": 41, "options": { + "cellHeight": "sm", "footer": { + "countRows": false, "fields": "", "reducer": ["sum"], "show": false @@ -5735,7 +5933,7 @@ } ] }, - "pluginVersion": "9.0.6", + "pluginVersion": "11.2.0", "targets": [ { "datasource": { @@ -5821,10 +6019,9 @@ "h": 9, "w": 6, "x": 0, - "y": 189 + "y": 47 }, "id": 47, - "links": [], "options": { "displayMode": "lcd", "minVizHeight": 10, @@ -5921,7 +6118,7 @@ "h": 8, "w": 18, "x": 6, - "y": 197 + "y": 55 }, "id": 104, "options": { @@ -6032,10 +6229,9 @@ "h": 16, "w": 6, "x": 0, - "y": 198 + "y": 56 }, "id": 48, - "links": [], "options": { "displayMode": "gradient", "minVizHeight": 10, @@ -6087,6 +6283,7 @@ }, { "aliasColors": {}, + "autoMigrateFrom": "graph", "bars": false, "dashLength": 10, "dashes": false, @@ -6106,7 +6303,7 @@ "h": 9, "w": 18, "x": 6, - "y": 205 + "y": 63 }, "hiddenSeries": false, "id": 49, @@ -6125,7 +6322,6 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", "options": { "alertThreshold": true @@ -6179,7 +6375,7 @@ "sort": 2, "value_type": "individual" }, - "type": "graph", + "type": "timeseries", "xaxis": { "mode": "time", "show": true, @@ -6210,6 +6406,7 @@ "Incoming traffic on interface ether1-gateway": "#1F78C1", "Outgoing traffic on interface ether1-gateway": "#EAB839" }, + "autoMigrateFrom": "graph", "bars": false, "dashLength": 10, "dashes": false, @@ -6231,7 +6428,7 @@ "h": 10, "w": 24, "x": 0, - "y": 214 + "y": 72 }, "hiddenSeries": false, "id": 39, @@ -6250,7 +6447,6 @@ }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "connected", "options": { "alertThreshold": true @@ -6346,7 +6542,7 @@ "sort": 2, "value_type": "individual" }, - "type": "graph", + "type": "timeseries", "xaxis": { "mode": "time", "show": true, @@ -6388,7 +6584,7 @@ "h": 1, "w": 24, "x": 0, - "y": 64 + "y": 40 }, "id": 148, "panels": [ @@ -6837,7 +7033,7 @@ "h": 1, "w": 24, "x": 0, - "y": 65 + "y": 41 }, "id": 125, "panels": [ @@ -6992,7 +7188,7 @@ "h": 1, "w": 24, "x": 0, - "y": 66 + "y": 42 }, "id": 80, "panels": [ @@ -7577,6 +7773,6 @@ "timezone": "", "title": "Mikrotik MKTXP Exporter", "uid": "0j4sdLm7z", - "version": 9, + "version": 12, "weekStart": "" }