adds CAPsMAN frequency table

This commit is contained in:
Leon Morten Richter 2022-11-06 15:35:49 +01:00
parent 9e7f8b7609
commit 07eaedabd1
No known key found for this signature in database
GPG key ID: DC00D426A10A6E2B

View file

@ -1723,7 +1723,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "#EAB839", "color": "#EAB839",
@ -1846,7 +1847,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "yellow", "color": "yellow",
@ -1910,7 +1912,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2005,7 +2008,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "yellow", "color": "yellow",
@ -2214,7 +2218,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "yellow", "color": "yellow",
@ -2285,7 +2290,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -2375,7 +2381,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -3111,6 +3118,7 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": false "alertThreshold": false
}, },
@ -3209,6 +3217,7 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": false "alertThreshold": false
}, },
@ -3268,7 +3277,7 @@
} }
}, },
{ {
"collapsed": true, "collapsed": false,
"datasource": { "datasource": {
"type": "prometheus" "type": "prometheus"
}, },
@ -3279,7 +3288,18 @@
"y": 79 "y": 79
}, },
"id": 90, "id": 90,
"panels": [ "panels": [],
"targets": [
{
"datasource": {
"type": "prometheus"
},
"refId": "A"
}
],
"title": "Netwatch",
"type": "row"
},
{ {
"cards": { "cards": {
"cardHSpacing": 2, "cardHSpacing": 2,
@ -3413,7 +3433,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -3540,18 +3561,6 @@
} }
], ],
"type": "table" "type": "table"
}
],
"targets": [
{
"datasource": {
"type": "prometheus"
},
"refId": "A"
}
],
"title": "Netwatch",
"type": "row"
}, },
{ {
"collapsed": true, "collapsed": true,
@ -3562,7 +3571,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 80 "y": 88
}, },
"id": 29, "id": 29,
"panels": [ "panels": [
@ -3586,7 +3595,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 81 "y": 89
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 31, "id": 31,
@ -3604,6 +3613,7 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "alertThreshold": true
}, },
@ -3681,7 +3691,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 81 "y": 89
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 73, "id": 73,
@ -3699,6 +3709,7 @@
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "alertThreshold": true
}, },
@ -3852,7 +3863,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 89 "y": 97
}, },
"id": 68, "id": 68,
"options": { "options": {
@ -3942,7 +3953,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 89 "y": 97
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 37, "id": 37,
@ -4038,7 +4049,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 97 "y": 105
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 61, "id": 61,
@ -4140,7 +4151,7 @@
"h": 8, "h": 8,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 97 "y": 105
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 63, "id": 63,
@ -4301,7 +4312,7 @@
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 105 "y": 113
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 65, "id": 65,
@ -4418,7 +4429,7 @@
"h": 7, "h": 7,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 105 "y": 113
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 66, "id": 66,
@ -4535,7 +4546,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 81 "y": 89
}, },
"id": 33, "id": 33,
"panels": [], "panels": [],
@ -4568,7 +4579,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -4618,10 +4630,10 @@
] ]
}, },
"gridPos": { "gridPos": {
"h": 6, "h": 7,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 82 "y": 90
}, },
"id": 35, "id": 35,
"options": { "options": {
@ -4702,7 +4714,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -4777,7 +4790,7 @@
"h": 15, "h": 15,
"w": 18, "w": 18,
"x": 6, "x": 6,
"y": 82 "y": 90
}, },
"id": 41, "id": 41,
"options": { "options": {
@ -4863,7 +4876,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "#EAB839", "color": "#EAB839",
@ -4879,10 +4893,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 7, "h": 9,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 88 "y": 97
}, },
"id": 47, "id": 47,
"links": [], "links": [],
@ -4947,6 +4961,112 @@
"title": "CAPsMAN Registrations", "title": "CAPsMAN Registrations",
"type": "bargauge" "type": "bargauge"
}, },
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 18,
"x": 6,
"y": 105
},
"id": 104,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true
},
"pluginVersion": "9.0.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": false,
"expr": "mktxp_capsman_interfaces_info{routerboard_address=\"$node\"}",
"format": "table",
"instant": true,
"legendFormat": "",
"range": false,
"refId": "A"
}
],
"title": "CAPsMAN Frequencies",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"instance": true,
"job": true,
"routerboard_address": true,
"routerboard_name": true
},
"indexByName": {
"Time": 6,
"Value": 12,
"__name__": 8,
"configuration": 5,
"current_channel": 1,
"current_registered_clients": 2,
"current_state": 3,
"instance": 7,
"job": 9,
"mac_address": 4,
"name": 0,
"routerboard_address": 10,
"routerboard_name": 11
},
"renameByName": {
"configuration": "",
"current_registered_clients": "registered_clients",
"current_state": "state",
"mac_address": ""
}
}
}
],
"type": "table"
},
{ {
"datasource": { "datasource": {
"type": "prometheus" "type": "prometheus"
@ -4962,7 +5082,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "red" "color": "red",
"value": null
}, },
{ {
"color": "orange", "color": "orange",
@ -4987,10 +5108,10 @@
"overrides": [] "overrides": []
}, },
"gridPos": { "gridPos": {
"h": 11, "h": 16,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 95 "y": 106
}, },
"id": 48, "id": 48,
"links": [], "links": [],
@ -5066,7 +5187,7 @@
"h": 9, "h": 9,
"w": 18, "w": 18,
"x": 6, "x": 6,
"y": 97 "y": 113
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 49, "id": 49,
@ -5086,6 +5207,7 @@
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 1,
"links": [], "links": [],
"nullPointMode": "null",
"options": { "options": {
"alertThreshold": true "alertThreshold": true
}, },
@ -5189,7 +5311,7 @@
"h": 10, "h": 10,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 106 "y": 122
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 39, "id": 39,
@ -5337,7 +5459,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 116 "y": 132
}, },
"id": 80, "id": 80,
"panels": [], "panels": [],
@ -5368,7 +5490,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "red", "color": "red",
@ -5383,7 +5506,7 @@
"h": 3, "h": 3,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 117 "y": 133
}, },
"id": 102, "id": 102,
"options": { "options": {
@ -5442,7 +5565,7 @@
"h": 8, "h": 8,
"w": 18, "w": 18,
"x": 6, "x": 6,
"y": 117 "y": 133
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 77, "id": 77,
@ -5576,7 +5699,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "yellow", "color": "yellow",
@ -5600,7 +5724,7 @@
"h": 13, "h": 13,
"w": 6, "w": 6,
"x": 0, "x": 0,
"y": 120 "y": 136
}, },
"id": 78, "id": 78,
"links": [], "links": [],
@ -5699,7 +5823,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
} }
] ]
}, },
@ -5711,7 +5836,7 @@
"h": 8, "h": 8,
"w": 9, "w": 9,
"x": 6, "x": 6,
"y": 125 "y": 141
}, },
"id": 98, "id": 98,
"options": { "options": {
@ -5797,7 +5922,8 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green" "color": "green",
"value": null
}, },
{ {
"color": "yellow", "color": "yellow",
@ -5821,7 +5947,7 @@
"h": 8, "h": 8,
"w": 9, "w": 9,
"x": 15, "x": 15,
"y": 125 "y": 141
}, },
"id": 100, "id": 100,
"options": { "options": {
@ -5902,6 +6028,6 @@
"timezone": "", "timezone": "",
"title": "Mikrotik MKTXP Exporter", "title": "Mikrotik MKTXP Exporter",
"uid": "0j4sdLm7z", "uid": "0j4sdLm7z",
"version": 2, "version": 7,
"weekStart": "" "weekStart": ""
} }