From ef3aab6cdb46a585b8ccea2f0b26b4a4fa3cb0fa Mon Sep 17 00:00:00 2001 From: IgorKha <2268209+IgorKha@users.noreply.github.com> Date: Fri, 8 Oct 2021 03:03:16 +0300 Subject: [PATCH] Refactoring the directory structure and added the ability to run with docker-compose --- .env | 2 + .gitignore | 1 + README.md | 19 +- docker-compose.yml | 34 + .../dashboards/Mikrotik-snmp-prometheus.json | 7766 +++++++++++++++++ grafana/provisioning/dashboards/dashboard.yml | 11 + .../provisioning/datasources/datasource.yml | 50 + prometheus.yml => prometheus/prometheus.yml | 6 +- 8 files changed, 7884 insertions(+), 5 deletions(-) create mode 100644 .env create mode 100644 .gitignore create mode 100644 docker-compose.yml create mode 100644 grafana/provisioning/dashboards/Mikrotik-snmp-prometheus.json create mode 100644 grafana/provisioning/dashboards/dashboard.yml create mode 100644 grafana/provisioning/datasources/datasource.yml rename prometheus.yml => prometheus/prometheus.yml (90%) diff --git a/.env b/.env new file mode 100644 index 0000000..cbdbfcf --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +GF_ADMIN_USER=admin +GF_ADMIN_PASSWORD=mikrotik \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f9cad2f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +prometheus/data/* \ No newline at end of file diff --git a/README.md b/README.md index 57cbf97..82e15a0 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,21 @@ Grafana dashboard for Mikrotik/routerOS. [prometheus/snmp_exporter](https://gith |---|---| | snmp_exporter | `>=0.20.0` | | Grafana | `>=8.1.7` | +## 🐳 Deploy with docker-compose + +1. Change targets ip (192.168.88.1) into file prometheus/prometheus.yml +2. Run +```console +docker-compose up -d +``` +3. Open [localhost:3000](http://localhost:3000) + +Grafana login: admin, password: mikrotik + +If you want to change the credentials, then edit the ".env" file + +----------- +## Manual deploy 1.add into prometheus.yml @@ -15,7 +30,7 @@ Grafana dashboard for Mikrotik/routerOS. [prometheus/snmp_exporter](https://gith - job_name: Mikrotik static_configs: - targets: - - 0.0.0.0 # SNMP device IP. + - 192.168.88.1 # SNMP device IP. metrics_path: /snmp params: module: [mikrotik] @@ -34,7 +49,7 @@ Grafana dashboard for Mikrotik/routerOS. [prometheus/snmp_exporter](https://gith ----------- -## Docker snmp_exporter +### Docker snmp_exporter [![Docker Pulls](https://img.shields.io/docker/pulls/mashinkopochinko/snmp_exporter_mikrotik?logo=docker)](https://hub.docker.com/repository/docker/mashinkopochinko/snmp_exporter_mikrotik) diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f6d6c8b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,34 @@ +version: '3.9' + +services: + grafana: + image: grafana/grafana:8.1.7 + container_name: mk_grafana + restart: always + volumes: + - ./grafana/provisioning/:/etc/grafana/provisioning/ + ports: + - "3000:3000" + environment: + - GF_SECURITY_ADMIN_USER=${GF_ADMIN_USER} + - GF_SECURITY_ADMIN_PASSWORD=${GF_ADMIN_PASSWORD} + - GF_USERS_ALLOW_SIGN_UP=false + + prometheus: + image: prom/prometheus + container_name: mk_prometheus + restart: always + volumes: + - ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml + - ./prometheus/data/:/prometheus + ports: + - "9090:9090" + + snmp_exporter: + image: mashinkopochinko/snmp_exporter_mikrotik + container_name: mk_snmp_exporter + restart: always + ports: + - "9116:9116" + depends_on: + - prometheus \ No newline at end of file diff --git a/grafana/provisioning/dashboards/Mikrotik-snmp-prometheus.json b/grafana/provisioning/dashboards/Mikrotik-snmp-prometheus.json new file mode 100644 index 0000000..5d0c48c --- /dev/null +++ b/grafana/provisioning/dashboards/Mikrotik-snmp-prometheus.json @@ -0,0 +1,7766 @@ +{ + "__inputs": [ + { + "name": "DS_PROMETHEUS", + "label": "Prometheus", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__requires": [ + { + "type": "panel", + "id": "gauge", + "name": "Gauge", + "version": "" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "8.1.7" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph (old)", + "version": "" + }, + { + "type": "panel", + "id": "heatmap", + "name": "Heatmap", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": "-- Grafana --", + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "limit": 100, + "name": "Annotations & Alerts", + "showIn": 0, + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "Mikrotik snmp monitoring (prometheus)", + "editable": true, + "gnetId": 14420, + "graphTooltip": 0, + "id": null, + "iteration": 1633613790020, + "links": [], + "panels": [ + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1655, + "panels": [ + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "Total SNMP time scrape took (walk and processing)", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 1, + "mappings": [ + { + "options": { + "from": null, + "result": { + "text": "" + }, + "to": 0 + }, + "type": "range" + } + ], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "yellow", + "value": 1 + }, + { + "color": "#EF843C", + "value": 1.5 + }, + { + "color": "red", + "value": 2 + } + ] + }, + "unit": "dtdurations" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 0, + "y": 1 + }, + "id": 1656, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "snmp_scrape_duration_seconds{instance='$instance'}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Total SNMP time (walk and processing)", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "Time SNMP walk/bulkwalk took", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 1, + "mappings": [ + { + "options": { + "from": null, + "result": { + "text": "" + }, + "to": 0 + }, + "type": "range" + } + ], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "yellow", + "value": 1 + }, + { + "color": "#EF843C", + "value": 1.5 + }, + { + "color": "red", + "value": 2 + } + ] + }, + "unit": "dtdurations" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 4, + "y": 1 + }, + "id": 1657, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "snmp_scrape_walk_duration_seconds{instance='$instance'}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Time SNMP walk/bulkwalk took", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "from": null, + "result": { + "text": "" + }, + "to": 0 + }, + "type": "range" + } + ], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 4, + "x": 8, + "y": 1 + }, + "id": 1658, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "snmp_scrape_pdus_returned{instance='$instance'}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "scrape pdus returned", + "type": "stat" + } + ], + "title": "SNMP", + "type": "row" + }, + { + "collapsed": false, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 1 + }, + "id": 1218, + "panels": [], + "title": "Total", + "type": "row" + }, + { + "datasource": null, + "description": "The current operational state of the device described by this row of the table. A value unknown(1) indicates that the current state of the device is unknown. running(2) indicates that the device is up and running and that no unusual error conditions are known. The warning(3) state indicates that agent has been informed of an unusual error condition by the operational software (e.g., a disk device driver) but that the device is still 'operational'. An example would be a high number of soft errors on a disk. A value of testing(4), indicates that the device is not available for use because it is in the testing state. The state of down(5) is used only when the agent has been informed that the device is not available for any use.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "1": { + "text": "Unknown" + }, + "2": { + "text": "Running" + }, + "3": { + "text": "Warning!" + }, + "4": { + "text": "Testing" + }, + "5": { + "text": "Down" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "#EAB839", + "value": 1 + }, + { + "color": "#299c46", + "value": 2 + }, + { + "color": "dark-red", + "value": 3 + }, + { + "color": "light-blue", + "value": 4 + }, + { + "color": "rgb(69, 69, 71)", + "value": 5 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 2, + "x": 0, + "y": 2 + }, + "id": 1220, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "hrDeviceStatus{instance='$instance', hrDeviceIndex=\"1\"}", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Status device", + "type": "stat" + }, + { + "datasource": null, + "description": "The number of errors detected on this device", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "dark-orange", + "value": 1 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 2, + "x": 2, + "y": 2 + }, + "id": 1614, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "hrDeviceErrors{instance='$instance', hrDeviceIndex=\"1\"}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Device Errors", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "": { + "index": 0, + "text": "N/A" + } + }, + "type": "value" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "string" + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 8, + "x": 4, + "y": 2 + }, + "id": 1653, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrNote{instance='$instance'}", + "instant": true, + "interval": "", + "legendFormat": " {{mtxrNote}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Note", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "MHz" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 12, + "y": 2 + }, + "id": 1240, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrHlProcessorFrequency{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU frequency", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 15, + "y": 2 + }, + "id": 1242, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "/^n/a$/", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrHlActiveFan{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{mtxrHlActiveFan}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Active Fan", + "type": "stat" + }, + { + "aliasColors": { + "Voltage": "#f4d160" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "unit": "volt" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 6, + "x": 18, + "y": 2 + }, + "hiddenSeries": false, + "id": 1238, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [ + { + "alias": "Voltage", + "yaxis": 1 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "mtxrHlVoltage{instance='$instance'}/10", + "interval": "", + "legendFormat": "Voltage", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Voltage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "volt", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "volt", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "datasource": null, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 2, + "x": 0, + "y": 4 + }, + "id": 1222, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrFirmwareVersion{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{mtxrFirmwareVersion}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Board ver", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 2, + "x": 2, + "y": 4 + }, + "id": 1650, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrLicVersion{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{mtxrLicVersion}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Package ver", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "max": 80, + "min": 1, + "noValue": "N/A", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + }, + { + "color": "#299c46", + "value": 20 + }, + { + "color": "yellow", + "value": 55 + }, + { + "color": "red", + "value": 65 + } + ] + }, + "unit": "celsius" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 4, + "y": 4 + }, + "id": 1237, + "options": { + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "text": {} + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrHlProcessorTemperature{instance='$instance'}/10 or mtxrHlTemperature{instance='$instance'}/10", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU Temp", + "type": "gauge" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 70 + }, + { + "color": "#d44a3a", + "value": 85 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 4, + "x": 8, + "y": 4 + }, + "id": 393, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "text": {} + }, + "pluginVersion": "8.1.7", + "repeat": null, + "repeatDirection": "h", + "targets": [ + { + "exemplar": true, + "expr": "hrProcessorLoad{instance='$instance'}", + "format": "time_series", + "instant": true, + "interval": "", + "legendFormat": "CPU {{hrDeviceIndex}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CPU load", + "type": "gauge" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "dateTimeAsLocal" + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 6 + }, + "id": 1325, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "/^Time$/", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "time()-(hrSystemDate{instance='$instance'})", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "System date", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "from": null, + "result": { + "text": "" + }, + "to": 0 + }, + "type": "range" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 6, + "x": 12, + "y": 7 + }, + "id": 1260, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "value_and_name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrLicLevel{instance='$instance'}", + "interval": "", + "legendFormat": "Lic", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrLicUpgradableTo{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "Upgradable to", + "refId": "B" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "License level", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [ + { + "options": { + "from": null, + "result": { + "text": "" + }, + "to": 0 + }, + "type": "range" + } + ], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 0 + }, + { + "color": "#EF843C", + "value": 86400 + }, + { + "color": "yellow", + "value": 604800 + }, + { + "color": "#299c46", + "value": 2628000 + } + ] + }, + "unit": "dtdurations" + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 8 + }, + "id": 476, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "sysUpTime{instance='$instance'}/100", + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Uptime", + "type": "stat" + }, + { + "aliasColors": { + "wlan1": "#ff2e63", + "wlan2": "#08d9d6" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Maximum Transmission Unit", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 9 + }, + "hiddenSeries": false, + "id": 1263, + "interval": null, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "hideEmpty": false, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxDataPoints": 100, + "maxPerRow": 4, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "h", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "ifMtu{instance='$instance'}", + "instant": false, + "interval": "", + "legendFormat": "{{ifName}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "MTU", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "MTU", + "label": "Maximum Transmission Unit", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "percent", + "label": "yu", + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": true, + "alignLevel": null + } + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 10 + }, + "id": 1264, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "sysIdentity{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{sysIdentity}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "System identity", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 80 + }, + { + "color": "#d44a3a", + "value": 90 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 4, + "y": 10 + }, + "id": 480, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "text": {} + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "(hrStorageUsed{hrStorageIndex='131072',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='131072',instance='$instance'})", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "system disk load", + "type": "gauge" + }, + { + "cacheTimeout": null, + "datasource": "${DS_PROMETHEUS}", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "max": 100, + "min": 0, + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 60 + }, + { + "color": "#d44a3a", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 4, + "x": 8, + "y": 10 + }, + "id": 482, + "interval": null, + "links": [], + "maxDataPoints": 100, + "options": { + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": true, + "showThresholdMarkers": true, + "text": {} + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "(hrStorageUsed{hrStorageIndex='65536',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='65536',instance='$instance'})", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "RAM load ", + "type": "gauge" + }, + { + "datasource": null, + "description": "Wireless registration table entry count", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 12, + "y": 10 + }, + "id": 1645, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlRtabEntryCount{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Wi-Fi client count", + "type": "stat" + }, + { + "datasource": null, + "description": "Wireless registration table entry count", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 15, + "y": 10 + }, + "id": 1682, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlCMRtabEntryCount{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CAPsMAN client count", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 12 + }, + "id": 1248, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrBoardName{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{mtxrBoardName}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Board Name", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 14 + }, + "id": 1241, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "sysDescr{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "{{sysDescr}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Model", + "type": "stat" + }, + { + "aliasColors": { + "CPU Temp": "#e23e57" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 8, + "x": 4, + "y": 15 + }, + "hiddenSeries": false, + "id": 1262, + "interval": null, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxDataPoints": 100, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatDirection": "h", + "seriesOverrides": [ + { + "$$hashKey": "object:69", + "alias": "CPU Temp °C", + "yaxis": 2 + }, + { + "$$hashKey": "object:70", + "alias": "CPU Temp", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "hrProcessorLoad{instance='$instance'}", + "interval": "", + "legendFormat": "CPU {{hrDeviceIndex}} load", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrHlTemperature{instance='$instance'}/10", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "CPU temp", + "refId": "B" + }, + { + "exemplar": true, + "expr": "(hrStorageUsed{hrStorageIndex='65536',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='65536',instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "RAM usage", + "refId": "C" + }, + { + "exemplar": true, + "expr": "(hrStorageUsed{hrStorageIndex='131072',instance='$instance'} * 100 )/(hrStorageSize{hrStorageIndex='131072',instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "System disk", + "refId": "D" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "System", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "celsius", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": true, + "alignLevel": null + } + }, + { + "datasource": null, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "1": { + "text": "Disabled" + }, + "2": { + "text": "Waiting" + }, + "3": { + "text": "Powered On" + }, + "4": { + "text": "Overload" + } + }, + "type": "value" + } + ], + "max": 4, + "min": 1, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "blue", + "value": null + }, + { + "color": "super-light-yellow", + "value": 2 + }, + { + "color": "#299c46", + "value": 3 + }, + { + "color": "dark-red", + "value": 4 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 12, + "y": 15 + }, + "id": 1276, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "value" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrPOEStatus{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "POE Status", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "watt" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 15, + "y": 15 + }, + "id": 1279, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrPOEPower{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "POE Power", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "POE Power", + "type": "stat" + }, + { + "datasource": null, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "mamp" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 18, + "y": 15 + }, + "id": 1277, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "value" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrPOECurrent{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "POE Current", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "POE Current", + "type": "stat" + }, + { + "datasource": null, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "volt" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 21, + "y": 15 + }, + "id": 1278, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrPOEVoltage{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "POE Voltage", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "POE Voltage", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 16 + }, + "id": 1311, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrSerialNumber{instance='$instance'}", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{mtxrSerialNumber}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Serial Number", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 2, + "w": 4, + "x": 0, + "y": 18 + }, + "id": 1649, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "name" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrLicSoftwareId{instance='$instance'}", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{mtxrLicSoftwareId}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Software ID", + "type": "stat" + }, + { + "datasource": null, + "description": "Status link/states: The current operational state of the interface", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": null, + "displayMode": "color-text", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byType", + "options": "string" + }, + "properties": [ + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byType", + "options": "number" + }, + "properties": [ + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Status link/states" + }, + "properties": [ + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#299c46", + "value": 1 + }, + { + "color": "semi-dark-red", + "value": 2 + }, + { + "color": "#EAB839", + "value": 3 + }, + { + "color": "#6a6a6a", + "value": 4 + }, + { + "color": "#6ED0E0", + "value": 5 + }, + { + "color": "#EF843C", + "value": 6 + }, + { + "color": "dark-purple", + "value": 7 + } + ] + } + }, + { + "id": "mappings", + "value": [ + { + "options": { + "1": { + "index": 6, + "text": "UP" + }, + "2": { + "index": 5, + "text": "DOWN" + }, + "3": { + "index": 4, + "text": "Testing" + }, + "4": { + "index": 3, + "text": "Unknown" + }, + "5": { + "index": 2, + "text": "Dormant" + }, + "6": { + "index": 1, + "text": "Not present" + }, + "7": { + "index": 0, + "text": "lowerLayerDown" + } + }, + "type": "value" + } + ] + }, + { + "id": "custom.width", + "value": 130 + }, + { + "id": "custom.displayMode", + "value": "color-background" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Rate" + }, + "properties": [ + { + "id": "unit", + "value": "bps" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(77, 79, 79)", + "value": null + }, + { + "color": "#EAB839", + "value": 50000000 + }, + { + "color": "#6ED0E0", + "value": 100000000 + }, + { + "color": "#299c46", + "value": 1000000000 + }, + { + "color": "semi-dark-purple", + "value": 1000000010 + } + ] + } + }, + { + "id": "custom.width", + "value": 119 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "TX Sum" + }, + "properties": [ + { + "id": "unit", + "value": "bits" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(77, 79, 79)", + "value": null + }, + { + "color": "super-light-yellow", + "value": 1 + } + ] + } + }, + { + "id": "custom.width", + "value": 118 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "RX Sum" + }, + "properties": [ + { + "id": "unit", + "value": "bits" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(77, 79, 79)", + "value": null + }, + { + "color": "super-light-yellow", + "value": 1 + } + ] + } + }, + { + "id": "custom.width", + "value": 118 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "MAC" + }, + "properties": [ + { + "id": "custom.width", + "value": 152 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Link down count" + }, + "properties": [ + { + "id": "custom.width", + "value": 118 + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(77, 79, 79)", + "value": null + }, + { + "color": "super-light-yellow", + "value": 1 + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Int. index" + }, + "properties": [ + { + "id": "custom.width", + "value": 88 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "MTU" + }, + "properties": [ + { + "id": "custom.width", + "value": 118 + }, + { + "id": "unit", + "value": "none" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Type of interface" + }, + "properties": [ + { + "id": "custom.width", + "value": 140 + }, + { + "id": "mappings", + "value": [ + { + "options": { + "ethernetCsmacd": { + "text": "Physical" + }, + "ieee80211": { + "text": "Wireless" + } + }, + "type": "value" + } + ] + }, + { + "id": "custom.filterable", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Name" + }, + "properties": [ + { + "id": "custom.width", + "value": null + } + ] + } + ] + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 20 + }, + "id": 1275, + "options": { + "frameIndex": 0, + "showHeader": true, + "sortBy": [ + { + "desc": false, + "displayName": "MAC" + } + ] + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "ifPhysAddress{instance='$instance'}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "exemplar": true, + "expr": "ifOperStatus{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "exemplar": true, + "expr": "mtxrInterfaceStatsRxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "exemplar": true, + "expr": "mtxrInterfaceStatsTxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + }, + { + "exemplar": true, + "expr": "ifSpeed{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + }, + { + "exemplar": true, + "expr": "mtxrInterfaceStatsLinkDowns{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "F" + }, + { + "exemplar": true, + "expr": "ifMtu{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "G" + }, + { + "exemplar": true, + "expr": "ifType_info{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "H" + }, + { + "exemplar": true, + "expr": "mtxrPOEInterfaceIndex{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "I" + }, + { + "exemplar": true, + "expr": "ifAlias{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "J" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Interfaces", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "ifName" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Time 1": 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 #H": true, + "Value #J": true, + "__name__": true, + "__name__ 1": 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, + "ifIndex": false, + "ifIndex 1": true, + "ifIndex 2": true, + "ifIndex 3": true, + "ifIndex 4": true, + "ifIndex 5": true, + "ifIndex 6": true, + "instance": true, + "instance 1": 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": true, + "job 1": 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, + "mtxrInterfaceStatsIndex": true, + "mtxrInterfaceStatsIndex 1": true, + "mtxrInterfaceStatsIndex 2": true, + "mtxrInterfaceStatsIndex 3": true + }, + "indexByName": { + "Time": 12, + "Value #A": 16, + "Value #B": 3, + "Value #C": 8, + "Value #D": 9, + "Value #E": 6, + "Value #F": 4, + "Value #G": 7, + "Value #H": 11, + "Value #J": 18, + "__name__": 13, + "ifAlias": 10, + "ifIndex": 0, + "ifName": 2, + "ifPhysAddress": 5, + "ifType": 1, + "instance": 14, + "job": 15, + "mtxrInterfaceStatsIndex": 17 + }, + "renameByName": { + "Time": "", + "Value #A": "", + "Value #B": "Status link/states", + "Value #C": "RX Sum", + "Value #D": "TX Sum", + "Value #E": "Rate", + "Value #F": "Link down count", + "Value #G": "MTU", + "Value #H": "", + "Value #J": "", + "__name__": "", + "ifAlias": "Comment", + "ifIndex": "Int. index", + "ifName": "Name", + "ifPhysAddress": "MAC", + "ifType": "Type of interface", + "instance": "", + "mtxrInterfaceStatsIndex": "", + "mtxrInterfaceStatsIndex 1": "" + } + } + } + ], + "type": "table" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": null, + "displayMode": "color-text", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "super-light-yellow", + "value": null + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Neighbor index" + }, + "properties": [ + { + "id": "custom.align", + "value": "center" + }, + { + "id": "custom.width", + "value": 134 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "IP" + }, + "properties": [ + { + "id": "custom.width", + "value": 111 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "MAC" + }, + "properties": [ + { + "id": "custom.width", + "value": 142 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Platform" + }, + "properties": [ + { + "id": "custom.width", + "value": 127 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Software ID" + }, + "properties": [ + { + "id": "custom.width", + "value": 136 + } + ] + } + ] + }, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 32 + }, + "id": 1652, + "options": { + "frameIndex": 0, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "Neighbor index" + } + ] + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrNeighborInterfaceID{instance='$instance'}", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrNeighborIdentity{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "exemplar": true, + "expr": "mtxrNeighborIpAddress{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "exemplar": true, + "expr": "mtxrNeighborMacAddress{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + }, + { + "exemplar": true, + "expr": "mtxrNeighborPlatform{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + }, + { + "exemplar": true, + "expr": "mtxrNeighborSoftwareID{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "F" + }, + { + "exemplar": true, + "expr": "mtxrNeighborVersion{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "G" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Neighbors", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "mtxrNeighborIndex" + } + }, + { + "id": "merge", + "options": {} + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value #A": true, + "Value #B": true, + "Value #C": true, + "Value #D": true, + "Value #E": true, + "Value #F": true, + "Value #G": true, + "__name__": true, + "instance": true, + "job": true, + "mtxrNeighborIndex": false + }, + "indexByName": {}, + "renameByName": { + "Time": "", + "Value #A": "", + "Value #B": "", + "Value #C": "", + "Value #D": "", + "Value #E": "", + "Value #F": "", + "job": "", + "mtxrNeighborIdentity": "identity", + "mtxrNeighborIndex": "Neighbor index", + "mtxrNeighborIpAddress": "IP", + "mtxrNeighborMacAddress": "MAC", + "mtxrNeighborPlatform": "Platform", + "mtxrNeighborSoftwareID": "Software ID", + "mtxrNeighborVersion": "Firmware version" + } + } + } + ], + "type": "table" + }, + { + "aliasColors": { + "In - wlan1": "#ff2e63" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": null, + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 38 + }, + "hiddenSeries": false, + "id": 1659, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxControl{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Control - {{ifName}}", + "refId": "A" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxDeferred{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Deferred - {{ifName}}", + "refId": "B" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxCollision{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Collision - {{ifName}}", + "refId": "C" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxDrop{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Drop - {{ifName}}", + "refId": "D" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxExcessiveCollision{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Excessive Collision - {{ifName}}", + "refId": "E" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxExcessiveDeferred{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Excessive Deferred - {{ifName}}", + "refId": "F" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxFCSError{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx FCS Error - {{ifName}}", + "refId": "G" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxFragment{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Fragment - {{ifName}}", + "refId": "H" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxJabber{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Jabber - {{ifName}}", + "refId": "I" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxLateCollision{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Late Collision - {{ifName}}", + "refId": "J" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxMultipleCollision{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Multiple Collision - {{ifName}}", + "refId": "K" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxPause{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Pause - {{ifName}}", + "refId": "L" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxPauseHonored{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Pause Honored - {{ifName}}", + "refId": "M" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxSingleCollision{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Single Collision - {{ifName}}", + "refId": "N" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxTooLong{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Too Long - {{ifName}}", + "refId": "O" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxTooShort{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Too Short - {{ifName}}", + "refId": "P" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxTotalCollision{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Total Collision - {{ifName}}", + "refId": "Q" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsTxUnderrun{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Tx Under run - {{ifName}}", + "refId": "R" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Tx Eth errors, etc", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "bps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "In - wlan1": "#ff2e63" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": null, + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 38 + }, + "hiddenSeries": false, + "id": 1671, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxAlignError{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Align Error - {{ifName}}", + "refId": "A" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxCarrierError{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Carrier Error - {{ifName}}", + "refId": "B" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxControl{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Control - {{ifName}}", + "refId": "C" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxDrop{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Drop - {{ifName}}", + "refId": "D" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxFCSError{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "FCS Error - {{ifName}}", + "refId": "E" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxFragment{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Fragment - {{ifName}}", + "refId": "F" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxJabber{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Jabber - {{ifName}}", + "refId": "G" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxLengthError{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Length Error - {{ifName}}", + "refId": "H" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxOverflow{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Overflow - {{ifName}}", + "refId": "I" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxPause{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Pause - {{ifName}}", + "refId": "J" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxTooLong{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Too Long - {{ifName}}", + "refId": "K" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxTooShort{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Too Short - {{ifName}}", + "refId": "L" + }, + { + "exemplar": true, + "expr": "irate(mtxrInterfaceStatsRxUnknownOp{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Rx Unknown Op - {{ifName}}", + "refId": "M" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Rx Eth errors, etc", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "bps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "In - wlan1": "#ff2e63" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": null, + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 44 + }, + "hiddenSeries": false, + "id": 1239, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "irate(ifHCInOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "In - {{ifName}}", + "refId": "C" + }, + { + "exemplar": true, + "expr": "-irate(ifHCOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Out - {{ifName}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Network Traffic Basic", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "bps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 50 + }, + "hiddenSeries": false, + "id": 1268, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxPerRow": 2, + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatDirection": "h", + "seriesOverrides": [ + { + "alias": "PCQ Out - http_priority", + "yaxis": 2 + }, + { + "alias": "PCQ In - http_priority", + "yaxis": 2 + }, + { + "alias": "Dropped In - http_priority", + "yaxis": 2 + }, + { + "alias": "Dropped Out - http_priority", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "All Simple Queue", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "Packets - tree_2": "dark-green" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 12, + "x": 12, + "y": 50 + }, + "hiddenSeries": false, + "id": 1510, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": false, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxPerRow": 2, + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatDirection": "h", + "seriesOverrides": [ + { + "alias": "PCQ Out - http_priority", + "yaxis": 2 + }, + { + "alias": "PCQ In - http_priority", + "yaxis": 2 + }, + { + "alias": "PCQ In - test_tree", + "yaxis": 2 + }, + { + "alias": "Dropped - test_tree", + "yaxis": 2 + }, + { + "alias": "PCQ - test_tree", + "yaxis": 2 + }, + { + "alias": "Packets - test_tree", + "yaxis": 2 + }, + { + "alias": "PCQ - tree_2", + "yaxis": 2 + }, + { + "alias": "Dropped - tree_2", + "yaxis": 2 + }, + { + "alias": "Dropped - queue4", + "yaxis": 2 + }, + { + "alias": "Dropped - queue3", + "yaxis": 2 + }, + { + "alias": "Dropped - queue2", + "yaxis": 2 + }, + { + "alias": "Dropped - queue1", + "yaxis": 2 + }, + { + "alias": "Packets - tree_2", + "yaxis": 2 + }, + { + "alias": "Packets - queue1", + "yaxis": 2 + }, + { + "alias": "Packets - queue2", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "All Tree Queue", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "binBps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 56 + }, + "id": 1642, + "panels": [ + { + "aliasColors": { + "CCQ - 1": "#ff2e63", + "CCQ - 2": "#08d9d6", + "CCQ - Tilda": "#ff2e63", + "Noise - 1": "#ff2e63", + "Noise - 2": "#08d9d6", + "Noise - Tilda": "light-blue", + "Noise - Tilda_5": "dark-purple", + "TX CCQ - Tilda": "#ff2e63" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 61 + }, + "hiddenSeries": false, + "id": 1270, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxPerRow": 2, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatDirection": "h", + "seriesOverrides": [ + { + "alias": "2", + "yaxis": 1 + }, + { + "alias": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"2\"}", + "yaxis": 2 + }, + { + "alias": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"11\"}", + "yaxis": 2 + }, + { + "alias": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"1\"}", + "yaxis": 2 + }, + { + "alias": "Noise 1", + "yaxis": 2 + }, + { + "alias": "Noise 11", + "yaxis": 2 + }, + { + "alias": "Noise 2", + "yaxis": 2 + }, + { + "alias": "Noise - 2", + "yaxis": 2 + }, + { + "alias": "Noise - 11", + "yaxis": 2 + }, + { + "alias": "Noise - 1", + "yaxis": 2 + }, + { + "alias": "Noise - Tilda", + "yaxis": 2 + }, + { + "alias": "Noise - Tilda_5", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "(mtxrWlApOverallTxCCQ{instance='$instance'}*on(mtxrWlApIndex)group_left(mtxrWlApSsid)mtxrWlApSsid{instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "TX CCQ - {{mtxrWlApSsid}}", + "refId": "A" + }, + { + "exemplar": true, + "expr": "(mtxrWlApNoiseFloor{instance='$instance'}*on(mtxrWlApIndex)group_left(mtxrWlApSsid)mtxrWlApSsid{instance='$instance'})", + "format": "time_series", + "hide": false, + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Noise - {{mtxrWlApSsid}}", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Wi-Fi Overall Tx CCQ & Noise", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "percent", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "decimals": null, + "format": "dBm", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": true, + "alignLevel": 0 + } + }, + { + "aliasColors": { + "1": "#ff2e63", + "2": "#08d9d6", + "DHCP Leases count": "dark-green", + "Tilda": "#ff2e63" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": 0, + "description": "", + "fieldConfig": { + "defaults": { + "unit": "short" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 8, + "x": 8, + "y": 61 + }, + "hiddenSeries": false, + "id": 1261, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "(mtxrWlApAuthClientCount{instance='$instance'}*on(mtxrWlApIndex)group_left(mtxrWlApSsid)mtxrWlApSsid{instance='$instance'})", + "hide": false, + "interval": "", + "legendFormat": "{{mtxrWlApSsid}}", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrDHCPLeaseCount{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "DHCP Leases", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Wi-Fi Client count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "decimals": 0, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": { + "1": "#ff2e63", + "2": "#08d9d6", + "DHCP Leases count": "dark-green", + "Tilda": "#ff2e63" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": 0, + "description": "", + "fieldConfig": { + "defaults": { + "unit": "MHz" + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 8, + "x": 16, + "y": 61 + }, + "hiddenSeries": false, + "id": 1613, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideZero": true, + "max": false, + "min": false, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlApFreq{instance='$instance'}*on(mtxrWlApIndex)group_left(mtxrWlApSsid)mtxrWlApSsid{instance='$instance'}", + "hide": false, + "instant": false, + "interval": "", + "legendFormat": "{{mtxrWlApSsid}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Wi-Fi frequency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "MHz", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "decimals": 0, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "datasource": null, + "description": "Wireless registration table. It is indexed by remote mac-address and local interface index.\n\nMeasured in dB, if value does not exist it is indicated with 0", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": null, + "displayMode": "auto", + "filterable": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "mac address" + }, + "properties": [ + { + "id": "custom.width" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Interface" + }, + "properties": [ + { + "id": "custom.width", + "value": 90 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Signal-to-Noise" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + }, + { + "id": "unit", + "value": "dB" + }, + { + "id": "custom.displayMode", + "value": "lcd-gauge" + }, + { + "id": "min", + "value": 5 + }, + { + "id": "max", + "value": 50 + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Strength" + }, + "properties": [ + { + "id": "custom.width", + "value": 200 + }, + { + "id": "unit", + "value": "dBm" + }, + { + "id": "custom.displayMode", + "value": "lcd-gauge" + }, + { + "id": "min", + "value": -85 + }, + { + "id": "max", + "value": -30 + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + } + ] + }, + { + "matcher": { + "id": "byType", + "options": "number" + }, + "properties": [ + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byType", + "options": "string" + }, + "properties": [ + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Tx" + }, + "properties": [ + { + "id": "custom.width", + "value": 90 + }, + { + "id": "unit", + "value": "bytes" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Rx" + }, + "properties": [ + { + "id": "custom.width", + "value": 90 + }, + { + "id": "unit", + "value": "bytes" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Tx rate" + }, + "properties": [ + { + "id": "custom.width", + "value": 90 + }, + { + "id": "unit", + "value": "bps" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Rx rate" + }, + "properties": [ + { + "id": "custom.width", + "value": null + }, + { + "id": "unit", + "value": "bps" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Uptime" + }, + "properties": [ + { + "id": "custom.width", + "value": 90 + }, + { + "id": "decimals", + "value": 1 + }, + { + "id": "unit", + "value": "timeticks" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #I" + }, + "properties": [ + { + "id": "custom.width", + "value": 263 + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 70 + }, + "id": 1643, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlRtabAddr{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabSignalToNoise{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabStrength{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabTxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabRxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabTxRate{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "F" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabRxRate{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "G" + }, + { + "exemplar": true, + "expr": "mtxrWlRtabUptime{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "H" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Wi-Fi Clients", + "transformations": [ + { + "id": "seriesToColumns", + "options": { + "byField": "mtxrWlRtabAddr" + } + }, + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Time 1": true, + "Time 2": true, + "Time 3": true, + "Time 4": true, + "Time 5": true, + "Time 6": true, + "Time 7": true, + "Time 8": true, + "Value #A": true, + "__name__": true, + "__name__ 1": true, + "__name__ 2": true, + "__name__ 3": true, + "__name__ 4": true, + "__name__ 5": true, + "__name__ 6": true, + "__name__ 7": true, + "__name__ 8": true, + "instance": true, + "instance 1": true, + "instance 2": true, + "instance 3": true, + "instance 4": true, + "instance 5": true, + "instance 6": true, + "instance 7": true, + "instance 8": true, + "job": true, + "job 1": true, + "job 2": true, + "job 3": true, + "job 4": true, + "job 5": true, + "job 6": true, + "job 7": true, + "job 8": true, + "mtxrWlRtabIface 1": false, + "mtxrWlRtabIface 2": true, + "mtxrWlRtabIface 3": true, + "mtxrWlRtabIface 4": true, + "mtxrWlRtabIface 5": true, + "mtxrWlRtabIface 6": true, + "mtxrWlRtabIface 7": true, + "mtxrWlRtabIface 8": true + }, + "indexByName": { + "Time": 5, + "Value #A": 9, + "Value #B": 4, + "Value #C": 3, + "Value #D": 12, + "Value #E": 13, + "Value #F": 10, + "Value #G": 11, + "Value #H": 0, + "__name__": 6, + "instance": 7, + "job": 8, + "mtxrWlRtabAddr": 1, + "mtxrWlRtabIface": 2 + }, + "renameByName": { + "Time": "", + "Value #A": "", + "Value #B": "Signal-to-Noise", + "Value #C": "Strength", + "Value #D": "Tx", + "Value #E": "Rx", + "Value #F": "Tx rate", + "Value #G": "Rx rate", + "Value #H": "Uptime", + "job": "", + "mtxrWlRtabAddr": "Mac address", + "mtxrWlRtabIface": "Interface", + "mtxrWlRtabIface 1": "wifi interface id" + } + } + } + ], + "type": "table" + }, + { + "cacheTimeout": null, + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#C4162A", + "colorScale": "sqrt", + "colorScheme": "interpolateRdYlGn", + "exponent": 0.5, + "max": -85, + "min": -30, + "mode": "spectrum" + }, + "dataFormat": "tsbuckets", + "datasource": "${DS_PROMETHEUS}", + "description": "Signal Strength: signal strength in dBm (if first ppp-client modem supports)", + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 78 + }, + "heatmap": {}, + "hideZeroBuckets": false, + "highlightCards": true, + "id": 1647, + "legend": { + "show": false + }, + "links": [], + "pluginVersion": "7.5.5", + "repeatDirection": "h", + "reverseYBuckets": false, + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlRtabStrength{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "{{mtxrWlRtabAddr}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "History Wi-Fi Strength", + "tooltip": { + "show": true, + "showHistogram": true + }, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": "2m", + "yAxis": { + "decimals": null, + "format": "dBm", + "logBase": 1, + "max": null, + "min": null, + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": 2 + }, + { + "cacheTimeout": null, + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#C4162A", + "colorScale": "sqrt", + "colorScheme": "interpolateRdYlGn", + "exponent": 0.5, + "max": 5, + "min": 50, + "mode": "spectrum" + }, + "dataFormat": "tsbuckets", + "datasource": "${DS_PROMETHEUS}", + "description": "Measured in dB, if value does not exist it is indicated with 0", + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 78 + }, + "heatmap": {}, + "hideZeroBuckets": false, + "highlightCards": true, + "id": 1648, + "legend": { + "show": false + }, + "links": [], + "pluginVersion": "7.5.5", + "repeatDirection": "h", + "reverseYBuckets": false, + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlRtabSignalToNoise{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "{{mtxrWlRtabAddr}}", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "History Wi-Fi Signal-to-Noise", + "tooltip": { + "show": true, + "showHistogram": true + }, + "type": "heatmap", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": "2m", + "yAxis": { + "decimals": null, + "format": "dB", + "logBase": 1, + "max": null, + "min": null, + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": 2 + } + ], + "title": "Wireless", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 57 + }, + "id": 1676, + "panels": [ + { + "datasource": null, + "description": "Wireless registration table entry count", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 0, + "y": 62 + }, + "id": 1646, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlCMRtabEntryCount{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "CAPsMAN client count", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Remote address" + }, + "properties": [ + { + "id": "custom.width", + "value": 187 + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "remote index" + }, + "properties": [ + { + "id": "custom.width", + "value": 110 + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Remote name" + }, + "properties": [ + { + "id": "custom.width" + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Remote address/port" + }, + "properties": [ + { + "id": "custom.width", + "value": 199 + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "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" + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 11, + "x": 3, + "y": 62 + }, + "id": 1681, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "state" + } + ] + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlCMRemoteAddress{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRemoteName{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRemoteRadios{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "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" + } + } + } + ], + "type": "table" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "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 + } + ] + }, + { + "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": 62 + }, + "id": 1679, + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlCMState{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRegClientCount{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "exemplar": true, + "expr": "mtxrWlCMChannel{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "exemplar": true, + "expr": "mtxrWlCMAuthClientCount{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabSsid{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + } + ], + "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": null, + "description": "Wireless CAPSMAN remote-cap entry count", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 3, + "x": 0, + "y": 66 + }, + "id": 1680, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlCMREntryCount{instance='$instance'}", + "format": "time_series", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "remote-cap entry count", + "type": "stat" + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Mac address" + }, + "properties": [ + { + "id": "custom.width", + "value": 130 + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "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.displayMode", + "value": "lcd-gauge" + }, + { + "id": "min", + "value": -85 + }, + { + "id": "max", + "value": -30 + }, + { + "id": "color", + "value": { + "mode": "continuous-RdYlGr" + } + }, + { + "id": "custom.width", + "value": 250 + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Rx Rate" + }, + "properties": [ + { + "id": "custom.width", + "value": 100 + }, + { + "id": "unit", + "value": "bps" + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "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" + }, + "properties": [ + { + "id": "custom.width", + "value": 100 + }, + { + "id": "unit", + "value": "bps" + }, + { + "id": "custom.align", + "value": "center" + } + ] + }, + { + "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": 70 + }, + "id": 1678, + "options": { + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "SSID" + } + ] + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrWlCMRtabAddr{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabEapIdent{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "B" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabRxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "C" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabRxPackets{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "D" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabRxRate{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "E" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabRxStrength{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "F" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabSsid{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "G" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabTxBytes{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "H" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabTxPackets{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "I" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabTxRate{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "J" + }, + { + "exemplar": true, + "expr": "mtxrWlCMRtabTxStrength{instance='$instance'}", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "K" + }, + { + "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" + } + ], + "title": "CAPsMAN", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 58 + }, + "id": 1673, + "panels": [ + { + "aliasColors": { + "CCQ - 1": "#ff2e63", + "CCQ - 2": "#08d9d6", + "CCQ - Tilda": "#ff2e63", + "Noise - 1": "#ff2e63", + "Noise - 2": "#08d9d6", + "Noise - Tilda": "light-blue", + "Noise - Tilda_5": "dark-purple", + "TX CCQ - Tilda": "#ff2e63" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${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)", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 6, + "x": 0, + "y": 78 + }, + "hiddenSeries": false, + "id": 1640, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxPerRow": 2, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatDirection": "h", + "seriesOverrides": [ + { + "alias": "2", + "yaxis": 1 + }, + { + "alias": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"2\"}", + "yaxis": 2 + }, + { + "alias": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"11\"}", + "yaxis": 2 + }, + { + "alias": "mtxrWlApNoiseFloor{instance=\"192.168.5.1\", job=\"Mikrotik\", mtxrWlApIndex=\"1\"}", + "yaxis": 2 + }, + { + "alias": "Noise 1", + "yaxis": 2 + }, + { + "alias": "Noise 11", + "yaxis": 2 + }, + { + "alias": "Noise 2", + "yaxis": 2 + }, + { + "alias": "Noise - 2", + "yaxis": 2 + }, + { + "alias": "Noise - 11", + "yaxis": 2 + }, + { + "alias": "Noise - 1", + "yaxis": 2 + }, + { + "alias": "Noise - Tilda", + "yaxis": 2 + }, + { + "alias": "Noise - Tilda_5", + "yaxis": 2 + }, + { + "alias": "Modem Signal", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "mtxrWirelessModemSignalStrength{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "Signal Strength", + "refId": "A" + }, + { + "exemplar": true, + "expr": "mtxrWirelessModemSignalECIO{instance='$instance'}", + "hide": false, + "interval": "", + "legendFormat": "Modem Signal", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Modem", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "dBm", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "decimals": null, + "format": "dB", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": true, + "alignLevel": 0 + } + }, + { + "datasource": null, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 4, + "x": 6, + "y": 78 + }, + "id": 1674, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "8.1.7", + "targets": [ + { + "exemplar": true, + "expr": "mtxrUSBPowerReset{instance='$instance'}", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "USB Power Reset", + "type": "stat" + } + ], + "title": "Modem", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 59 + }, + "id": 1281, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 64 + }, + "hiddenSeries": false, + "id": 1282, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxPerRow": 2, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": "queuesimple_name", + "repeatDirection": "h", + "seriesOverrides": [ + { + "alias": "Dropped Out - http_priority", + "yaxis": 2 + }, + { + "alias": "Dropped In - http_priority", + "yaxis": 2 + }, + { + "alias": "Dropped In", + "yaxis": 2 + }, + { + "alias": "Dropped Out ", + "yaxis": 2 + }, + { + "alias": "PCQ-Out", + "yaxis": 2 + }, + { + "alias": "PCQ-In", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Queue $queuesimple_name", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "title": "Simple Queue (In/Out/Dropped/PCQ)", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 60 + }, + "id": 1548, + "panels": [ + { + "aliasColors": { + "Packets - tree_2": "dark-green" + }, + "bars": false, + "cacheTimeout": null, + "dashLength": 10, + "dashes": false, + "datasource": "${DS_PROMETHEUS}", + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 12, + "x": 0, + "y": 65 + }, + "hiddenSeries": false, + "id": 1549, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "maxPerRow": 2, + "nullPointMode": "null as zero", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": "queuetree_name", + "repeatDirection": "h", + "seriesOverrides": [ + { + "alias": "PCQ Out - http_priority", + "yaxis": 2 + }, + { + "alias": "PCQ In - http_priority", + "yaxis": 2 + }, + { + "alias": "PCQ In - test_tree", + "yaxis": 2 + }, + { + "alias": "Dropped - test_tree", + "yaxis": 2 + }, + { + "alias": "PCQ - test_tree", + "yaxis": 2 + }, + { + "alias": "Packets - test_tree", + "yaxis": 2 + }, + { + "alias": "PCQ - tree_2", + "yaxis": 2 + }, + { + "alias": "Dropped - tree_2", + "yaxis": 2 + }, + { + "alias": "PCQ", + "yaxis": 2 + }, + { + "alias": "Dropped", + "yaxis": 2 + }, + { + "alias": "Packets", + "yaxis": 2 + }, + { + "alias": "p", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "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" + }, + { + "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" + }, + { + "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" + }, + { + "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" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Tree Queue $queuetree_name / $queuetree_parent / $queuetree_flow", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "binBps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "pps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "title": "Tree Queue (Bytes/PCQ/Dropped/Packets)", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 61 + }, + "id": 1338, + "panels": [ + { + "aliasColors": { + "In - wlan1": "#ff2e63" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": null, + "description": "Showing values > 0", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 91 + }, + "hiddenSeries": false, + "id": 1339, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": true, + "max": true, + "min": true, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "maxPerRow": 2, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": "Interface", + "repeatDirection": "h", + "seriesOverrides": [ + { + "$$hashKey": "object:361", + "alias": "In - ether1", + "yaxis": 1 + }, + { + "$$hashKey": "object:362", + "alias": "In Unicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:363", + "alias": "Out Unicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:364", + "alias": "Out Discard - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:365", + "alias": "In Discard - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:366", + "alias": "In Unicast -", + "yaxis": 2 + }, + { + "$$hashKey": "object:367", + "alias": "In Unicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:368", + "alias": "In Errors - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:369", + "alias": "Out Errors - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:370", + "alias": "In Unknown Protos - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:371", + "alias": "Out queue length - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:372", + "alias": "In Multicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:373", + "alias": "Out Multicast - ether1", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "irate(ifHCInMulticastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Multicast", + "refId": "K" + }, + { + "exemplar": true, + "expr": "-irate(ifHCOutMulticastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Multicast", + "refId": "L" + }, + { + "exemplar": true, + "expr": "irate(ifHCInBroadcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Broadcast", + "refId": "C" + }, + { + "exemplar": true, + "expr": "-irate(ifHCOutBroadcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Broadcast", + "refId": "A" + }, + { + "exemplar": true, + "expr": "irate(ifHCInUcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Unicast", + "refId": "B" + }, + { + "exemplar": true, + "expr": "-irate(ifHCOutUcastPkts{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Unicast", + "refId": "D" + }, + { + "exemplar": true, + "expr": "irate(ifInDiscards{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Discard", + "refId": "E" + }, + { + "exemplar": true, + "expr": "irate(ifOutDiscards{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Discard", + "refId": "F" + }, + { + "exemplar": true, + "expr": "irate(ifInErrors{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Errors", + "refId": "G" + }, + { + "exemplar": true, + "expr": "irate(ifOutErrors{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out Errors", + "refId": "H" + }, + { + "exemplar": true, + "expr": "irate(ifInUnknownProtos{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "In Unknown Protos", + "refId": "I" + }, + { + "exemplar": true, + "expr": "-irate(ifOutQLen{ifName=~'$Interface',instance='$instance'}[$__rate_interval])", + "hide": false, + "interval": "", + "legendFormat": "Out queue length", + "refId": "J" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Interface \"$Interface\"", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": null, + "format": "pps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "pps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "title": "*cast/Dascard/Errors/Unknown Protos/Queue length", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 62 + }, + "id": 1285, + "panels": [ + { + "aliasColors": { + "In": "#6afff3", + "In - wlan1": "#ff2e63", + "Out": "#bf71ff" + }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": null, + "decimals": null, + "description": "", + "fill": 1, + "fillGradient": 10, + "gridPos": { + "h": 7, + "w": 8, + "x": 0, + "y": 67 + }, + "hiddenSeries": false, + "id": 1286, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideEmpty": false, + "hideZero": false, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "maxPerRow": 3, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "8.1.7", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": "Interface", + "repeatDirection": "h", + "seriesOverrides": [ + { + "$$hashKey": "object:276", + "alias": "In - ether1", + "yaxis": 1 + }, + { + "$$hashKey": "object:277", + "alias": "In Unicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:278", + "alias": "Out Unicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:279", + "alias": "Out Discard - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:280", + "alias": "In Discard - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:281", + "alias": "In Unicast -", + "yaxis": 2 + }, + { + "$$hashKey": "object:282", + "alias": "In Unicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:283", + "alias": "In Errors - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:284", + "alias": "Out Errors - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:285", + "alias": "In Unknown Protos - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:286", + "alias": "Out queue length - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:287", + "alias": "In Multicast - ether1", + "yaxis": 2 + }, + { + "$$hashKey": "object:288", + "alias": "Out Multicast - ether1", + "yaxis": 2 + } + ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "exemplar": true, + "expr": "irate(ifHCInOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "format": "time_series", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "In", + "refId": "A" + }, + { + "exemplar": true, + "expr": "-irate(ifHCOutOctets{ifName=~'$Interface',instance='$instance'}[$__rate_interval])*8", + "hide": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Out", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Traffic \"$Interface\"", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:982", + "decimals": null, + "format": "bps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:983", + "format": "pps", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "title": "Interfaces Traffic", + "type": "row" + } + ], + "refresh": "5s", + "schemaVersion": 30, + "style": "dark", + "tags": [ + "prometheus", + "Mikrotik", + "snmp", + "snmp v3", + "snmp_exporter" + ], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "Prometheus", + "value": "Prometheus" + }, + "description": null, + "error": null, + "hide": 2, + "includeAll": false, + "label": "datasource", + "multi": false, + "name": "DS_PROMETHEUS", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "label_values(ifHCInOctets, job)", + "description": null, + "error": null, + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "Job", + "options": [], + "query": { + "query": "label_values(ifHCInOctets, job)", + "refId": "Prometheus-Job-Variable-Query" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result(ifInOctets{job=\"snmp-exporter\"})", + "description": null, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "instance", + "options": [], + "query": { + "query": "label_values(ifHCInOctets, instance)", + "refId": "Prometheus-instance-Variable-Query" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 3, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "label_values(ifHighSpeed{instance='$instance'},ifIndex)", + "description": null, + "error": null, + "hide": 2, + "includeAll": false, + "label": "", + "multi": false, + "name": "index", + "options": [], + "query": { + "query": "label_values(ifHighSpeed{instance='$instance'},ifIndex)", + "refId": "Prometheus-index-Variable-Query" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 3, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": "", + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result(sort(ifIndex{ifName=~'^(ether).+',instance='$instance'}) or sort(ifIndex{ifName=~'^(sfp|wlan).+',instance='$instance'}) or sort(ifIndex{ifName=~'^bridge.+',instance='$instance'}) or sort(ifIndex{ifName!~'^(ether|bridge).+',instance='$instance'}) )", + "description": null, + "error": null, + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "Interface", + "options": [], + "query": { + "query": "query_result(sort(ifIndex{ifName=~'^(ether).+',instance='$instance'}) or sort(ifIndex{ifName=~'^(sfp|wlan).+',instance='$instance'}) or sort(ifIndex{ifName=~'^bridge.+',instance='$instance'}) or sort(ifIndex{ifName!~'^(ether|bridge).+',instance='$instance'}) )", + "refId": "Prometheus-Interface-Variable-Query" + }, + "refresh": 1, + "regex": "/ifName=\"(.*)\",instance/", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result(ifHCInOctets{ifName=\"$Interface\",instance=\"$instance\"})", + "description": null, + "error": null, + "hide": 2, + "includeAll": false, + "label": null, + "multi": false, + "name": "desc", + "options": [], + "query": { + "query": "query_result(ifHCInOctets{ifName=\"$Interface\",instance=\"$instance\"})", + "refId": "Prometheus-desc-Variable-Query" + }, + "refresh": 1, + "regex": "/ifAlias=\"(.*)\",ifDescr/", + "skipUrlSync": false, + "sort": 4, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": "Null", + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result((mtxrQueueSimplePacketsIn * on (mtxrQueueSimpleIndex) group_left(mtxrQueueSimpleName) mtxrQueueSimpleName{instance='$instance',}))", + "description": null, + "error": null, + "hide": 2, + "includeAll": true, + "label": "", + "multi": false, + "name": "queuesimple_name", + "options": [], + "query": { + "query": "query_result((mtxrQueueSimplePacketsIn * on (mtxrQueueSimpleIndex) group_left(mtxrQueueSimpleName) mtxrQueueSimpleName{instance='$instance',}))", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/mtxrQueueSimpleName=\"(.*)\"/", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": "Null", + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result((mtxrQueueTreePackets * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))", + "description": null, + "error": null, + "hide": 1, + "includeAll": true, + "label": "", + "multi": false, + "name": "queuetree_name", + "options": [], + "query": { + "query": "query_result((mtxrQueueTreePackets * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/mtxrQueueTreeName=\"(.*)\"/", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": "Null", + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))", + "description": null, + "error": null, + "hide": 1, + "includeAll": true, + "label": "", + "multi": false, + "name": "queuetree_parent", + "options": [], + "query": { + "query": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeIndex) group_left(mtxrQueueTreeName) mtxrQueueTreeName{instance='$instance',}))", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/mtxrQueueTreeName=\"(.*)\"/", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": "", + "current": {}, + "datasource": "${DS_PROMETHEUS}", + "definition": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeName) group_left(mtxrQueueTreeIndex) mtxrQueueTreeIndex{instance='$instance',}))", + "description": null, + "error": null, + "hide": 1, + "includeAll": true, + "label": "", + "multi": false, + "name": "queuetree_flow", + "options": [], + "query": { + "query": "query_result((mtxrQueueTreeParentIndex * on (mtxrQueueTreeName) group_left(mtxrQueueTreeIndex) mtxrQueueTreeIndex{instance='$instance',}))", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "/mtxrQueueTreeIndex=\"(.*)\",instance/", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-3h", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "Mikrotik snmp prometheus", + "uid": "nR3NRDGnz", + "version": 14 +} \ No newline at end of file diff --git a/grafana/provisioning/dashboards/dashboard.yml b/grafana/provisioning/dashboards/dashboard.yml new file mode 100644 index 0000000..2e2dee6 --- /dev/null +++ b/grafana/provisioning/dashboards/dashboard.yml @@ -0,0 +1,11 @@ +apiVersion: 1 + +providers: +- name: 'Prometheus' + orgId: 1 + folder: '' + type: file + disableDeletion: false + editable: true + options: + path: /etc/grafana/provisioning/dashboards \ No newline at end of file diff --git a/grafana/provisioning/datasources/datasource.yml b/grafana/provisioning/datasources/datasource.yml new file mode 100644 index 0000000..83fbe6c --- /dev/null +++ b/grafana/provisioning/datasources/datasource.yml @@ -0,0 +1,50 @@ +# config file version +apiVersion: 1 + +# list of datasources that should be deleted from the database +deleteDatasources: + - name: Prometheus + orgId: 1 + +# list of datasources to insert/update depending +# whats available in the database +datasources: + # name of the datasource. Required +- name: Prometheus + # datasource type. Required + type: prometheus + # access mode. direct or proxy. Required + access: proxy + # org id. will default to orgId 1 if not specified + orgId: 1 + # url + url: http://mk_prometheus:9090 + # database password, if used + password: + # database user, if used + user: + # database name, if used + database: + # enable/disable basic auth + basicAuth: false + # basic auth username, if used + basicAuthUser: + # basic auth password, if used + basicAuthPassword: + # enable/disable with credentials headers + withCredentials: + # mark as default datasource. Max one per org + isDefault: true + # fields that will be converted to json and stored in json_data + jsonData: + graphiteVersion: "1.1" + tlsAuth: false + tlsAuthWithCACert: false + # json object of data that will be encrypted. + secureJsonData: + tlsCACert: "..." + tlsClientCert: "..." + tlsClientKey: "..." + version: 1 + # allow users to edit datasources from the UI. + editable: true \ No newline at end of file diff --git a/prometheus.yml b/prometheus/prometheus.yml similarity index 90% rename from prometheus.yml rename to prometheus/prometheus.yml index 4c25e09..cac0a98 100644 --- a/prometheus.yml +++ b/prometheus/prometheus.yml @@ -8,7 +8,7 @@ global: # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). external_labels: - monitor: 'example' + monitor: 'Mikrotik' # Alertmanager configuration alerting: @@ -40,7 +40,7 @@ scrape_configs: - job_name: Mikrotik static_configs: - targets: - - 0.0.0.0 # SNMP device IP. + - 192.168.88.1 # SNMP device IP. metrics_path: /snmp params: module: [mikrotik] @@ -50,4 +50,4 @@ scrape_configs: - source_labels: [__param_target] target_label: instance - target_label: __address__ - replacement: localhost:9116 # The SNMP exporter's real hostname:port. + replacement: mk_snmp_exporter:9116 # The SNMP exporter's real hostname:port.