mirror of
https://github.com/M0r13n/mikrotik_monitoring.git
synced 2025-12-26 11:59:32 +00:00
5907 lines
No EOL
137 KiB
JSON
5907 lines
No EOL
137 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "datasource",
|
|
"uid": "grafana"
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"target": {
|
|
"limit": 100,
|
|
"matchAny": false,
|
|
"tags": [],
|
|
"type": "dashboard"
|
|
},
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"description": "Mikrotik MKTXP Exporter metrics",
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"gnetId": 13679,
|
|
"graphTooltip": 0,
|
|
"id": 1,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"collapsed": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 10,
|
|
"panels": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "System",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"result": {
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 72,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "name"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_identity_info{routerboard_address=\"$node\"}",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "{{name}}",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Identity",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "Public IP address of the networking device.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 1
|
|
},
|
|
"id": 96,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "name"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "mktxp_public_ip_address_info{routerboard_address=\"$node\"}",
|
|
"legendFormat": "{{public_address}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Public IP",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"decimals": 1,
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"result": {
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"max": 100,
|
|
"min": 0.1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "rgba(50, 172, 45, 0.97)",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "rgba(237, 129, 40, 0.89)",
|
|
"value": 70
|
|
},
|
|
{
|
|
"color": "rgba(245, 54, 54, 0.9)",
|
|
"value": 90
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 1
|
|
},
|
|
"id": 14,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Memory"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "(1 - mktxp_system_free_memory{routerboard_address=\"$node\"} / mktxp_system_total_memory{routerboard_address=\"$node\"})*100",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Used memory"
|
|
},
|
|
"legendFormat": "Used RAM Memory",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "CPU Load",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "(1 - mktxp_system_free_hdd_space{routerboard_address=\"$node\"} / mktxp_system_total_hdd_space{routerboard_address=\"$node\"})*100",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "HDD Utilization",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 1
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 16,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "CPU"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "mktxp_system_cpu_load{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "CPU 1 load"
|
|
},
|
|
"legendFormat": "{{cpu}}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "CPU load",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:398",
|
|
"format": "percent",
|
|
"logBase": 10,
|
|
"max": "100",
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:399",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Total memory": "#E24D42",
|
|
"Used memory": "#1F78C1"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 5,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 1
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 18,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:743",
|
|
"alias": "Total memory",
|
|
"color": "#E24D42",
|
|
"fill": 2,
|
|
"linewidth": 0,
|
|
"zindex": -3
|
|
},
|
|
{
|
|
"$$hashKey": "object:744",
|
|
"alias": "Used memory",
|
|
"color": "#1F78C1"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Memory"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"} - mktxp_system_free_hdd_space{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Used memory"
|
|
},
|
|
"legendFormat": "Used memory",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"application": {
|
|
"filter": "Memory"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_total_hdd_space{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Total memory"
|
|
},
|
|
"legendFormat": "Total memory",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "HDD Utilization",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:365",
|
|
"format": "decbytes",
|
|
"logBase": 1,
|
|
"min": "0",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:366",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"result": {
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "dtdurations"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 3
|
|
},
|
|
"id": 12,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "auto"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "General"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_uptime{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "System uptime"
|
|
},
|
|
"legendFormat": "",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "System uptime",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"result": {
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 3
|
|
},
|
|
"id": 6,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "name"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_uptime{routerboard_address=\"$node\"}",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "{{board_name}}",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Routerboard HW",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [],
|
|
"max": 100,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 30
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 40
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 60
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 70
|
|
}
|
|
]
|
|
},
|
|
"unit": "celsius"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 5
|
|
},
|
|
"id": 59,
|
|
"options": {
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_routerboard_temperature{routerboard_address=\"$node\"} ",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Temperature",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"result": {
|
|
"text": "N/A"
|
|
}
|
|
},
|
|
"type": "special"
|
|
}
|
|
],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 5
|
|
},
|
|
"id": 8,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "name"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "General"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_uptime{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "System version and hw"
|
|
},
|
|
"legendFormat": "{{version}} ",
|
|
"mode": 2,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "System version",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"fixedColor": "green",
|
|
"mode": "fixed"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "volt"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 2,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 7
|
|
},
|
|
"id": 57,
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "center",
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"text": {},
|
|
"textMode": "value"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "General"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_system_routerboard_voltage{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "System version and hw"
|
|
},
|
|
"legendFormat": "",
|
|
"mode": 2,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Voltage",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 30,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"links": [],
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "bps"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "In | defconf"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-red",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "In | ether2"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "dark-blue",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#1F78C1",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Out | defconf"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "semi-dark-green",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Outgoing traffic on interface ether1-gateway"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"fixedColor": "#EAB839",
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 9
|
|
},
|
|
"id": 75,
|
|
"links": [],
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "right"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"exemplar": true,
|
|
"expr": " rate(mktxp_interface_rx_byte_total{routerboard_address=\"$node\"}[15s]) * 8 != 0",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "In | {{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "- rate(mktxp_interface_tx_byte_total{routerboard_address=\"$node\"}[15s]) * 8 != 0",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Outgoing traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "Out | {{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Interface traffic ",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "left",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "opacity",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineStyle": {
|
|
"fill": "solid"
|
|
},
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "pps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 16
|
|
},
|
|
"id": 92,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "right"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(mktxp_interface_rx_packet_total{routerboard_address=\"$node\"}[15s]) * 8 != 0",
|
|
"interval": "",
|
|
"legendFormat": "{{ name }}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Incoming Packets",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "opacity",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "pps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 16
|
|
},
|
|
"id": 94,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "right"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"exemplar": true,
|
|
"expr": "rate(mktxp_interface_tx_packet_total{routerboard_address=\"$node\"}[15s]) * 8 != 0",
|
|
"interval": "",
|
|
"legendFormat": "{{name}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Outgoing packets",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 24
|
|
},
|
|
"id": 2,
|
|
"panels": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "DHCP",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"decimals": 0,
|
|
"links": [],
|
|
"mappings": [],
|
|
"min": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 30
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 5,
|
|
"x": 0,
|
|
"y": 25
|
|
},
|
|
"id": 20,
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ server }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "DHCP Leases by Server",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "__name__"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "mac_address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 231
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "DHCP VLAN"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 227
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "active_address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 240
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Host Name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 383
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Comment"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 360
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 11,
|
|
"w": 19,
|
|
"x": 5,
|
|
"y": 25
|
|
},
|
|
"id": 25,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "active_address"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_dhcp_lease_info{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "DHCP Leases",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"__name__": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 9,
|
|
"Value": 13,
|
|
"__name__": 8,
|
|
"active_address": 5,
|
|
"address": 4,
|
|
"comment": 1,
|
|
"expires_after": 6,
|
|
"host_name": 0,
|
|
"instance": 7,
|
|
"job": 10,
|
|
"mac_address": 3,
|
|
"routerboard_address": 11,
|
|
"routerboard_name": 12,
|
|
"server": 2
|
|
},
|
|
"renameByName": {
|
|
"comment": "Comment",
|
|
"host_name": "Host Name",
|
|
"server": "DHCP Server"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"decimals": 0,
|
|
"links": [],
|
|
"mappings": [],
|
|
"min": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 30
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 5,
|
|
"x": 0,
|
|
"y": 33
|
|
},
|
|
"id": 23,
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "sum(mktxp_dhcp_lease_active_count{routerboard_address=\"$node\"})",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "In - {{ server }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Total DHCP Leases",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 36
|
|
},
|
|
"id": 45,
|
|
"panels": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Network",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"text": "Unplugged"
|
|
},
|
|
"1": {
|
|
"text": ""
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
],
|
|
"min": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 37
|
|
},
|
|
"id": 70,
|
|
"options": {
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showThresholdLabels": false,
|
|
"showThresholdMarkers": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_routes_total_routes{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Total Routes",
|
|
"type": "gauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 4,
|
|
"x": 2,
|
|
"y": 37
|
|
},
|
|
"id": 71,
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_routes_protocol_count{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "/errors on interface/"
|
|
},
|
|
"legendFormat": "{{protocol}}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Routes per protocol",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"text": "No"
|
|
},
|
|
"1": {
|
|
"text": "Yes"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
],
|
|
"min": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 5,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 37
|
|
},
|
|
"id": 69,
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_interface_full_duplex{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "{{name}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Ethernet Ports: Full Duplex",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 16,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 37
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 55,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": true,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_interface_rx_error_total{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "/errors on interface/"
|
|
},
|
|
"legendFormat": "In Errors | {{name}}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_interface_tx_error_total{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"hide": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Out Errors | {{name}}",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Interface Errors",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:265",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:266",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"text": "Unplugged"
|
|
},
|
|
"1": {
|
|
"text": "Plugged-In"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
],
|
|
"min": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 42
|
|
},
|
|
"id": 51,
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"last"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_interface_status{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "{{name}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Ethernet Ports: Status",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "auto",
|
|
"displayMode": "auto",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "Mbits"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 42
|
|
},
|
|
"id": 53,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_interface_rate{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "{{name}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Rates",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"__name__": true,
|
|
"address": true,
|
|
"env": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"name": false,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true
|
|
},
|
|
"indexByName": {},
|
|
"renameByName": {
|
|
"Value": "Rate",
|
|
"name": "Interface",
|
|
"routerboard_name": ""
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "__name__"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "mac_address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 231
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "DHCP VLAN"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 227
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "active_address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 240
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Host Name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 383
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Comment"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 360
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 4,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 49
|
|
},
|
|
"id": 85,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "active_address"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_poe_info{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "POE",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"__name__": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 9,
|
|
"Value": 13,
|
|
"__name__": 8,
|
|
"active_address": 5,
|
|
"address": 4,
|
|
"comment": 1,
|
|
"expires_after": 6,
|
|
"host_name": 0,
|
|
"instance": 7,
|
|
"job": 10,
|
|
"mac_address": 3,
|
|
"routerboard_address": 11,
|
|
"routerboard_name": 12,
|
|
"server": 2
|
|
},
|
|
"renameByName": {
|
|
"comment": "Comment",
|
|
"host_name": "Host Name",
|
|
"name": "Interface",
|
|
"poe_out": "State",
|
|
"poe_out_status": "Status",
|
|
"poe_priority": "Priority",
|
|
"server": "DHCP Server"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 53
|
|
},
|
|
"id": 84,
|
|
"panels": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Firewall",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "decbytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 54
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 81,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\", log=\"1\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Logged Firewall Rules Traffic ",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "decbytes",
|
|
"label": "",
|
|
"logBase": 2,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "decbytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 54
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 82,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\", log=\"1\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Logged Raw Firewall Rules Traffic ",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "decbytes",
|
|
"label": "",
|
|
"logBase": 2,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "decbytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 11,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 61
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 43,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_firewall_filter_total{routerboard_address=\"$node\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Firewall Rules Traffic ",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "decbytes",
|
|
"label": "",
|
|
"logBase": 2,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "decbytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 11,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 61
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 76,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_firewall_raw_total{routerboard_address=\"$node\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Raw Firewall Rules Traffic ",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "decbytes",
|
|
"label": "",
|
|
"logBase": 2,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "binbps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 72
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 27,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"options": {
|
|
"alertThreshold": false
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_internet_bandwidth",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "{{direction}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Internet Bandwidth",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:54",
|
|
"decimals": 0,
|
|
"format": "binbps",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:55",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "ms"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 72
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 74,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"options": {
|
|
"alertThreshold": false
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_internet_latency",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "latency",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Internet Latency",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:54",
|
|
"decimals": 0,
|
|
"format": "ms",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:55",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 79
|
|
},
|
|
"id": 90,
|
|
"panels": [
|
|
{
|
|
"cards": {
|
|
"cardHSpacing": 2,
|
|
"cardMinWidth": 5,
|
|
"cardVSpacing": 2
|
|
},
|
|
"color": {
|
|
"cardColor": "#b4ff00",
|
|
"colorScale": "sqrt",
|
|
"colorScheme": "interpolateGnYlRd",
|
|
"defaultColor": "#757575",
|
|
"exponent": 0.5,
|
|
"mode": "discrete",
|
|
"thresholds": [
|
|
{
|
|
"$$hashKey": "object:1491",
|
|
"color": "#56A64B",
|
|
"tooltip": "Up",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"$$hashKey": "object:96",
|
|
"color": "#E02F44",
|
|
"tooltip": "Down",
|
|
"value": "0"
|
|
}
|
|
]
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 80
|
|
},
|
|
"hideBranding": false,
|
|
"highlightCards": true,
|
|
"id": 87,
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"links": [],
|
|
"nullPointMode": "as empty",
|
|
"pageSize": 15,
|
|
"pluginVersion": "7.4.5",
|
|
"seriesFilterIndex": -1,
|
|
"statusmap": {
|
|
"ConfigVersion": "v1"
|
|
},
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "max_over_time(mktxp_netwatch_status{routerboard_address=\"$node\"}[1m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Status over time",
|
|
"tooltip": {
|
|
"customContent": "",
|
|
"extraInfo": "",
|
|
"freezeOnClick": true,
|
|
"items": [],
|
|
"show": true,
|
|
"showCustomContent": true,
|
|
"showExtraInfo": false,
|
|
"showItems": false
|
|
},
|
|
"type": "flant-statusmap-panel",
|
|
"useMax": true,
|
|
"usingPagination": false,
|
|
"xAxis": {
|
|
"show": true
|
|
},
|
|
"yAxis": {
|
|
"maxWidth": -1,
|
|
"minWidth": -1,
|
|
"show": true
|
|
},
|
|
"yAxisSort": "metrics",
|
|
"yLabel": {
|
|
"delimiter": "",
|
|
"labelTemplate": "",
|
|
"usingSplitLabel": false
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "color-text",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 0
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Status"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "mappings",
|
|
"value": [
|
|
{
|
|
"options": {
|
|
"0": {
|
|
"text": "Down"
|
|
},
|
|
"1": {
|
|
"text": "Up"
|
|
}
|
|
},
|
|
"type": "value"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"mode": "fixed"
|
|
}
|
|
},
|
|
{
|
|
"id": "color"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 80
|
|
},
|
|
"id": 88,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_netwatch_info{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Netwatch Info",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"__name__": true,
|
|
"disabled": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"name": true,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true,
|
|
"timeout": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 5,
|
|
"Value": 9,
|
|
"__name__": 4,
|
|
"comment": 1,
|
|
"host": 0,
|
|
"instance": 3,
|
|
"interval": 11,
|
|
"job": 6,
|
|
"name": 12,
|
|
"routerboard_address": 7,
|
|
"routerboard_name": 8,
|
|
"since": 10,
|
|
"status": 2,
|
|
"timeout": 13
|
|
},
|
|
"renameByName": {
|
|
"comment": "Comment",
|
|
"host": "Host",
|
|
"host_name": "Host Name",
|
|
"interval": "Interval",
|
|
"server": "DHCP Server",
|
|
"since": "Since",
|
|
"status": "Status"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Netwatch",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": true,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 80
|
|
},
|
|
"id": 29,
|
|
"panels": [
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 81
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 31,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_noise_floor{routerboard_address=\"$node\"}",
|
|
"interval": "",
|
|
"legendFormat": "{{channel}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Noise Floor",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:156",
|
|
"decimals": 1,
|
|
"format": "dB",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:157",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"decimals": 2,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 81
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 73,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_overall_tx_ccq{routerboard_address=\"$node\"}",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "{{channel}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Overall Tx CCQ",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:54",
|
|
"decimals": 2,
|
|
"format": "percent",
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:55",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "__name__"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "rx_signal"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 127
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 267
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "mac_address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 165
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "ssid"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 140
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 89
|
|
},
|
|
"id": 68,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "rx_signal"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_clients_devices_info{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Client Devices",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"__name__": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 0,
|
|
"Value": 13,
|
|
"__name__": 1,
|
|
"dhcp_address": 3,
|
|
"dhcp_name": 2,
|
|
"instance": 12,
|
|
"interface": 11,
|
|
"job": 5,
|
|
"mac_address": 4,
|
|
"routerboard_address": 6,
|
|
"routerboard_name": 7,
|
|
"rx_rate": 8,
|
|
"tx_rate": 9,
|
|
"uptime": 10
|
|
},
|
|
"renameByName": {}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 89
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 37,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_registered_clients{routerboard_address=\"$node\"}",
|
|
"interval": "",
|
|
"legendFormat": "{{channel}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Number of clients",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:501",
|
|
"decimals": 0,
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:502",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"decimals": 0,
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 1,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 97
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 61,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": true,
|
|
"hideZero": false,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_clients_tx_ccq{routerboard_address=\"$node\"}",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "{{dhcp_name}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "WLAN Clients Tx CCQ",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:108",
|
|
"format": "percent",
|
|
"logBase": 1,
|
|
"max": "100",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:109",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 97
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 63,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:176",
|
|
"alias": "/In/"
|
|
},
|
|
{
|
|
"$$hashKey": "object:177",
|
|
"alias": "/Out/",
|
|
"color": "#EAB839",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_wlan_clients_tx_bytes_total{routerboard_address=\"$node\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "In - {{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_wlan_clients_rx_bytes_total{routerboard_address=\"$node\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Outgoing traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "Out - {{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Clients Traffic",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "bps",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"decimals": 0,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "dB"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 105
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 65,
|
|
"legend": {
|
|
"alignAsTable": false,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_clients_signal_strength{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Clients Signal Strength",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:788",
|
|
"format": "dB",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:789",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "none"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 105
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 66,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_wlan_clients_signal_to_noise{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "Clients Signal-to-Noise ",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:788",
|
|
"format": "none",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:789",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Wireless",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 81
|
|
},
|
|
"id": 33,
|
|
"panels": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "CAPsMAN",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"decimals": 2,
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "none"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "board"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 189
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "identity"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 103
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "version"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 110
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 82
|
|
},
|
|
"id": 35,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": []
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_capsman_remote_caps_info{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "{{identity}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Remote Caps",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"__name__": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 0,
|
|
"Value": 10,
|
|
"__name__": 1,
|
|
"base_mac": 4,
|
|
"board": 3,
|
|
"identity": 2,
|
|
"instance": 5,
|
|
"job": 6,
|
|
"routerboard_address": 7,
|
|
"routerboard_name": 8,
|
|
"version": 9
|
|
},
|
|
"renameByName": {}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "fixed"
|
|
},
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"filterable": false,
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "__name__"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "displayName"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "rx_signal"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 127
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 267
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "mac_address"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 165
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "ssid"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.width",
|
|
"value": 140
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 15,
|
|
"w": 18,
|
|
"x": 6,
|
|
"y": 82
|
|
},
|
|
"id": 41,
|
|
"options": {
|
|
"footer": {
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"desc": true,
|
|
"displayName": "rx_signal"
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_capsman_clients_devices_info{routerboard_address=\"$node\"}",
|
|
"format": "table",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "CAPsMAN Clients",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"Value": true,
|
|
"__name__": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"routerboard_address": true,
|
|
"routerboard_name": true
|
|
},
|
|
"indexByName": {
|
|
"Time": 0,
|
|
"Value": 15,
|
|
"__name__": 1,
|
|
"dhcp_address": 3,
|
|
"dhcp_name": 2,
|
|
"instance": 9,
|
|
"interface": 10,
|
|
"job": 12,
|
|
"mac_address": 4,
|
|
"routerboard_address": 13,
|
|
"routerboard_name": 14,
|
|
"rx_rate": 6,
|
|
"rx_signal": 5,
|
|
"ssid": 11,
|
|
"tx_rate": 7,
|
|
"uptime": 8
|
|
},
|
|
"renameByName": {}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"decimals": 0,
|
|
"links": [],
|
|
"mappings": [],
|
|
"min": 1,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "#EAB839",
|
|
"value": 30
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 88
|
|
},
|
|
"id": 47,
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "lcd",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"mean"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_capsman_registrations_count{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ interface }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "sum(mktxp_capsman_registrations_count{routerboard_address=\"$node\"})",
|
|
"instant": true,
|
|
"interval": "",
|
|
"legendFormat": "Total",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "CAPsMAN Registrations",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"links": [],
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red"
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": -80
|
|
},
|
|
{
|
|
"color": "purple",
|
|
"value": -70
|
|
},
|
|
{
|
|
"color": "green",
|
|
"value": -60
|
|
},
|
|
{
|
|
"color": "rgb(20, 104, 9)",
|
|
"value": -40
|
|
}
|
|
]
|
|
},
|
|
"unit": "dB"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 11,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 95
|
|
},
|
|
"id": 48,
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "gradient",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Registered Client Signal Strength",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": [],
|
|
"unit": "dB"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 0,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 18,
|
|
"x": 6,
|
|
"y": 97
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 49,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": false,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 2,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "mktxp_capsman_clients_signal_strength{routerboard_address=\"$node\"}",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "CAPsMan Clients Signal Strength",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:788",
|
|
"format": "dB",
|
|
"logBase": 1,
|
|
"max": "-16",
|
|
"min": "-80",
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:789",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 10,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 106
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 39,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:176",
|
|
"alias": "/In/"
|
|
},
|
|
{
|
|
"$$hashKey": "object:177",
|
|
"alias": "/Out/",
|
|
"color": "#EAB839",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_capsman_clients_tx_bytes_total{routerboard_address=\"$node\"}[15s]) * 8",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "In | {{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_capsman_clients_rx_bytes_total{routerboard_address=\"$node\"}[15s]) * 8",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Outgoing traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "Out | {{ dhcp_name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "CAPsMAN Clients Traffic",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "bps",
|
|
"logBase": 1,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 116
|
|
},
|
|
"id": 80,
|
|
"panels": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "MKTXP Metrics",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "The version of Python running the Prometheus exporter.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 117
|
|
},
|
|
"id": 102,
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"textMode": "name"
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"editorMode": "builder",
|
|
"expr": "python_info",
|
|
"legendFormat": "{{implementation}} {{version}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Python Version",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"Incoming traffic on interface ether1-gateway": "#1F78C1",
|
|
"Outgoing traffic on interface ether1-gateway": "#EAB839"
|
|
},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editable": true,
|
|
"error": false,
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"links": []
|
|
},
|
|
"overrides": []
|
|
},
|
|
"fill": 3,
|
|
"fillGradient": 0,
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 18,
|
|
"x": 6,
|
|
"y": 117
|
|
},
|
|
"hiddenSeries": false,
|
|
"id": 77,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"hideZero": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {
|
|
"alertThreshold": true
|
|
},
|
|
"paceLength": 10,
|
|
"percentage": false,
|
|
"pluginVersion": "9.0.6",
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"$$hashKey": "object:176",
|
|
"alias": "/In/"
|
|
},
|
|
{
|
|
"$$hashKey": "object:177",
|
|
"alias": "/Out/",
|
|
"color": "#EAB839",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m])",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": false,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "sum(rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]))",
|
|
"interval": "",
|
|
"legendFormat": "Total",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeRegions": [],
|
|
"title": "MKTXP Collection Times",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 2,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"$$hashKey": "object:706",
|
|
"format": "ms",
|
|
"logBase": 2,
|
|
"show": true
|
|
},
|
|
{
|
|
"$$hashKey": "object:707",
|
|
"format": "short",
|
|
"logBase": 2,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "thresholds"
|
|
},
|
|
"links": [],
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 10
|
|
},
|
|
{
|
|
"color": "purple",
|
|
"value": 20
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 50
|
|
}
|
|
]
|
|
},
|
|
"unit": "ms"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 120
|
|
},
|
|
"id": 78,
|
|
"links": [],
|
|
"options": {
|
|
"displayMode": "gradient",
|
|
"minVizHeight": 10,
|
|
"minVizWidth": 0,
|
|
"orientation": "horizontal",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
},
|
|
"showUnfilled": true,
|
|
"text": {}
|
|
},
|
|
"pluginVersion": "9.0.6",
|
|
"targets": [
|
|
{
|
|
"application": {
|
|
"filter": "Network"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"expr": "rate(mktxp_collection_time_total{routerboard_address=\"$node\"}[4m]) ",
|
|
"format": "time_series",
|
|
"functions": [],
|
|
"group": {
|
|
"filter": "Network"
|
|
},
|
|
"hide": false,
|
|
"host": {
|
|
"filter": "MikroTik Router"
|
|
},
|
|
"instant": true,
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"item": {
|
|
"filter": "Incoming traffic on interface ether1-gateway"
|
|
},
|
|
"legendFormat": "{{ name }}",
|
|
"mode": 0,
|
|
"options": {
|
|
"showDisabledItems": false
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "MKTXP Collection Times",
|
|
"type": "bargauge"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "Memory metrics about the Mikrotik Metric Exporter for Prometheus.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 10,
|
|
"gradientMode": "hue",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
}
|
|
]
|
|
},
|
|
"unit": "decbytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 9,
|
|
"x": 6,
|
|
"y": 125
|
|
},
|
|
"id": 98,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"editorMode": "builder",
|
|
"expr": "process_resident_memory_bytes",
|
|
"legendFormat": "{{__name__}}",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"editorMode": "builder",
|
|
"expr": "process_virtual_memory_bytes",
|
|
"hide": false,
|
|
"legendFormat": "{{__name__}}",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Memory Footprint",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "The CPU usage caused by the Prometheus exporter process. This is NOT the overall CPU usage.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 10,
|
|
"gradientMode": "hue",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "auto",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "line"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "yellow",
|
|
"value": 10
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 20
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 30
|
|
}
|
|
]
|
|
},
|
|
"unit": "percent"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 9,
|
|
"x": 15,
|
|
"y": 125
|
|
},
|
|
"id": 100,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "bottom"
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "rate(process_cpu_seconds_total[30s]) * 100",
|
|
"legendFormat": "cpu_usage",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "CPU Usage (%)",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"refresh": "10s",
|
|
"schemaVersion": 36,
|
|
"style": "dark",
|
|
"tags": [
|
|
"mikrotik",
|
|
"dashboard",
|
|
"mktxp"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"selected": false,
|
|
"text": "10.0.10.1",
|
|
"value": "10.0.10.1"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"definition": "label_values(mktxp_system_identity_info, routerboard_address)",
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "node",
|
|
"multi": false,
|
|
"name": "node",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(mktxp_system_identity_info, routerboard_address)",
|
|
"refId": "Prometheus-node-Variable-Query"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 1,
|
|
"tagValuesQuery": "",
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-5m",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Mikrotik MKTXP Exporter",
|
|
"uid": "0j4sdLm7z",
|
|
"version": 2,
|
|
"weekStart": ""
|
|
} |