diff --git a/conf/grafana_dashboard.json b/conf/grafana_dashboard.json index fb8e3c5..6f4fc4e 100644 --- a/conf/grafana_dashboard.json +++ b/conf/grafana_dashboard.json @@ -118,6 +118,19 @@ ], "liveNow": false, "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1740, + "panels": [], + "title": "Map", + "type": "row" + }, { "datasource": { "type": "marcusolsson-json-datasource", @@ -167,7 +180,7 @@ "h": 16, "w": 24, "x": 0, - "y": 0 + "y": 1 }, "id": 1717, "options": { @@ -280,7 +293,7 @@ "h": 1, "w": 24, "x": 0, - "y": 16 + "y": 17 }, "id": 1655, "panels": [], @@ -348,7 +361,7 @@ "h": 4, "w": 4, "x": 0, - "y": 17 + "y": 18 }, "id": 1656, "maxDataPoints": 100, @@ -366,7 +379,7 @@ }, "showPercentChange": false, "text": {}, - "textMode": "auto", + "textMode": "value_and_name", "wideLayout": true }, "pluginVersion": "10.4.2", @@ -376,11 +389,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": true, "expr": "snmp_scrape_duration_seconds{instance='$instance'}", "instant": true, "interval": "", - "legendFormat": "", + "legendFormat": "{{module}}", "refId": "A" } ], @@ -439,7 +453,7 @@ "h": 4, "w": 4, "x": 4, - "y": 17 + "y": 18 }, "id": 1657, "maxDataPoints": 100, @@ -457,7 +471,7 @@ }, "showPercentChange": false, "text": {}, - "textMode": "auto", + "textMode": "value_and_name", "wideLayout": true }, "pluginVersion": "10.4.2", @@ -467,11 +481,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": true, "expr": "snmp_scrape_walk_duration_seconds{instance='$instance'}", "instant": true, "interval": "", - "legendFormat": "", + "legendFormat": "{{module}}", "refId": "A" } ], @@ -518,7 +533,7 @@ "h": 4, "w": 4, "x": 8, - "y": 17 + "y": 18 }, "id": 1658, "maxDataPoints": 100, @@ -536,7 +551,7 @@ }, "showPercentChange": false, "text": {}, - "textMode": "auto", + "textMode": "value_and_name", "wideLayout": true }, "pluginVersion": "10.4.2", @@ -546,11 +561,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": true, "expr": "snmp_scrape_pdus_returned{instance='$instance'}", "instant": true, "interval": "", - "legendFormat": "", + "legendFormat": "{{module}}", "refId": "A" } ], @@ -567,7 +583,7 @@ "h": 1, "w": 24, "x": 0, - "y": 21 + "y": 22 }, "id": 1218, "panels": [], @@ -639,7 +655,7 @@ "h": 2, "w": 4, "x": 0, - "y": 22 + "y": 23 }, "id": 476, "maxDataPoints": 100, @@ -667,10 +683,12 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": true, - "expr": "sysUpTime{instance='$instance'}/100", + "expr": "sysUpTime{instance='$instance', job=\"mgmt\"}/100", "interval": "", "legendFormat": "", + "range": true, "refId": "A" } ], @@ -747,7 +765,7 @@ "h": 2, "w": 2, "x": 4, - "y": 22 + "y": 23 }, "id": 1220, "options": { @@ -817,7 +835,7 @@ "h": 2, "w": 2, "x": 6, - "y": 22 + "y": 23 }, "id": 1614, "options": { @@ -884,7 +902,7 @@ "h": 2, "w": 4, "x": 8, - "y": 22 + "y": 23 }, "id": 1264, "options": { @@ -951,7 +969,7 @@ "h": 2, "w": 4, "x": 12, - "y": 22 + "y": 23 }, "id": 1311, "options": { @@ -1018,7 +1036,7 @@ "h": 2, "w": 8, "x": 16, - "y": 22 + "y": 23 }, "id": 1241, "options": { @@ -1086,7 +1104,7 @@ "h": 2, "w": 4, "x": 0, - "y": 24 + "y": 25 }, "id": 1325, "maxDataPoints": 100, @@ -1152,7 +1170,7 @@ "h": 2, "w": 2, "x": 4, - "y": 24 + "y": 25 }, "id": 1222, "options": { @@ -1220,7 +1238,7 @@ "h": 2, "w": 2, "x": 6, - "y": 24 + "y": 25 }, "id": 1650, "options": { @@ -1288,7 +1306,7 @@ "h": 2, "w": 4, "x": 8, - "y": 24 + "y": 25 }, "id": 1248, "options": { @@ -1355,7 +1373,7 @@ "h": 2, "w": 4, "x": 12, - "y": 24 + "y": 25 }, "id": 1649, "options": { @@ -1433,7 +1451,7 @@ "h": 2, "w": 8, "x": 16, - "y": 24 + "y": 25 }, "id": 1653, "maxDataPoints": 100, @@ -1511,7 +1529,7 @@ "h": 5, "w": 4, "x": 0, - "y": 26 + "y": 27 }, "id": 1703, "options": { @@ -1597,7 +1615,7 @@ "h": 5, "w": 4, "x": 4, - "y": 26 + "y": 27 }, "id": 482, "maxDataPoints": 100, @@ -1684,7 +1702,7 @@ "h": 5, "w": 4, "x": 8, - "y": 26 + "y": 27 }, "id": 480, "maxDataPoints": 100, @@ -1767,7 +1785,7 @@ "h": 5, "w": 4, "x": 12, - "y": 26 + "y": 27 }, "id": 1237, "options": { @@ -1869,7 +1887,7 @@ "h": 13, "w": 8, "x": 16, - "y": 26 + "y": 27 }, "id": 1262, "maxDataPoints": 100, @@ -1982,7 +2000,7 @@ "h": 4, "w": 4, "x": 0, - "y": 31 + "y": 32 }, "id": 1240, "options": { @@ -2049,7 +2067,7 @@ "h": 4, "w": 4, "x": 4, - "y": 31 + "y": 32 }, "id": 1242, "options": { @@ -2116,7 +2134,7 @@ "h": 4, "w": 4, "x": 8, - "y": 31 + "y": 32 }, "id": 1645, "options": { @@ -2199,7 +2217,7 @@ "h": 4, "w": 4, "x": 12, - "y": 31 + "y": 32 }, "id": 1260, "maxDataPoints": 100, @@ -2308,7 +2326,7 @@ "h": 4, "w": 4, "x": 0, - "y": 35 + "y": 36 }, "id": 1276, "options": { @@ -2377,7 +2395,7 @@ "h": 4, "w": 4, "x": 4, - "y": 35 + "y": 36 }, "id": 1279, "options": { @@ -2445,7 +2463,7 @@ "h": 4, "w": 4, "x": 8, - "y": 35 + "y": 36 }, "id": 1277, "options": { @@ -2513,7 +2531,7 @@ "h": 4, "w": 4, "x": 12, - "y": 35 + "y": 36 }, "id": 1278, "options": { @@ -2614,7 +2632,7 @@ "h": 8, "w": 24, "x": 0, - "y": 39 + "y": 40 }, "id": 1239, "options": { @@ -2658,7 +2676,7 @@ }, "editorMode": "code", "exemplar": true, - "expr": "-irate(ifOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "expr": "-irate(ifHCOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", "hide": false, "interval": "", "intervalFactor": 1, @@ -3048,7 +3066,7 @@ "h": 12, "w": 24, "x": 0, - "y": 47 + "y": 48 }, "id": 1275, "options": { @@ -3063,12 +3081,7 @@ }, "frameIndex": 0, "showHeader": true, - "sortBy": [ - { - "desc": false, - "displayName": "MAC" - } - ] + "sortBy": [] }, "pluginVersion": "10.4.2", "targets": [ @@ -3438,7 +3451,7 @@ "h": 6, "w": 12, "x": 0, - "y": 59 + "y": 60 }, "id": 1659, "options": { @@ -3830,7 +3843,7 @@ "h": 6, "w": 12, "x": 12, - "y": 59 + "y": 60 }, "id": 1671, "options": { @@ -4126,7 +4139,7 @@ "h": 6, "w": 24, "x": 0, - "y": 65 + "y": 66 }, "id": 1652, "options": { @@ -4310,7 +4323,184 @@ "h": 1, "w": 24, "x": 0, - "y": 71 + "y": 72 + }, + "id": 1285, + "panels": [], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], + "title": "Interfaces Traffic", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 100, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "In" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#6afff3", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Out" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#bf71ff", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 73 + }, + "id": 1286, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "8.2.1", + "repeat": "Interface", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "irate(ifInOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "In", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "-irate(ifOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Out", + "range": true, + "refId": "B" + } + ], + "title": "Traffic \"$Interface\"", + "type": "timeseries" + }, + { + "collapsed": false, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 87 }, "id": 1642, "panels": [], @@ -4664,7 +4854,7 @@ "h": 9, "w": 8, "x": 0, - "y": 72 + "y": 88 }, "id": 1270, "options": { @@ -4843,7 +5033,7 @@ "h": 9, "w": 8, "x": 8, - "y": 72 + "y": 88 }, "id": 1261, "options": { @@ -5020,7 +5210,7 @@ "h": 9, "w": 8, "x": 16, - "y": 72 + "y": 88 }, "id": 1613, "options": { @@ -5309,7 +5499,7 @@ "h": 8, "w": 24, "x": 0, - "y": 81 + "y": 97 }, "id": 1643, "options": { @@ -5570,7 +5760,7 @@ "h": 8, "w": 12, "x": 0, - "y": 89 + "y": 105 }, "heatmap": {}, "hideZeroBuckets": false, @@ -5690,7 +5880,7 @@ "h": 8, "w": 12, "x": 12, - "y": 89 + "y": 105 }, "heatmap": {}, "hideZeroBuckets": false, @@ -5775,692 +5965,717 @@ "yBucketSize": 2 }, { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, + "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 97 + "y": 113 }, - "id": 1676, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "id": 1752, + "panels": [], + "title": "LTE", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-RdYlGr", + "seriesBy": "last" }, - "description": "Wireless registration table entry count", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - } + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": -70, + "axisSoftMin": -100, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 9, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 3, - "x": 0, - "y": 98 - }, - "id": 1646, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, - "exemplar": true, - "expr": "mtxrWlCMRtabEntryCount{instance='$instance'}", - "format": "time_series", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "CAPsMAN client count", - "type": "stat" + { + "color": "red", + "value": -100 + }, + { + "color": "orange", + "value": -90 + }, + { + "color": "green", + "value": -80 + } + ] + }, + "unit": "dBm" }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 0, + "y": 114 + }, + "id": 1778, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemSignalRSSI{instance=\"$instance\"}", + "instant": false, + "legendFormat": "RSSI", + "range": true, + "refId": "A" + } + ], + "title": "RSSI", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "continuous-RdYlGr", + "seriesBy": "last" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "axisSoftMax": 21, + "axisSoftMin": -5, + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 9, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Remote address" - }, - "properties": [ - { - "id": "custom.width", - "value": 187 - }, - { - "id": "custom.align", - "value": "center" - } - ] - }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "matcher": { - "id": "byName", - "options": "remote index" - }, - "properties": [ - { - "id": "custom.width", - "value": 110 - }, - { - "id": "custom.align", - "value": "center" - } - ] + "color": "green", + "value": null }, { - "matcher": { - "id": "byName", - "options": "Remote name" - }, - "properties": [ - { - "id": "custom.width" - }, - { - "id": "custom.align", - "value": "center" - } - ] + "color": "red", + "value": -100 }, { - "matcher": { - "id": "byName", - "options": "Remote address/port" - }, - "properties": [ - { - "id": "custom.width", - "value": 199 - }, - { - "id": "custom.align", - "value": "center" - } - ] + "color": "orange", + "value": 10 }, { - "matcher": { - "id": "byName", - "options": "state" - }, - "properties": [ - { - "id": "custom.width", - "value": 74 - }, - { - "id": "custom.align", - "value": "center" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Remote Radios" - }, - "properties": [ - { - "id": "custom.width", - "value": 122 - }, - { - "id": "custom.align", - "value": "center" - } - ] + "color": "green", + "value": 15 } ] }, - "gridPos": { - "h": 8, - "w": 11, - "x": 3, - "y": 98 + "unit": "dBm" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 11, + "y": 114 + }, + "id": 1779, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "id": 1681, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [ + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemSignalSINR{instance=\"$instance\"}", + "instant": false, + "legendFormat": "RSSI", + "range": true, + "refId": "A" + } + ], + "title": "SINR", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "desc": true, - "displayName": "state" + "color": "green", + "value": null } ] - }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMRemoteAddress{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMRemoteName{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMRemoteRadios{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMRemoteState{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "D" - } - ], - "title": "Remote CAP", - "transformations": [ - { - "id": "seriesToColumns", - "options": { - "byField": "mtxrWlCMRemoteIndex" - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time 1": true, - "Time 2": true, - "Time 3": true, - "Time 4": true, - "Value #A": true, - "Value #B": true, - "Value #D": true, - "__name__ 1": true, - "__name__ 2": true, - "__name__ 3": true, - "__name__ 4": true, - "instance 1": true, - "instance 2": true, - "instance 3": true, - "instance 4": true, - "job 1": true, - "job 2": true, - "job 3": true, - "job 4": true - }, - "indexByName": { - "Time 1": 5, - "Time 2": 10, - "Time 3": 15, - "Time 4": 19, - "Value #A": 9, - "Value #B": 14, - "Value #C": 4, - "Value #D": 23, - "__name__ 1": 6, - "__name__ 2": 11, - "__name__ 3": 16, - "__name__ 4": 20, - "instance 1": 7, - "instance 2": 12, - "instance 3": 17, - "instance 4": 21, - "job 1": 8, - "job 2": 13, - "job 3": 18, - "job 4": 22, - "mtxrWlCMRemoteAddress": 3, - "mtxrWlCMRemoteIndex": 1, - "mtxrWlCMRemoteName": 2, - "mtxrWlCMRemoteState": 0 - }, - "renameByName": { - "Time 1": "", - "Time 4": "", - "Value #C": "Remote Radios", - "instance 4": "", - "mtxrWlCMRemoteAddress": "Remote address/port", - "mtxrWlCMRemoteIndex": "remote index", - "mtxrWlCMRemoteName": "Remote name", - "mtxrWlCMRemoteState": "state" - } - } - } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 2, + "x": 0, + "y": 122 + }, + "id": 1803, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" ], - "type": "table" + "fields": "/^mtxrLTEModemRAT$/", + "values": false }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "auto", - "cellOptions": { - "type": "auto" - }, - "inspect": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Index" - }, - "properties": [ - { - "id": "custom.width", - "value": 70 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Reg Client Count" - }, - "properties": [ - { - "id": "custom.width", - "value": 132 - } - ] - }, + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemRAT{instance=\"$instance\"}", + "format": "table", + "instant": true, + "legendFormat": "{{mtxrLTEModemRAT}}", + "range": false, + "refId": "A" + } + ], + "title": "RAT", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "text", + "mode": "shades" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "matcher": { - "id": "byName", - "options": "Auth clients count" - }, - "properties": [ - { - "id": "custom.width", - "value": 133 - } - ] - }, + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 5, + "x": 2, + "y": 122 + }, + "id": 1764, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^mtxrLTEModemIMEI$/", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemIMEI{instance=\"$instance\"}", + "format": "table", + "instant": true, + "legendFormat": "{{mtxrLTEModemIMEI}}", + "range": false, + "refId": "A" + } + ], + "title": "IMEI", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "fixedColor": "text", + "mode": "shades" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ { - "matcher": { - "id": "byName", - "options": "Interface state" - }, - "properties": [ - { - "id": "custom.width", - "value": 120 - } - ] + "color": "green", + "value": null } ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 5, + "x": 7, + "y": 122 + }, + "id": 1791, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^mtxrLTEModemIMSI$/", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 8, - "w": 10, - "x": 14, - "y": 98 + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemIMSI{instance=\"$instance\"}", + "format": "table", + "instant": true, + "legendFormat": "{{mtxrLTEModemIMSI}}", + "range": false, + "refId": "A" + } + ], + "title": "IMSI", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "shades" }, - "id": 1679, - "options": { - "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, - "showHeader": true, - "sortBy": [] + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 12, + "y": 122 + }, + "id": 1804, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^Value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMState{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMRegClientCount{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemEnbId{instance=\"$instance\"}", + "format": "table", + "instant": true, + "legendFormat": "{{mtxrLTEModemEnbd}}", + "range": false, + "refId": "A" + } + ], + "title": "eNodeB ID", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "shades" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 16, + "y": 122 + }, + "id": 1765, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^Value$/", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemCellId{instance=\"$instance\"}", + "format": "table", + "instant": true, + "legendFormat": "{{mtxrLTEModemCellId}}", + "range": false, + "refId": "A" + } + ], + "title": "Cell ID", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 2, + "x": 20, + "y": 122 + }, + "id": 1777, + "options": { + "colorMode": "none", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "mtxrLTEModemSectorId{instance=\"$instance\"}", + "format": "table", + "instant": true, + "legendFormat": "{{mtxrLTEModemSectorId}}", + "range": false, + "refId": "A" + } + ], + "title": "Sector ID", + "type": "stat" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 125 + }, + "id": 1676, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "Wireless registration table entry count", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "exemplar": true, - "expr": "mtxrWlCMChannel{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "C" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + } }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMAuthClientCount{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "D" + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 0, + "y": 146 + }, + "id": 1646, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabSsid{instance='$instance'}", - "format": "table", + "expr": "mtxrWlCMRtabEntryCount{instance='$instance'}", + "format": "time_series", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "E" + "refId": "A" } ], - "title": "CAP interface", - "transformations": [ - { - "id": "seriesToColumns", - "options": { - "byField": "mtxrWlCMIndex" - } - }, - { - "id": "organize", - "options": { - "excludeByName": { - "Time 1": true, - "Time 2": true, - "Time 3": true, - "Time 4": true, - "Value #A": true, - "Value #B": false, - "Value #C": true, - "__name__ 1": true, - "__name__ 2": true, - "__name__ 3": true, - "__name__ 4": true, - "instance 1": true, - "instance 2": true, - "instance 3": true, - "instance 4": true, - "job 1": true, - "job 2": true, - "job 3": true, - "job 4": true - }, - "indexByName": { - "Time 1": 1, - "Time 2": 7, - "Time 3": 13, - "Time 4": 19, - "Value #A": 6, - "Value #B": 11, - "Value #C": 18, - "Value #D": 12, - "__name__ 1": 2, - "__name__ 2": 8, - "__name__ 3": 14, - "__name__ 4": 20, - "instance 1": 3, - "instance 2": 9, - "instance 3": 15, - "instance 4": 21, - "job 1": 4, - "job 2": 10, - "job 3": 16, - "job 4": 22, - "mtxrWlCMChannel": 17, - "mtxrWlCMIndex": 0, - "mtxrWlCMState": 5 - }, - "renameByName": { - "Time 1": "", - "Time 4": "", - "Value #A": "", - "Value #B": "Reg Client Count", - "Value #C": "", - "Value #D": "Auth clients count", - "__name__ 4": "", - "instance 4": "", - "job 1": "", - "job 2": "", - "job 4": "", - "mtxrWlCMChannel": "Channel for master only", - "mtxrWlCMIndex": "Index", - "mtxrWlCMState": "Interface state" - } - } - } - ], - "type": "table" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Wireless CAPSMAN remote-cap entry count", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 3, - "x": 0, - "y": 102 - }, - "id": 1680, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWlCMREntryCount{instance='$instance'}", - "format": "time_series", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "remote-cap entry count", + "title": "CAPsMAN client count", "type": "stat" }, { @@ -6499,12 +6714,12 @@ { "matcher": { "id": "byName", - "options": "Mac address" + "options": "Remote address" }, "properties": [ { "id": "custom.width", - "value": 130 + "value": 187 }, { "id": "custom.align", @@ -6515,57 +6730,12 @@ { "matcher": { "id": "byName", - "options": "Uptime" - }, - "properties": [ - { - "id": "custom.align", - "value": "center" - }, - { - "id": "unit", - "value": "timeticks" - }, - { - "id": "custom.width", - "value": 106 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Strength" + "options": "remote index" }, "properties": [ - { - "id": "unit", - "value": "dBm" - }, - { - "id": "custom.cellOptions", - "value": { - "mode": "lcd", - "type": "gauge" - } - }, - { - "id": "min", - "value": -85 - }, - { - "id": "max", - "value": -30 - }, - { - "id": "color", - "value": { - "mode": "continuous-RdYlGr" - } - }, { "id": "custom.width", - "value": 250 + "value": 110 }, { "id": "custom.align", @@ -6576,16 +6746,11 @@ { "matcher": { "id": "byName", - "options": "Rx Rate" + "options": "Remote name" }, "properties": [ { - "id": "custom.width", - "value": 100 - }, - { - "id": "unit", - "value": "bps" + "id": "custom.width" }, { "id": "custom.align", @@ -6596,44 +6761,12 @@ { "matcher": { "id": "byName", - "options": "Rx Bytes" - }, - "properties": [ - { - "id": "custom.width", - "value": 100 - }, - { - "id": "unit", - "value": "bytes" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Rx Packets" - }, - "properties": [ - { - "id": "custom.width", - "value": 145 - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Tx Rate" + "options": "Remote address/port" }, "properties": [ { "id": "custom.width", - "value": 100 - }, - { - "id": "unit", - "value": "bps" + "value": 199 }, { "id": "custom.align", @@ -6644,27 +6777,12 @@ { "matcher": { "id": "byName", - "options": "Tx Bytes" + "options": "state" }, "properties": [ { "id": "custom.width", - "value": 100 - }, - { - "id": "unit", - "value": "bytes" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "SSID" - }, - "properties": [ - { - "id": "custom.width" + "value": 74 }, { "id": "custom.align", @@ -6675,12 +6793,12 @@ { "matcher": { "id": "byName", - "options": "interface index" + "options": "Remote Radios" }, "properties": [ { "id": "custom.width", - "value": 115 + "value": 122 }, { "id": "custom.align", @@ -6691,12 +6809,12 @@ ] }, "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 106 + "h": 8, + "w": 11, + "x": 3, + "y": 146 }, - "id": 1678, + "id": 1681, "options": { "cellHeight": "sm", "footer": { @@ -6711,7 +6829,7 @@ "sortBy": [ { "desc": true, - "displayName": "SSID" + "displayName": "state" } ] }, @@ -6723,7 +6841,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabAddr{instance='$instance'}", + "expr": "mtxrWlCMRemoteAddress{instance='$instance'}", "format": "table", "hide": false, "instant": true, @@ -6737,7 +6855,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabEapIdent{instance='$instance'}", + "expr": "mtxrWlCMRemoteName{instance='$instance'}", "format": "table", "hide": false, "instant": true, @@ -6751,7 +6869,7 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabRxBytes{instance='$instance'}", + "expr": "mtxrWlCMRemoteRadios{instance='$instance'}", "format": "table", "hide": false, "instant": true, @@ -6765,69 +6883,206 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabRxPackets{instance='$instance'}", + "expr": "mtxrWlCMRemoteState{instance='$instance'}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "D" + } + ], + "title": "Remote CAP", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "mtxrWlCMRemoteIndex" + } }, { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "id": "organize", + "options": { + "excludeByName": { + "Time 1": true, + "Time 2": true, + "Time 3": true, + "Time 4": true, + "Value #A": true, + "Value #B": true, + "Value #D": true, + "__name__ 1": true, + "__name__ 2": true, + "__name__ 3": true, + "__name__ 4": true, + "instance 1": true, + "instance 2": true, + "instance 3": true, + "instance 4": true, + "job 1": true, + "job 2": true, + "job 3": true, + "job 4": true + }, + "indexByName": { + "Time 1": 5, + "Time 2": 10, + "Time 3": 15, + "Time 4": 19, + "Value #A": 9, + "Value #B": 14, + "Value #C": 4, + "Value #D": 23, + "__name__ 1": 6, + "__name__ 2": 11, + "__name__ 3": 16, + "__name__ 4": 20, + "instance 1": 7, + "instance 2": 12, + "instance 3": 17, + "instance 4": 21, + "job 1": 8, + "job 2": 13, + "job 3": 18, + "job 4": 22, + "mtxrWlCMRemoteAddress": 3, + "mtxrWlCMRemoteIndex": 1, + "mtxrWlCMRemoteName": 2, + "mtxrWlCMRemoteState": 0 + }, + "renameByName": { + "Time 1": "", + "Time 4": "", + "Value #C": "Remote Radios", + "instance 4": "", + "mtxrWlCMRemoteAddress": "Remote address/port", + "mtxrWlCMRemoteIndex": "remote index", + "mtxrWlCMRemoteName": "Remote name", + "mtxrWlCMRemoteState": "state" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" }, - "exemplar": true, - "expr": "mtxrWlCMRtabRxRate{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false }, - "exemplar": true, - "expr": "mtxrWlCMRtabRxStrength{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "F" + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Index" + }, + "properties": [ + { + "id": "custom.width", + "value": 70 + } + ] }, - "exemplar": true, - "expr": "mtxrWlCMRtabSsid{instance='$instance'}", - "format": "table", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "G" + { + "matcher": { + "id": "byName", + "options": "Reg Client Count" + }, + "properties": [ + { + "id": "custom.width", + "value": 132 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Auth clients count" + }, + "properties": [ + { + "id": "custom.width", + "value": 133 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Interface state" + }, + "properties": [ + { + "id": "custom.width", + "value": 120 + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 10, + "x": 14, + "y": 146 + }, + "id": 1679, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "10.4.2", + "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabTxBytes{instance='$instance'}", + "expr": "mtxrWlCMState{instance='$instance'}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "H" + "refId": "A" }, { "datasource": { @@ -6835,13 +7090,13 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabTxPackets{instance='$instance'}", + "expr": "mtxrWlCMRegClientCount{instance='$instance'}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "I" + "refId": "B" }, { "datasource": { @@ -6849,13 +7104,13 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabTxRate{instance='$instance'}", + "expr": "mtxrWlCMChannel{instance='$instance'}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "J" + "refId": "C" }, { "datasource": { @@ -6863,13 +7118,13 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabTxStrength{instance='$instance'}", + "expr": "mtxrWlCMAuthClientCount{instance='$instance'}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "K" + "refId": "D" }, { "datasource": { @@ -6877,21 +7132,21 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWlCMRtabUptime{instance='$instance'}", + "expr": "mtxrWlCMRtabSsid{instance='$instance'}", "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "L" + "refId": "E" } ], - "title": "Clients", + "title": "CAP interface", "transformations": [ { "id": "seriesToColumns", "options": { - "byField": "mtxrWlCMRtabAddr" + "byField": "mtxrWlCMIndex" } }, { @@ -6899,213 +7154,77 @@ "options": { "excludeByName": { "Time 1": true, - "Time 10": true, - "Time 11": true, - "Time 12": true, "Time 2": true, "Time 3": true, "Time 4": true, - "Time 5": true, - "Time 6": true, - "Time 7": true, - "Time 8": true, - "Time 9": true, "Value #A": true, - "Value #B": true, - "Value #G": true, - "Value #I": false, - "Value #J": false, - "Value #K": true, + "Value #B": false, + "Value #C": true, "__name__ 1": true, - "__name__ 10": true, - "__name__ 11": true, - "__name__ 12": true, "__name__ 2": true, "__name__ 3": true, "__name__ 4": true, - "__name__ 5": true, - "__name__ 6": true, - "__name__ 7": true, - "__name__ 8": true, - "__name__ 9": true, "instance 1": true, - "instance 10": true, - "instance 11": true, - "instance 12": true, "instance 2": true, "instance 3": true, "instance 4": true, - "instance 5": true, - "instance 6": true, - "instance 7": true, - "instance 8": true, - "instance 9": true, "job 1": true, - "job 10": true, - "job 11": true, - "job 12": true, "job 2": true, "job 3": true, - "job 4": true, - "job 5": true, - "job 6": true, - "job 7": true, - "job 8": true, - "job 9": true, - "mtxrWlCMRtabAddr": false, - "mtxrWlCMRtabIface 10": true, - "mtxrWlCMRtabIface 11": true, - "mtxrWlCMRtabIface 12": true, - "mtxrWlCMRtabIface 2": true, - "mtxrWlCMRtabIface 3": true, - "mtxrWlCMRtabIface 4": true, - "mtxrWlCMRtabIface 5": true, - "mtxrWlCMRtabIface 6": true, - "mtxrWlCMRtabIface 7": true, - "mtxrWlCMRtabIface 8": true, - "mtxrWlCMRtabIface 9": true, - "mtxrWlCMRtabSsid": false + "job 4": true }, "indexByName": { - "Time 1": 12, - "Time 10": 59, - "Time 11": 64, - "Time 12": 69, - "Time 2": 17, - "Time 3": 23, - "Time 4": 28, - "Time 5": 33, - "Time 6": 38, - "Time 7": 43, - "Time 8": 49, - "Time 9": 54, - "Value #A": 16, - "Value #B": 22, - "Value #C": 7, - "Value #D": 9, - "Value #E": 5, - "Value #F": 4, - "Value #G": 48, - "Value #H": 8, - "Value #I": 10, - "Value #J": 6, - "Value #K": 11, - "Value #L": 3, - "__name__ 1": 13, - "__name__ 10": 60, - "__name__ 11": 65, - "__name__ 12": 70, - "__name__ 2": 18, - "__name__ 3": 24, - "__name__ 4": 29, - "__name__ 5": 34, - "__name__ 6": 39, - "__name__ 7": 44, - "__name__ 8": 50, - "__name__ 9": 55, - "instance 1": 14, - "instance 10": 61, - "instance 11": 66, - "instance 12": 71, - "instance 2": 19, - "instance 3": 25, - "instance 4": 30, - "instance 5": 35, - "instance 6": 40, - "instance 7": 45, - "instance 8": 51, - "instance 9": 56, - "job 1": 15, - "job 10": 62, - "job 11": 67, - "job 12": 72, - "job 2": 20, - "job 3": 26, - "job 4": 31, - "job 5": 36, - "job 6": 41, - "job 7": 46, - "job 8": 52, - "job 9": 57, - "mtxrWlCMRtabAddr": 2, - "mtxrWlCMRtabIface 1": 1, - "mtxrWlCMRtabIface 10": 63, - "mtxrWlCMRtabIface 11": 68, - "mtxrWlCMRtabIface 12": 73, - "mtxrWlCMRtabIface 2": 21, - "mtxrWlCMRtabIface 3": 27, - "mtxrWlCMRtabIface 4": 32, - "mtxrWlCMRtabIface 5": 37, - "mtxrWlCMRtabIface 6": 42, - "mtxrWlCMRtabIface 7": 47, - "mtxrWlCMRtabIface 8": 53, - "mtxrWlCMRtabIface 9": 58, - "mtxrWlCMRtabSsid": 0 + "Time 1": 1, + "Time 2": 7, + "Time 3": 13, + "Time 4": 19, + "Value #A": 6, + "Value #B": 11, + "Value #C": 18, + "Value #D": 12, + "__name__ 1": 2, + "__name__ 2": 8, + "__name__ 3": 14, + "__name__ 4": 20, + "instance 1": 3, + "instance 2": 9, + "instance 3": 15, + "instance 4": 21, + "job 1": 4, + "job 2": 10, + "job 3": 16, + "job 4": 22, + "mtxrWlCMChannel": 17, + "mtxrWlCMIndex": 0, + "mtxrWlCMState": 5 }, "renameByName": { "Time 1": "", - "Value #C": "Rx Bytes", - "Value #D": "Rx Packets", - "Value #E": "Rx Rate", - "Value #F": "Strength", - "Value #H": "Tx Bytes", - "Value #I": "Tx Packets", - "Value #J": "Tx Rate", - "Value #K": "Tx Strength", - "Value #L": "Uptime", - "mtxrWlCMRtabAddr": "Mac address", - "mtxrWlCMRtabIface 1": "interface index", - "mtxrWlCMRtabSsid": "SSID" + "Time 4": "", + "Value #A": "", + "Value #B": "Reg Client Count", + "Value #C": "", + "Value #D": "Auth clients count", + "__name__ 4": "", + "instance 4": "", + "job 1": "", + "job 2": "", + "job 4": "", + "mtxrWlCMChannel": "Channel for master only", + "mtxrWlCMIndex": "Index", + "mtxrWlCMState": "Interface state" } } - }, - { - "id": "sortBy", - "options": { - "fields": {}, - "sort": [ - { - "field": "SSID" - } - ] - } } ], "type": "table" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "refId": "A" - } - ], - "title": "CAPsMAN", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 98 - }, - "id": 1705, - "panels": [ + }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "description": "", + "description": "Wireless CAPSMAN remote-cap entry count", "fieldConfig": { "defaults": { "color": { @@ -7119,22 +7238,21 @@ "color": "#299c46" } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { "h": 4, - "w": 4, + "w": 3, "x": 0, - "y": 114 + "y": 150 }, - "id": 1713, + "id": 1680, "options": { "colorMode": "value", "graphMode": "none", - "justifyMode": "center", + "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -7145,7 +7263,7 @@ }, "showPercentChange": false, "text": {}, - "textMode": "name", + "textMode": "auto", "wideLayout": true }, "pluginVersion": "10.4.2", @@ -7156,16 +7274,16 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GSsid{instance='$instance'}", + "expr": "mtxrWlCMREntryCount{instance='$instance'}", "format": "time_series", "hide": false, "instant": true, "interval": "", - "legendFormat": "{{mtxrWl60GSsid}}", + "legendFormat": "", "refId": "A" } ], - "title": "ssid", + "title": "remote-cap entry count", "type": "stat" }, { @@ -7179,218 +7297,246 @@ "color": { "mode": "thresholds" }, + "custom": { + "align": "auto", + "cellOptions": { + "type": "auto" + }, + "inspect": false + }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "#299c46" + "color": "green" + }, + { + "color": "red", + "value": 80 } ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 4, - "y": 114 - }, - "id": 1706, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + } }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "mtxrWl60GFreq{instance='$instance'}", - "format": "time_series", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Frequency", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Mac address" + }, + "properties": [ + { + "id": "custom.width", + "value": 130 + }, + { + "id": "custom.align", + "value": "center" + } + ] }, - "mappings": [ - { - "options": { - "0": { - "index": 0, - "text": "disconnected" - }, - "1": { - "index": 1, - "text": "connected" + { + "matcher": { + "id": "byName", + "options": "Uptime" + }, + "properties": [ + { + "id": "custom.align", + "value": "center" + }, + { + "id": "unit", + "value": "timeticks" + }, + { + "id": "custom.width", + "value": 106 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Strength" + }, + "properties": [ + { + "id": "unit", + "value": "dBm" + }, + { + "id": "custom.cellOptions", + "value": { + "mode": "lcd", + "type": "gauge" } }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ { - "color": "dark-red" + "id": "min", + "value": -85 }, { - "color": "#299c46", - "value": 1 + "id": "max", + "value": -30 + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + }, + { + "id": "custom.width", + "value": 250 + }, + { + "id": "custom.align", + "value": "center" } ] }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 114 - }, - "id": 1707, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + { + "matcher": { + "id": "byName", + "options": "Rx Rate" + }, + "properties": [ + { + "id": "custom.width", + "value": 100 + }, + { + "id": "unit", + "value": "bps" + }, + { + "id": "custom.align", + "value": "center" + } + ] }, - "exemplar": true, - "expr": "mtxrWl60GConnected{instance='$instance'}", - "format": "time_series", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Connected", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + { + "matcher": { + "id": "byName", + "options": "Rx Bytes" + }, + "properties": [ + { + "id": "custom.width", + "value": 100 + }, + { + "id": "unit", + "value": "bytes" + } + ] }, - "mappings": [ - { - "options": { - "0": { - "index": 0, - "text": "AP Bridge" - }, - "1": { - "index": 1, - "text": "Station Bridge" - }, - "2": { - "index": 2, - "text": "Sniff" - }, - "3": { - "index": 3, - "text": "Bridge" - } + { + "matcher": { + "id": "byName", + "options": "Rx Packets" + }, + "properties": [ + { + "id": "custom.width", + "value": 145 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Tx Rate" + }, + "properties": [ + { + "id": "custom.width", + "value": 100 }, - "type": "value" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ { - "color": "#299c46" + "id": "unit", + "value": "bps" + }, + { + "id": "custom.align", + "value": "center" } ] }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 12, - "y": 114 - }, - "id": 1709, + { + "matcher": { + "id": "byName", + "options": "Tx Bytes" + }, + "properties": [ + { + "id": "custom.width", + "value": 100 + }, + { + "id": "unit", + "value": "bytes" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "SSID" + }, + "properties": [ + { + "id": "custom.width" + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "interface index" + }, + "properties": [ + { + "id": "custom.width", + "value": 115 + }, + { + "id": "custom.align", + "value": "center" + } + ] + } + ] + }, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 154 + }, + "id": 1678, "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "cellHeight": "sm", + "footer": { + "countRows": false, "fields": "", - "values": false + "reducer": [ + "sum" + ], + "show": false }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "SSID" + } + ] }, "pluginVersion": "10.4.2", "targets": [ @@ -7400,458 +7546,383 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GMode{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabAddr{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", "refId": "A" - } - ], - "title": "Mode", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 16, - "y": 114 - }, - "id": 1712, - "options": { - "legend": { - "calcs": [ - "lastNotNull", - "min", - "max", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.2.1", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GRssi{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabEapIdent{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", - "legendFormat": "RSSI", - "refId": "A" - } - ], - "title": "RSSI", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - }, - "unit": "none" + "legendFormat": "", + "refId": "B" }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 0, - "y": 118 - }, - "id": 1710, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWlCMRtabRxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GPhyRate{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabRxPackets{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "A" - } - ], - "title": "PhyRate", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 2, - "y": 118 - }, - "id": 1714, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "refId": "D" }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GTxSector{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabRxRate{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "A" - } - ], - "title": "TxSector", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 4, - "y": 118 - }, - "id": 1716, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "refId": "E" }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GSignal{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabRxStrength{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "A" - } - ], - "title": "Signal", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 6, - "y": 118 - }, - "id": 1715, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "/.*/", - "values": false + "refId": "F" }, - "showPercentChange": false, - "text": {}, - "textMode": "value_and_name", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GTxSectorInfo{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabSsid{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "A" - } - ], - "title": "TxSectorInfo", - "type": "stat" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Modulation and Coding Scheme", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46" - } - ] + "refId": "G" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "unit": "none" + "exemplar": true, + "expr": "mtxrWlCMRtabTxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "H" }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 4, - "x": 8, - "y": 118 - }, - "id": 1708, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "center", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWlCMRtabTxPackets{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "I" }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GMcs{instance='$instance'}", - "format": "time_series", + "expr": "mtxrWlCMRtabTxRate{instance='$instance'}", + "format": "table", "hide": false, "instant": true, "interval": "", "legendFormat": "", - "refId": "A" - } - ], - "title": "MCS (Modulation and Coding Scheme)", - "type": "stat" - }, + "refId": "J" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWlCMRtabTxStrength{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "K" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWlCMRtabUptime{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "L" + } + ], + "title": "Clients", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "mtxrWlCMRtabAddr" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time 1": true, + "Time 10": true, + "Time 11": true, + "Time 12": true, + "Time 2": true, + "Time 3": true, + "Time 4": true, + "Time 5": true, + "Time 6": true, + "Time 7": true, + "Time 8": true, + "Time 9": true, + "Value #A": true, + "Value #B": true, + "Value #G": true, + "Value #I": false, + "Value #J": false, + "Value #K": true, + "__name__ 1": true, + "__name__ 10": true, + "__name__ 11": true, + "__name__ 12": true, + "__name__ 2": true, + "__name__ 3": true, + "__name__ 4": true, + "__name__ 5": true, + "__name__ 6": true, + "__name__ 7": true, + "__name__ 8": true, + "__name__ 9": true, + "instance 1": true, + "instance 10": true, + "instance 11": true, + "instance 12": true, + "instance 2": true, + "instance 3": true, + "instance 4": true, + "instance 5": true, + "instance 6": true, + "instance 7": true, + "instance 8": true, + "instance 9": true, + "job 1": true, + "job 10": true, + "job 11": true, + "job 12": true, + "job 2": true, + "job 3": true, + "job 4": true, + "job 5": true, + "job 6": true, + "job 7": true, + "job 8": true, + "job 9": true, + "mtxrWlCMRtabAddr": false, + "mtxrWlCMRtabIface 10": true, + "mtxrWlCMRtabIface 11": true, + "mtxrWlCMRtabIface 12": true, + "mtxrWlCMRtabIface 2": true, + "mtxrWlCMRtabIface 3": true, + "mtxrWlCMRtabIface 4": true, + "mtxrWlCMRtabIface 5": true, + "mtxrWlCMRtabIface 6": true, + "mtxrWlCMRtabIface 7": true, + "mtxrWlCMRtabIface 8": true, + "mtxrWlCMRtabIface 9": true, + "mtxrWlCMRtabSsid": false + }, + "indexByName": { + "Time 1": 12, + "Time 10": 59, + "Time 11": 64, + "Time 12": 69, + "Time 2": 17, + "Time 3": 23, + "Time 4": 28, + "Time 5": 33, + "Time 6": 38, + "Time 7": 43, + "Time 8": 49, + "Time 9": 54, + "Value #A": 16, + "Value #B": 22, + "Value #C": 7, + "Value #D": 9, + "Value #E": 5, + "Value #F": 4, + "Value #G": 48, + "Value #H": 8, + "Value #I": 10, + "Value #J": 6, + "Value #K": 11, + "Value #L": 3, + "__name__ 1": 13, + "__name__ 10": 60, + "__name__ 11": 65, + "__name__ 12": 70, + "__name__ 2": 18, + "__name__ 3": 24, + "__name__ 4": 29, + "__name__ 5": 34, + "__name__ 6": 39, + "__name__ 7": 44, + "__name__ 8": 50, + "__name__ 9": 55, + "instance 1": 14, + "instance 10": 61, + "instance 11": 66, + "instance 12": 71, + "instance 2": 19, + "instance 3": 25, + "instance 4": 30, + "instance 5": 35, + "instance 6": 40, + "instance 7": 45, + "instance 8": 51, + "instance 9": 56, + "job 1": 15, + "job 10": 62, + "job 11": 67, + "job 12": 72, + "job 2": 20, + "job 3": 26, + "job 4": 31, + "job 5": 36, + "job 6": 41, + "job 7": 46, + "job 8": 52, + "job 9": 57, + "mtxrWlCMRtabAddr": 2, + "mtxrWlCMRtabIface 1": 1, + "mtxrWlCMRtabIface 10": 63, + "mtxrWlCMRtabIface 11": 68, + "mtxrWlCMRtabIface 12": 73, + "mtxrWlCMRtabIface 2": 21, + "mtxrWlCMRtabIface 3": 27, + "mtxrWlCMRtabIface 4": 32, + "mtxrWlCMRtabIface 5": 37, + "mtxrWlCMRtabIface 6": 42, + "mtxrWlCMRtabIface 7": 47, + "mtxrWlCMRtabIface 8": 53, + "mtxrWlCMRtabIface 9": 58, + "mtxrWlCMRtabSsid": 0 + }, + "renameByName": { + "Time 1": "", + "Value #C": "Rx Bytes", + "Value #D": "Rx Packets", + "Value #E": "Rx Rate", + "Value #F": "Strength", + "Value #H": "Tx Bytes", + "Value #I": "Tx Packets", + "Value #J": "Tx Rate", + "Value #K": "Tx Strength", + "Value #L": "Uptime", + "mtxrWlCMRtabAddr": "Mac address", + "mtxrWlCMRtabIface 1": "interface index", + "mtxrWlCMRtabSsid": "SSID" + } + } + }, + { + "id": "sortBy", + "options": { + "fields": {}, + "sort": [ + { + "field": "SSID" + } + ] + } + } + ], + "type": "table" + } + ], + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "refId": "A" + } + ], + "title": "CAPsMAN", + "type": "row" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 126 + }, + "id": 1705, + "panels": [ { "datasource": { "type": "prometheus", @@ -7879,10 +7950,10 @@ "gridPos": { "h": 4, "w": 4, - "x": 12, - "y": 118 + "x": 0, + "y": 147 }, - "id": 1711, + "id": 1713, "options": { "colorMode": "value", "graphMode": "none", @@ -7908,1182 +7979,1596 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": true, - "expr": "mtxrWl60GRemote{instance='$instance'}", + "expr": "mtxrWl60GSsid{instance='$instance'}", "format": "time_series", "hide": false, "instant": true, "interval": "", - "legendFormat": "{{mtxrWl60GRemote}}", + "legendFormat": "{{mtxrWl60GSsid}}", "refId": "A" } ], - "title": "Remote MAC", + "title": "ssid", "type": "stat" - } - ], - "targets": [ + }, { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "uid": "${DS_PROMETHEUS}" }, - "refId": "A" - } - ], - "title": "W60G", - "type": "row" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 99 - }, - "id": 1673, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "refId": "A" - } - ], - "title": "Modem", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "Signal Strength: signal strength in dBm (if first ppp-client modem supports)\n\nModem Signal: signal EC/IO in dB (if first ppp-client modem supports)", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 147 }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "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" + "id": 1706, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "thresholdsStyle": { - "mode": "off" - } + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "dBm" + "exemplar": true, + "expr": "mtxrWl60GFreq{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Frequency", + "type": "stat" }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "CCQ - 1" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#ff2e63", - "mode": "fixed" - } - } - ] + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - { - "matcher": { - "id": "byName", - "options": "CCQ - 2" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#08d9d6", - "mode": "fixed" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "index": 0, + "text": "disconnected" + }, + "1": { + "index": 1, + "text": "connected" + } + }, + "type": "value" } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "CCQ - Tilda" + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "dark-red" + }, + { + "color": "#299c46", + "value": 1 + } + ] + }, + "unit": "none" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#ff2e63", - "mode": "fixed" - } - } - ] + "overrides": [] }, - { - "matcher": { - "id": "byName", - "options": "Noise - 1" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#ff2e63", - "mode": "fixed" - } - } - ] + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 147 }, - { - "matcher": { - "id": "byName", - "options": "Noise - 2" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#08d9d6", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Noise - Tilda" + "id": 1707, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "light-blue", - "mode": "fixed" - } - } - ] + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true }, - { - "matcher": { - "id": "byName", - "options": "Noise - Tilda_5" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "dark-purple", - "mode": "fixed" - } - } - ] + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GConnected{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Connected", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - { - "matcher": { - "id": "byName", - "options": "TX CCQ - Tilda" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#ff2e63", - "mode": "fixed" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "index": 0, + "text": "AP Bridge" + }, + "1": { + "index": 1, + "text": "Station Bridge" + }, + "2": { + "index": 2, + "text": "Sniff" + }, + "3": { + "index": 3, + "text": "Bridge" + } + }, + "type": "value" } - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"2\"}" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"11\"}" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"1\"}" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Noise 1" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Noise 11" + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "overrides": [] }, - { - "matcher": { - "id": "byName", - "options": "Noise 2" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 147 }, - { - "matcher": { - "id": "byName", - "options": "Noise - 2" + "id": 1709, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true }, - { - "matcher": { - "id": "byName", - "options": "Noise - 11" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GMode{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "Mode", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - { - "matcher": { - "id": "byName", - "options": "Noise - 1" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] - }, - { - "matcher": { - "id": "byName", - "options": "Noise - Tilda" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "overrides": [] }, - { - "matcher": { - "id": "byName", - "options": "Noise - Tilda_5" - }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "gridPos": { + "h": 8, + "w": 8, + "x": 16, + "y": 147 }, - { - "matcher": { - "id": "byName", - "options": "Modem Signal" + "id": 1712, + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "min", + "max", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, - "properties": [ - { - "id": "unit", - "value": "dB" - } - ] + "tooltip": { + "mode": "single", + "sort": "none" + } }, - { - "matcher": { - "id": "byValue", - "options": { - "op": "gte", - "reducer": "allIsZero", - "value": 0 - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": true, - "tooltip": true, - "viz": false - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 100 - }, - "id": 1640, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" + "pluginVersion": "8.2.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GRssi{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "RSSI", + "refId": "A" + } ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "title": "RSSI", + "type": "timeseries" }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "10.4.1", - "repeatDirection": "h", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "mtxrWirelessModemSignalStrength{instance='$instance'}", - "hide": false, - "interval": "", - "legendFormat": "Signal Strength", - "refId": "A" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 0, + "y": 151 + }, + "id": 1710, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GPhyRate{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "PhyRate", + "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "mtxrWirelessModemSignalECIO{instance='$instance'}", - "hide": false, - "interval": "", - "legendFormat": "Modem Signal", - "refId": "B" - } - ], - "title": "Modem", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - } - ] + "gridPos": { + "h": 4, + "w": 2, + "x": 2, + "y": 151 }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 4, - "x": 6, - "y": 100 - }, - "id": 1674, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" + "id": 1714, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GTxSector{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } ], - "fields": "", - "values": false + "title": "TxSector", + "type": "stat" }, - "showPercentChange": false, - "text": {}, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "mtxrUSBPowerReset{instance='$instance'}", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "USB Power Reset", - "type": "stat" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 107 - }, - "id": 1281, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] }, - "refId": "A" - } - ], - "title": "Simple Queue (In/Out/Dropped/PCQ)", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 4, + "w": 2, + "x": 4, + "y": 151 }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 1716, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true }, - "unit": "Bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 108 - }, - "id": 1268, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max" + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GSignal{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } ], - "displayMode": "table", - "placement": "right", - "showLegend": true + "title": "Signal", + "type": "stat" }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "8.2.1", - "repeatDirection": "h", - "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "(irate(mtxrQueueSimpleBytesIn{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})*8 ", - "instant": false, - "interval": "", - "legendFormat": "In - {{mtxrQueueSimpleName}}", - "refId": "A" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 2, + "x": 6, + "y": 151 + }, + "id": 1715, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/.*/", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "value_and_name", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GTxSectorInfo{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "TxSectorInfo", + "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "(irate(mtxrQueueSimpleBytesOut{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})*8", - "instant": false, - "interval": "", - "legendFormat": "Out - {{mtxrQueueSimpleName}}", - "refId": "B" + "description": "Modulation and Coding Scheme", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 151 + }, + "id": 1708, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GMcs{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "MCS (Modulation and Coding Scheme)", + "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "(mtxrQueueSimplePCQQueuesIn{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "PCQ In - {{mtxrQueueSimpleName}}", - "refId": "D" - }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 12, + "y": 151 + }, + "id": 1711, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "text": {}, + "textMode": "name", + "wideLayout": true + }, + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWl60GRemote{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{mtxrWl60GRemote}}", + "refId": "A" + } + ], + "title": "Remote MAC", + "type": "stat" + } + ], + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, - "exemplar": true, - "expr": "(mtxrQueueSimplePCQQueuesOut{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "PCQ Out - {{mtxrQueueSimpleName}}", - "refId": "C" + "refId": "A" } ], - "title": "All Simple Queue", - "type": "timeseries" + "title": "W60G", + "type": "row" }, { + "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, - "description": "Showing values > 0", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 127 + }, + "id": 1673, + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "description": "Signal Strength: signal strength in dBm (if first ppp-client modem supports)\n\nModem Signal: signal EC/IO in dB (if first ppp-client modem supports)", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "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" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "dBm" }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ + "overrides": [ { - "color": "green", - "value": null + "matcher": { + "id": "byName", + "options": "CCQ - 1" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ff2e63", + "mode": "fixed" + } + } + ] }, { - "color": "red", - "value": 80 - } - ] - }, - "unit": "Bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 114 - }, - "id": 1282, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "8.2.1", - "repeat": "queuesimple_name", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "(irate(mtxrQueueSimpleBytesIn{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})*8", - "instant": false, - "interval": "", - "legendFormat": "In", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "(irate(mtxrQueueSimpleBytesOut{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})*8", - "instant": false, - "interval": "", - "legendFormat": "Out", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "(irate(mtxrQueueSimpleDroppedIn{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})", - "format": "time_series", - "hide": false, - "interval": "", - "legendFormat": "Dropped In", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "(irate(mtxrQueueSimpleDroppedOut{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})", - "hide": false, - "interval": "", - "legendFormat": "Dropped Out ", - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "(mtxrQueueSimplePCQQueuesIn{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name',instance='$instance'})", - "hide": false, - "interval": "", - "legendFormat": "PCQ-In", - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "(mtxrQueueSimplePCQQueuesOut{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name',instance='$instance'})", - "hide": false, - "interval": "", - "legendFormat": "PCQ-Out", - "refId": "F" - } - ], - "title": "Queue $queuesimple_name", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 120 - }, - "id": 1548, - "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "refId": "A" - } - ], - "title": "Tree Queue (Bytes/PCQ/Dropped/Packets)", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ + "matcher": { + "id": "byName", + "options": "CCQ - 2" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#08d9d6", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "CCQ - Tilda" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ff2e63", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - 1" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ff2e63", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - 2" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#08d9d6", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - Tilda" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "light-blue", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - Tilda_5" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "dark-purple", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "TX CCQ - Tilda" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ff2e63", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"2\"}" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"11\"}" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"1\"}" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise 1" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise 11" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise 2" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - 2" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - 11" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - 1" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Noise - Tilda" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, { - "color": "green", - "value": null + "matcher": { + "id": "byName", + "options": "Noise - Tilda_5" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Modem Signal" + }, + "properties": [ + { + "id": "unit", + "value": "dB" + } + ] + }, + { + "matcher": { + "id": "byValue", + "options": { + "op": "gte", + "reducer": "allIsZero", + "value": 0 + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": true, + "tooltip": true, + "viz": false + } + } + ] } ] }, - "unit": "binBps" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 0, - "y": 121 - }, - "id": 1510, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "8.2.1", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 148 }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreeHCBytes{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})*8", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Bytes - {{mtxrQueueTreeName}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "id": 1640, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreePCQQueues{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "PCQ - {{mtxrQueueTreeName}}", - "refId": "B" + "pluginVersion": "10.4.1", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWirelessModemSignalStrength{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "Signal Strength", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrWirelessModemSignalECIO{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "Modem Signal", + "refId": "B" + } + ], + "title": "Modem", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreeDropped{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Dropped - {{mtxrQueueTreeName}}", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46" + } + ] + }, + "unit": "s" + }, + "overrides": [] }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreePackets{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Packets - {{mtxrQueueTreeName}}", - "refId": "D" - } - ], - "title": "All Tree Queue", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "gridPos": { + "h": 7, + "w": 4, + "x": 6, + "y": 148 }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "id": 1674, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "showPercentChange": false, + "text": {}, + "textMode": "auto", + "wideLayout": true }, - "unit": "binBps" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 12, - "x": 12, - "y": 121 - }, - "id": 1549, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" + "pluginVersion": "10.4.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "mtxrUSBPowerReset{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "title": "USB Power Reset", + "type": "stat" } - }, - "pluginVersion": "8.2.1", - "repeat": "queuetree_name", - "repeatDirection": "h", + ], "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreeHCBytes{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})*8", - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Bytes", "refId": "A" - }, + } + ], + "title": "Modem", + "type": "row" + }, + { + "collapsed": true, + "datasource": { + "type": "prometheus", + "uid": "PBFA97CFB590B2093" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 128 + }, + "id": 1281, + "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreePCQQueues{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "PCQ", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "Bps" + }, + "overrides": [] }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreeDropped{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Dropped", - "refId": "C" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 149 + }, + "id": 1268, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "8.2.1", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueSimpleBytesIn{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})*8 ", + "instant": false, + "interval": "", + "legendFormat": "In - {{mtxrQueueSimpleName}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueSimpleBytesOut{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})*8", + "instant": false, + "interval": "", + "legendFormat": "Out - {{mtxrQueueSimpleName}}", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(mtxrQueueSimplePCQQueuesIn{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "PCQ In - {{mtxrQueueSimpleName}}", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(mtxrQueueSimplePCQQueuesOut{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "PCQ Out - {{mtxrQueueSimpleName}}", + "refId": "C" + } + ], + "title": "All Simple Queue", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "(irate(mtxrQueueTreePackets{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})", - "hide": false, - "instant": false, - "interval": "", - "legendFormat": "Packets", - "refId": "E" + "description": "Showing values > 0", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "Bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 155 + }, + "id": 1282, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "8.2.1", + "repeat": "queuesimple_name", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueSimpleBytesIn{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})*8", + "instant": false, + "interval": "", + "legendFormat": "In", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueSimpleBytesOut{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})*8", + "instant": false, + "interval": "", + "legendFormat": "Out", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueSimpleDroppedIn{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})", + "format": "time_series", + "hide": false, + "interval": "", + "legendFormat": "Dropped In", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueSimpleDroppedOut{instance='$instance'}[$__rate_interval])*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name', instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "Dropped Out ", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(mtxrQueueSimplePCQQueuesIn{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name',instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "PCQ-In", + "refId": "E" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(mtxrQueueSimplePCQQueuesOut{instance='$instance'}*on(mtxrQueueSimpleIndex)group_left(mtxrQueueSimpleName)mtxrQueueSimpleName{mtxrQueueSimpleName='$queuesimple_name',instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "PCQ-Out", + "refId": "F" + } + ], + "title": "Queue $queuesimple_name", + "type": "timeseries" } ], - "title": "Tree Queue $queuetree_name / $queuetree_parent / $queuetree_flow", - "type": "timeseries" - }, - { - "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 127 - }, - "id": 1338, - "panels": [], "targets": [ { "datasource": { @@ -9093,246 +9578,320 @@ "refId": "A" } ], - "title": "*cast/Dascard/Errors/Unknown Protos/Queue length", + "title": "Simple Queue (In/Out/Dropped/PCQ)", "type": "row" }, { + "collapsed": true, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "pps" - }, - "overrides": [] + "uid": "PBFA97CFB590B2093" }, "gridPos": { - "h": 11, - "w": 6, + "h": 1, + "w": 24, "x": 0, - "y": 128 - }, - "id": 1339, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } + "y": 129 }, - "pluginVersion": "8.2.1", - "repeat": "Interface", - "repeatDirection": "h", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "irate(ifHCInMulticastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "In Multicast", - "range": true, - "refId": "K" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "-irate(ifHCOutMulticastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "Out Multicast", - "refId": "L" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "exemplar": true, - "expr": "irate(ifHCInBroadcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "In Broadcast", - "refId": "C" - }, + "id": 1548, + "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "-irate(ifHCOutBroadcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "Out Broadcast", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "binBps" + }, + "overrides": [] }, - "exemplar": true, - "expr": "irate(ifHCInUcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "In Unicast", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 150 }, - "exemplar": true, - "expr": "-irate(ifHCOutUcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "Out Unicast", - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "id": 1510, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "exemplar": true, - "expr": "irate(ifInDiscards{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "In Discard", - "refId": "E" + "pluginVersion": "8.2.1", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreeHCBytes{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})*8", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Bytes - {{mtxrQueueTreeName}}", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreePCQQueues{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "PCQ - {{mtxrQueueTreeName}}", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreeDropped{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Dropped - {{mtxrQueueTreeName}}", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreePackets{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Packets - {{mtxrQueueTreeName}}", + "refId": "D" + } + ], + "title": "All Tree Queue", + "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "exemplar": true, - "expr": "irate(ifOutDiscards{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "Out Discard", - "refId": "F" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "binBps" + }, + "overrides": [] }, - "exemplar": true, - "expr": "irate(ifInErrors{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "In Errors", - "refId": "G" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 150 }, - "exemplar": true, - "expr": "irate(ifOutErrors{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "Out Errors", - "refId": "H" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "id": 1549, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } }, - "exemplar": true, - "expr": "irate(ifInUnknownProtos{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "In Unknown Protos", - "refId": "I" - }, + "pluginVersion": "8.2.1", + "repeat": "queuetree_name", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreeHCBytes{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})*8", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Bytes", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreePCQQueues{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "PCQ", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreeDropped{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Dropped", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "(irate(mtxrQueueTreePackets{instance='$instance'}[$__rate_interval])*on(mtxrQueueTreeIndex)group_left(mtxrQueueTreeName)mtxrQueueTreeName{mtxrQueueTreeName='$queuetree_name',instance='$instance'})", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "Packets", + "refId": "E" + } + ], + "title": "Tree Queue $queuetree_name / $queuetree_parent / $queuetree_flow", + "type": "timeseries" + } + ], + "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, - "exemplar": true, - "expr": "-irate(ifOutQLen{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", - "hide": false, - "interval": "", - "legendFormat": "Out queue length", - "refId": "J" + "refId": "A" } ], - "title": "Interface \"$Interface\"", - "type": "timeseries" + "title": "Tree Queue (Bytes/PCQ/Dropped/Packets)", + "type": "row" }, { - "collapsed": false, + "collapsed": true, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" @@ -9341,172 +9900,256 @@ "h": 1, "w": 24, "x": 0, - "y": 161 + "y": 130 }, - "id": 1285, - "panels": [], - "targets": [ + "id": 1338, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PBFA97CFB590B2093" - }, - "refId": "A" - } - ], - "title": "Interfaces Traffic", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" + "uid": "${DS_PROMETHEUS}" }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 100, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "smooth", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "pps" }, - "thresholdsStyle": { - "mode": "off" - } + "overrides": [] }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "gridPos": { + "h": 11, + "w": 6, + "x": 0, + "y": 173 }, - "unit": "bps" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "In" + "id": 1339, + "options": { + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max", + "min" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#6afff3", - "mode": "fixed" - } - } - ] + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - { - "matcher": { - "id": "byName", - "options": "Out" + "pluginVersion": "8.2.1", + "repeat": "Interface", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "irate(ifHCInMulticastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Multicast", + "range": true, + "refId": "K" }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#bf71ff", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 7, - "w": 6, - "x": 0, - "y": 162 - }, - "id": 1286, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "-irate(ifHCOutMulticastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Multicast", + "refId": "L" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifHCInBroadcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Broadcast", + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "-irate(ifHCOutBroadcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Broadcast", + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifHCInUcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Unicast", + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "-irate(ifHCOutUcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Unicast", + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifInDiscards{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Discard", + "refId": "E" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifOutDiscards{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Discard", + "refId": "F" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifInErrors{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Errors", + "refId": "G" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifOutErrors{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Errors", + "refId": "H" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "irate(ifInUnknownProtos{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Unknown Protos", + "refId": "I" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "exemplar": true, + "expr": "-irate(ifOutQLen{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out queue length", + "refId": "J" + } ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" + "title": "Interface \"$Interface\"", + "type": "timeseries" } - }, - "pluginVersion": "8.2.1", - "repeat": "Interface", - "repeatDirection": "h", + ], "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "PBFA97CFB590B2093" }, - "editorMode": "code", - "exemplar": true, - "expr": "irate(ifInOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "In", - "range": true, "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "exemplar": true, - "expr": "-irate(ifOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "Out", - "range": true, - "refId": "B" } ], - "title": "Traffic \"$Interface\"", - "type": "timeseries" + "title": "*cast/Dascard/Errors/Unknown Protos/Queue length", + "type": "row" } ], "refresh": "5s", @@ -9628,7 +10271,7 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "definition": "query_result(mtxrInterfaceStatsName{instance=\"$instance\"})", + "definition": "query_result(ifName{instance=\"$instance\"})", "hide": 0, "includeAll": true, "multi": false, @@ -9636,11 +10279,11 @@ "options": [], "query": { "qryType": 3, - "query": "query_result(mtxrInterfaceStatsName{instance=\"$instance\"})", + "query": "query_result(ifName{instance=\"$instance\"})", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, - "regex": "/mtxrInterfaceStatsName=\"([^\"]+)\"/", + "regex": "/ifName=\"([^\"]+)\"/", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", @@ -9814,7 +10457,7 @@ }, "timezone": "", "title": "Supervision Mikrotik", - "uid": "mikrotik", - "version": 28, + "uid": "nR3NRDGaz", + "version": 43, "weekStart": "" } \ No newline at end of file diff --git a/conf/prometheus_targets.json b/conf/mgmt_targets.json similarity index 72% rename from conf/prometheus_targets.json rename to conf/mgmt_targets.json index eca7d65..b562070 100644 --- a/conf/prometheus_targets.json +++ b/conf/mgmt_targets.json @@ -1,7 +1,7 @@ [ { "labels": { - "job": "mikrotik" + "job": "mgmt" }, "targets": [ diff --git a/conf/private_targets.json b/conf/private_targets.json new file mode 100644 index 0000000..2be764a --- /dev/null +++ b/conf/private_targets.json @@ -0,0 +1,10 @@ +[ + { + "labels": { + "job": "private" + }, + "targets": [ + + ] + } +] diff --git a/conf/prometheus_config.yml b/conf/prometheus_config.yml index 9166361..9160744 100644 --- a/conf/prometheus_config.yml +++ b/conf/prometheus_config.yml @@ -17,13 +17,28 @@ scrape_configs: static_configs: - targets: ['localhost:9100'] - - job_name: 'snmp' + - job_name: 'snmp_mgmt' file_sd_configs: - files: - - 'prometheus_targets.json' # <---- Chemin vers prometheus_targets.json + - 'mgmt_targets.json' # <---- Chemin vers mgmt_targets.json metrics_path: /snmp params: - module: [mikrotik] + module: [mgmt] + relabel_configs: + - source_labels: [__address__] + target_label: __param_target + - source_labels: [__param_target] + target_label: instance + - target_label: __address__ + replacement: localhost:9116 + + - job_name: 'snmp_private' + file_sd_configs: + - files: + - 'private_targets.json' # <---- Chemin vers private_targets.json + metrics_path: /snmp + params: + module: [private] relabel_configs: - source_labels: [__address__] target_label: __param_target diff --git a/conf/snmp_config.yml b/conf/snmp_config.yml index c8620fc..346be66 100644 --- a/conf/snmp_config.yml +++ b/conf/snmp_config.yml @@ -13,10 +13,9 @@ auths: priv_protocol: DES version: 2 modules: - mikrotik: + mgmt: walk: - 1.3.6.1.2 - - 1.3.6.1.4 metrics: - name: sysDescr oid: 1.3.6.1.2.1.1.1 @@ -117,6 +116,29 @@ modules: labelname: ifName oid: 1.3.6.1.2.1.31.1.1.1.1 type: DisplayString + - name: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + help: A textual string containing information about the interface - 1.3.6.1.2.1.2.2.1.2 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString - name: ifType oid: 1.3.6.1.2.1.2.2.1.3 type: EnumAsInfo @@ -4961,6 +4983,29 @@ modules: indexes: - labelname: hrSWInstalledIndex type: gauge + - name: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString + help: The textual name of the interface - 1.3.6.1.2.1.31.1.1.1.1 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString - name: ifInMulticastPkts oid: 1.3.6.1.2.1.31.1.1.1.2 type: counter @@ -5360,6 +5405,30 @@ modules: enum_values: 1: "true" 2: "false" + - name: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + help: This object is an 'alias' name for the interface as specified by a network + manager, and provides a non-volatile 'handle' for the interface - 1.3.6.1.2.1.31.1.1.1.18 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString - name: ifCounterDiscontinuityTime oid: 1.3.6.1.2.1.31.1.1.1.19 type: gauge @@ -11472,6 +11541,15 @@ modules: labelname: ifName oid: 1.3.6.1.2.1.31.1.1.1.1 type: DisplayString + max_repetitions: 25 + timeout: 20s + private: + walk: + - 1.3.6.1.2.1.2.2.1.2 + - 1.3.6.1.2.1.31.1.1.1.1 + - 1.3.6.1.2.1.31.1.1.1.18 + - 1.3.6.1.4 + metrics: - name: picoCelsius oid: 1.3.6.1.4.1.119.2.3.84.2.1.1 type: gauge @@ -136914,6 +136992,29 @@ modules: labelname: ifName oid: 1.3.6.1.2.1.31.1.1.1.1 type: DisplayString + - name: ifDescr + oid: 1.3.6.1.4.1.25461.2.1.2.3.11.1.2 + type: DisplayString + help: Description (name) of the interface - 1.3.6.1.4.1.25461.2.1.2.3.11.1.2 + indexes: + - labelname: ifIndex + type: gauge + lookups: + - labels: + - ifIndex + labelname: ifAlias + oid: 1.3.6.1.2.1.31.1.1.1.18 + type: DisplayString + - labels: + - ifIndex + labelname: ifDescr + oid: 1.3.6.1.2.1.2.2.1.2 + type: DisplayString + - labels: + - ifIndex + labelname: ifName + oid: 1.3.6.1.2.1.31.1.1.1.1 + type: DisplayString - name: panIfActiveTcpCps oid: 1.3.6.1.4.1.25461.2.1.2.3.11.1.3 type: gauge diff --git a/src/mikromap-cli/main.go b/src/mikromap-cli/main.go index 6686927..60f7fe7 100644 --- a/src/mikromap-cli/main.go +++ b/src/mikromap-cli/main.go @@ -126,7 +126,7 @@ func readJSON() []Router { } // Ecrit par-dessus le fichier JSON. -// Prend en entrée les données à écrire et ne renvoie rien. +// Prend en entrée les données à écrire ([]Router) et ne renvoie rien. func writeJSON(data []Router) { // Ouverture du fichier @@ -145,13 +145,13 @@ func writeJSON(data []Router) { } // Récupère les données du fichier des cibles Prometheus JSON. -// Ne prend rien en entrée et renvoie les données dans un slice de struct []PromTargets. -func readPromTargets() []PromTargets { +// Prend le fichier à lire en entrée et renvoie les données dans un slice de struct []PromTargets. +func readPromTargets(target string) []PromTargets { var data []PromTargets // Lecture du fichier - content, err := os.ReadFile(getPath("prometheus_targets.json")) + content, err := os.ReadFile(getPath(target)) if err != nil { log.Fatalf("--- Erreur lors de la lecture du fichier JSON:\n%s", err) } @@ -166,11 +166,11 @@ func readPromTargets() []PromTargets { } // Ecrit par-dessus le fichier de cibles Prometheus JSON. -// Prend en entrée les données à écrire et ne renvoie rien. -func writePromTargets(data []PromTargets) { +// Prend en entrée les données à écrire ([]PromTargets) et le nom du fichier de conf (string) et ne renvoie rien. +func writePromTargets(data []PromTargets, target string) { // Ouverture du fichier - content, err := os.OpenFile(getPath("prometheus_targets.json"), os.O_WRONLY|os.O_TRUNC, os.ModePerm) + content, err := os.OpenFile(getPath(target), os.O_WRONLY|os.O_TRUNC, os.ModePerm) if err != nil { log.Fatalf("--- Erreur lors de l'ouverture du fichier JSON pour écriture:\n%s", err) } @@ -190,6 +190,7 @@ func addRouter() { var addrPost string var addrIP string + var isWatchguard bool = false fmt.Println("--- Ajouter un routeur à la supervision") @@ -215,6 +216,12 @@ func addRouter() { log.Fatalf("--- Erreur lors de la récupération de la saisie:\n%s", err) } + // Vérification et supression préfixe "W" pour Watchguard + if strings.HasPrefix(addrIP, "W") { + isWatchguard = true + addrIP = strings.TrimLeft(addrIP, "W") + } + // Ajout d'un nouveau routeur dans routers.json dataR := readJSON() @@ -229,10 +236,17 @@ func addRouter() { dataR = append(dataR, newRouter) writeJSON(dataR) - // Ajout IP dans prometheus_targets.json - dataT := readPromTargets() - dataT[0].Targets = append(dataT[0].Targets, addrIP) - writePromTargets(dataT) + // Ajout IP au job commun à tous les appareils + dataM := readPromTargets("mgmt_targets.json") + dataM[0].Targets = append(dataM[0].Targets, addrIP) + writePromTargets(dataM, "mgmt_targets.json") + + // Si l'adresse IP n'est pas associée à un Watchguard, l'ajouter au job spécifique aux Mikrotiks. + if !isWatchguard { + dataP := readPromTargets("private_targets.json") + dataP[0].Targets = append(dataP[0].Targets, addrIP) + writePromTargets(dataP, "private_targets.json") + } fmt.Println("--- Routeur ajouté") } @@ -244,6 +258,7 @@ func removeRouter() { fmt.Println("--- Retirer un routeur de la supervision") + // Récupération adresse IP fmt.Print("Adresse IP du routeur à supprimer >>> ") _, err := fmt.Scanln(&addrIP) if err != nil { @@ -251,8 +266,10 @@ func removeRouter() { } dataR := readJSON() - dataT := readPromTargets() + dataM := readPromTargets("mgmt_targets.json") + dataP := readPromTargets("private_targets.json") + // Suppression du struct dataR puis écriture de routers.json for i, v := range dataR { if v.IP == addrIP { dataR = append(dataR[0:i], dataR[i+1:]...) @@ -260,12 +277,21 @@ func removeRouter() { } writeJSON(dataR) - for i, v := range dataT[0].Targets { + // Suppression du struct dataM puis écriture de mgmt_targets.json + for i, v := range dataM[0].Targets { + if v == addrIP { + dataM[0].Targets = append(dataM[0].Targets[0:i], dataM[0].Targets[i+1:]...) + } + } + writePromTargets(dataM, "mgmt_targets.json") + + // Suppression du struct dataP puis écriture de private_targets.json + for i, v := range dataP[0].Targets { if v == addrIP { - dataT[0].Targets = append(dataT[0].Targets[0:i], dataT[0].Targets[i+1:]...) + dataP[0].Targets = append(dataP[0].Targets[0:i], dataP[0].Targets[i+1:]...) } } - writePromTargets(dataT) + writePromTargets(dataP, "private_targets.json") fmt.Println("--- Routeur supprimé") }