Interface Widget

I updated the threshold and value mapping to apply to only the status column
This commit is contained in:
VictorRobellini 2021-06-19 11:56:42 -04:00 committed by GitHub
parent a6fa2eca05
commit 4b832342d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": null, "id": null,
"iteration": 1621452211476, "iteration": 1623767773661,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -4260,18 +4260,6 @@
{ {
"color": "rgb(255, 255, 255)", "color": "rgb(255, 255, 255)",
"value": null "value": null
},
{
"color": "dark-red",
"value": 0
},
{
"color": "green",
"value": 1
},
{
"color": "dark-orange",
"value": 2
} }
] ]
} }
@ -4316,12 +4304,61 @@
{ {
"matcher": { "matcher": {
"id": "byName", "id": "byName",
"options": "Interface" "options": "Status"
}, },
"properties": [ "properties": [
{ {
"id": "custom.width", "id": "thresholds",
"value": 121 "value": {
"mode": "absolute",
"steps": [
{
"color": "rgba(81, 48, 255, 0)",
"value": null
},
{
"color": "red",
"value": 0
},
{
"color": "green",
"value": 1
},
{
"color": "dark-orange",
"value": 2
}
]
}
},
{
"id": "mappings",
"value": [
{
"from": "",
"id": 1,
"text": "DOWN",
"to": "",
"type": 1,
"value": "0"
},
{
"from": "",
"id": 2,
"text": "UP",
"to": "",
"type": 1,
"value": "1"
},
{
"from": "",
"id": 3,
"text": "UNKNOWN",
"to": "",
"type": 1,
"value": "2"
}
]
} }
] ]
} }
@ -4868,7 +4905,7 @@
"type": "table" "type": "table"
}, },
{ {
"collapsed": false, "collapsed": true,
"datasource": "$dataSource", "datasource": "$dataSource",
"gridPos": { "gridPos": {
"h": 1, "h": 1,
@ -4877,11 +4914,7 @@
"y": 59 "y": 59
}, },
"id": 14, "id": 14,
"panels": [], "panels": [
"repeat": "WAN",
"title": "WAN Interface - $WAN",
"type": "row"
},
{ {
"cacheTimeout": null, "cacheTimeout": null,
"datasource": "$dataSource", "datasource": "$dataSource",
@ -4984,6 +5017,13 @@
"sortBy": [] "sortBy": []
}, },
"pluginVersion": "7.4.3", "pluginVersion": "7.4.3",
"scopedVars": {
"WAN": {
"selected": false,
"text": "igb0",
"value": "igb0"
}
},
"targets": [ "targets": [
{ {
"alias": "", "alias": "",
@ -5153,6 +5193,13 @@
"pointradius": 2, "pointradius": 2,
"points": false, "points": false,
"renderer": "flot", "renderer": "flot",
"scopedVars": {
"WAN": {
"selected": false,
"text": "igb0",
"value": "igb0"
}
},
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
@ -5360,6 +5407,13 @@
"pluginVersion": "7.4.3", "pluginVersion": "7.4.3",
"repeat": null, "repeat": null,
"repeatDirection": "v", "repeatDirection": "v",
"scopedVars": {
"WAN": {
"selected": false,
"text": "igb0",
"value": "igb0"
}
},
"targets": [ "targets": [
{ {
"alias": "$tag_interface - $col", "alias": "$tag_interface - $col",
@ -5526,6 +5580,13 @@
"pluginVersion": "7.4.3", "pluginVersion": "7.4.3",
"repeat": null, "repeat": null,
"repeatDirection": "v", "repeatDirection": "v",
"scopedVars": {
"WAN": {
"selected": false,
"text": "igb0",
"value": "igb0"
}
},
"targets": [ "targets": [
{ {
"alias": "$tag_interface - $col - This Month", "alias": "$tag_interface - $col - This Month",
@ -5672,6 +5733,13 @@
"renderer": "flot", "renderer": "flot",
"repeat": null, "repeat": null,
"repeatDirection": "v", "repeatDirection": "v",
"scopedVars": {
"WAN": {
"selected": false,
"text": "igb0",
"value": "igb0"
}
},
"seriesOverrides": [], "seriesOverrides": [],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
@ -5923,6 +5991,11 @@
"align": false, "align": false,
"alignLevel": null "alignLevel": null
} }
}
],
"repeat": "WAN",
"title": "WAN Interface - $WAN",
"type": "row"
}, },
{ {
"collapsed": true, "collapsed": true,
@ -5931,7 +6004,7 @@
"h": 1, "h": 1,
"w": 24, "w": 24,
"x": 0, "x": 0,
"y": 83 "y": 61
}, },
"id": 43, "id": 43,
"panels": [ "panels": [
@ -7139,7 +7212,7 @@
] ]
}, },
"time": { "time": {
"from": "now-6h", "from": "now-24h",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {
@ -7159,5 +7232,5 @@
"timezone": "", "timezone": "",
"title": "pfSense System Dashboard", "title": "pfSense System Dashboard",
"uid": "GflT1CsMz", "uid": "GflT1CsMz",
"version": 240 "version": 241
} }