From c7acccf63a8728762608084493b3de965b39c09c Mon Sep 17 00:00:00 2001 From: Victor Robellini Date: Sat, 6 Mar 2021 16:11:53 -0500 Subject: [PATCH] updated tables to grafana7 --- pfSense-Grafana-Dashboard.json | 2180 +++++++++++++++++--------------- 1 file changed, 1154 insertions(+), 1026 deletions(-) diff --git a/pfSense-Grafana-Dashboard.json b/pfSense-Grafana-Dashboard.json index b4798c5..dc6b41b 100755 --- a/pfSense-Grafana-Dashboard.json +++ b/pfSense-Grafana-Dashboard.json @@ -57,12 +57,6 @@ "id": "table", "name": "Table", "version": "" - }, - { - "type": "panel", - "id": "table-old", - "name": "Table (old)", - "version": "" } ], "annotations": { @@ -82,7 +76,7 @@ "gnetId": null, "graphTooltip": 0, "id": null, - "iteration": 1615064017349, + "iteration": 1615064635211, "links": [], "panels": [ { @@ -488,15 +482,109 @@ } }, { - "columns": [], "datasource": "$dataSource", "fieldConfig": { "defaults": { - "custom": {} + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Running" + }, + "properties": [ + { + "id": "custom.width", + "value": 80 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "idle" + }, + "properties": [ + { + "id": "custom.width", + "value": 62 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "zombies" + }, + "properties": [ + { + "id": "custom.width", + "value": 108 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "wait" + }, + "properties": [ + { + "id": "custom.width", + "value": 77 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "blocked" + }, + "properties": [ + { + "id": "custom.width", + "value": 92 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "sleeping" + }, + "properties": [ + { + "id": "custom.width", + "value": 87 + } + ] + } + ] }, - "fontSize": "100%", "gridPos": { "h": 3, "w": 5, @@ -504,36 +592,11 @@ "y": 1 }, "id": 219, - "pageSize": null, - "showHeader": true, - "sort": { - "col": 6, - "desc": false + "options": { + "showHeader": true, + "sortBy": [] }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "", - "align": "right", - "colorMode": null, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "short" - } - ], + "pluginVersion": "7.4.3", "targets": [ { "groupBy": [], @@ -614,8 +677,24 @@ "timeFrom": null, "timeShift": null, "title": "Process Information", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Running", + "idle", + "sleeping", + "wait", + "blocked", + "zombies" + ] + } + } + } + ], + "type": "table" }, { "aliasColors": {}, @@ -906,15 +985,36 @@ "valueName": "current" }, { - "columns": [], "datasource": "$dataSource", "fieldConfig": { "defaults": { - "custom": {} + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "left", + "filterable": false + }, + "decimals": 0, + "displayName": "", + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" }, "overrides": [] }, - "fontSize": "100%", "gridPos": { "h": 3, "w": 5, @@ -922,36 +1022,10 @@ "y": 4 }, "id": 220, - "pageSize": null, - "showHeader": true, - "sort": { - "col": 1, - "desc": true + "options": { + "showHeader": true }, - "styles": [ - { - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "alias": "", - "align": "right", - "colorMode": null, - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "/.*/", - "thresholds": [], - "type": "number", - "unit": "locale" - } - ], + "pluginVersion": "7.4.3", "targets": [ { "groupBy": [], @@ -1020,8 +1094,21 @@ "timeFrom": null, "timeShift": null, "title": "PF Information", - "transform": "table", - "type": "table-old" + "transformations": [ + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "Match", + "State Mismatch", + "State Insert" + ] + } + } + } + ], + "type": "table" }, { "aliasColors": {}, @@ -2963,7 +3050,12 @@ "links": [], "options": { "showHeader": true, - "sortBy": [] + "sortBy": [ + { + "desc": false, + "displayName": "Interface" + } + ] }, "pluginVersion": "7.4.3", "targets": [ @@ -4134,964 +4226,1000 @@ } }, { - "collapsed": false, + "collapsed": true, "datasource": "$dataSource", "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 44 + "y": 88 }, "id": 43, - "panels": [], + "panels": [ + { + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "displayMode": "color-text", + "filterable": false + }, + "mappings": [ + { + "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" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "rgb(255, 255, 255)", + "value": null + }, + { + "color": "light-red", + "value": 0 + }, + { + "color": "light-green", + "value": 1 + }, + { + "color": "orange", + "value": 2 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "name" + }, + "properties": [ + { + "id": "displayName", + "value": "Interface" + }, + { + "id": "unit", + "value": "short" + }, + { + "id": "decimals", + "value": 2 + }, + { + "id": "custom.align", + "value": null + } + ] + } + ] + }, + "gridPos": { + "h": 3, + "w": 24, + "x": 0, + "y": 45 + }, + "id": 604, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb2.10", + "value": "igb2.10" + } + }, + "targets": [ + { + "alias": "", + "groupBy": [ + { + "params": [ + "name" + ], + "type": "tag" + } + ], + "limit": "1", + "measurement": "interface", + "orderByTime": "ASC", + "policy": "autogen", + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "friendlyname" + ], + "type": "field" + }, + { + "params": [ + "FriendlyName" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "ip4_address" + ], + "type": "field" + }, + { + "params": [ + "IPv4 Address" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "mac_address" + ], + "type": "field" + }, + { + "params": [ + "Physical Address" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "status" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + }, + { + "params": [ + "Status" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "name", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Interface summary", + "transformations": [ + { + "id": "merge", + "options": { + "reducers": [] + } + }, + { + "id": "filterFieldsByName", + "options": { + "include": { + "names": [ + "name", + "FriendlyName", + "Physical Address", + "Status", + "IPv4 Address" + ] + } + } + } + ], + "type": "table" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$dataSource", + "decimals": 2, + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 0, + "y": 48 + }, + "hiddenSeries": false, + "id": 38, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.4.3", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb2.10", + "value": "igb2.10" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_recv\") / count(\"bytes_recv\")" + ], + "type": "math" + }, + { + "params": [ + "Bytes_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bytes_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_sent\") / count(\"bytes_sent\")" + ], + "type": "math" + }, + { + "params": [ + "Bytes_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "LAN Traffic - $LAN_Interfaces (Bytes/sec)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "Bps", + "label": "", + "logBase": 2, + "max": null, + "min": null, + "show": true + }, + { + "decimals": 2, + "format": "short", + "label": "", + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "custom": {}, + "decimals": 2, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bps" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 9, + "y": 48 + }, + "id": 248, + "links": [], + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "7.4.3", + "repeat": null, + "repeatDirection": "v", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb2.10", + "value": "igb2.10" + } + }, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" =~ /^$Host$/ AND \"interface\" =~ /^$LAN_Interfaces$/) AND $timeFilter GROUP BY time($__interval) fill(null)", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_recv\") / count(\"bytes_recv\") * 8" + ], + "type": "math" + }, + { + "params": [ + "Bits_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bytes_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"bytes_sent\") / count(\"bytes_sent\") * 8" + ], + "type": "math" + }, + { + "params": [ + "Bits_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "LAN Traffic - $LAN_Interfaces (Bits/sec)", + "type": "stat" + }, + { + "cacheTimeout": null, + "datasource": "$dataSource", + "fieldConfig": { + "defaults": { + "custom": {}, + "decimals": 2, + "mappings": [ + { + "id": 0, + "op": "=", + "text": "N/A", + "type": 1, + "value": "null" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "bytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 3, + "x": 12, + "y": 48 + }, + "hideTimeOverride": true, + "id": 297, + "links": [], + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "sum" + ], + "fields": "", + "values": false + }, + "text": {}, + "textMode": "auto" + }, + "pluginVersion": "7.4.3", + "repeat": null, + "repeatDirection": "v", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb2.10", + "value": "igb2.10" + } + }, + "targets": [ + { + "alias": "$tag_interface - $col - This Month", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "bytes_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [], + "type": "non_negative_difference" + }, + { + "params": [ + "Bytes_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "bytes_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [], + "type": "non_negative_difference" + }, + { + "params": [ + "Bytes_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + }, + { + "condition": "AND", + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + } + ] + } + ], + "timeFrom": "now/M", + "timeShift": null, + "title": "LAN $LAN_Interfaces", + "type": "stat" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$dataSource", + "decimals": 2, + "description": "", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 0, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 15, + "y": 48 + }, + "hiddenSeries": false, + "id": 347, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "hideZero": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "sideWidth": null, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.4.3", + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "repeatDirection": "v", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb2.10", + "value": "igb2.10" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "G", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "packets_recv" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"packets_recv\") / count(\"packets_recv\")" + ], + "type": "math" + }, + { + "params": [ + "Packets_Recv" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "packets_sent" + ], + "type": "field" + }, + { + "params": [], + "type": "first" + }, + { + "params": [ + "1s" + ], + "type": "derivative" + }, + { + "params": [ + "* count(\"packets_sent\") / count(\"packets_sent\")" + ], + "type": "math" + }, + { + "params": [ + "Packets_Sent" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "interface", + "operator": "=~", + "value": "/^$LAN_Interfaces$/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "LAN Throughput - $LAN_Interfaces", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 2, + "format": "short", + "label": null, + "logBase": 2, + "max": null, + "min": null, + "show": true + }, + { + "decimals": 2, + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], "repeat": "LAN_Interfaces", "title": "LAN Interface - $LAN_Interfaces", "type": "row" - }, - { - "cacheTimeout": null, - "datasource": "$dataSource", - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "displayMode": "color-text", - "filterable": false - }, - "mappings": [ - { - "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" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "rgb(255, 255, 255)", - "value": null - }, - { - "color": "light-red", - "value": 0 - }, - { - "color": "light-green", - "value": 1 - }, - { - "color": "orange", - "value": 2 - } - ] - } - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "name" - }, - "properties": [ - { - "id": "displayName", - "value": "Interface" - }, - { - "id": "unit", - "value": "short" - }, - { - "id": "decimals", - "value": 2 - }, - { - "id": "custom.align", - "value": null - } - ] - } - ] - }, - "gridPos": { - "h": 3, - "w": 24, - "x": 0, - "y": 45 - }, - "id": 604, - "links": [], - "options": { - "showHeader": true, - "sortBy": [] - }, - "pluginVersion": "7.4.3", - "targets": [ - { - "alias": "", - "groupBy": [ - { - "params": [ - "name" - ], - "type": "tag" - } - ], - "limit": "1", - "measurement": "interface", - "orderByTime": "ASC", - "policy": "autogen", - "refId": "A", - "resultFormat": "table", - "select": [ - [ - { - "params": [ - "friendlyname" - ], - "type": "field" - }, - { - "params": [ - "FriendlyName" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "ip4_address" - ], - "type": "field" - }, - { - "params": [ - "IPv4 Address" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "mac_address" - ], - "type": "field" - }, - { - "params": [ - "Physical Address" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "status" - ], - "type": "field" - }, - { - "params": [], - "type": "last" - }, - { - "params": [ - "Status" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "name", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Interface summary", - "transformations": [ - { - "id": "merge", - "options": { - "reducers": [] - } - }, - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "name", - "FriendlyName", - "Physical Address", - "Status", - "IPv4 Address" - ] - } - } - } - ], - "type": "table" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$dataSource", - "decimals": 2, - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 9, - "x": 0, - "y": 48 - }, - "hiddenSeries": false, - "id": 38, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "v", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_recv\") / count(\"bytes_recv\")" - ], - "type": "math" - }, - { - "params": [ - "Bytes_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bytes_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_sent\") / count(\"bytes_sent\")" - ], - "type": "math" - }, - { - "params": [ - "Bytes_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "LAN Traffic - $LAN_Interfaces (Bytes/sec)", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "Bps", - "label": "", - "logBase": 2, - "max": null, - "min": null, - "show": true - }, - { - "decimals": 2, - "format": "short", - "label": "", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "cacheTimeout": null, - "datasource": "$dataSource", - "fieldConfig": { - "defaults": { - "custom": {}, - "decimals": 2, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bps" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 9, - "y": 48 - }, - "id": 248, - "links": [], - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "mean" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.4.3", - "repeat": null, - "repeatDirection": "v", - "targets": [ - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" =~ /^$Host$/ AND \"interface\" =~ /^$LAN_Interfaces$/) AND $timeFilter GROUP BY time($__interval) fill(null)", - "rawQuery": false, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_recv\") / count(\"bytes_recv\") * 8" - ], - "type": "math" - }, - { - "params": [ - "Bits_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bytes_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"bytes_sent\") / count(\"bytes_sent\") * 8" - ], - "type": "math" - }, - { - "params": [ - "Bits_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "LAN Traffic - $LAN_Interfaces (Bits/sec)", - "type": "stat" - }, - { - "cacheTimeout": null, - "datasource": "$dataSource", - "fieldConfig": { - "defaults": { - "custom": {}, - "decimals": 2, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "N/A", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "bytes" - }, - "overrides": [] - }, - "gridPos": { - "h": 7, - "w": 3, - "x": 12, - "y": 48 - }, - "hideTimeOverride": true, - "id": 297, - "links": [], - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "sum" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.4.3", - "repeat": null, - "repeatDirection": "v", - "targets": [ - { - "alias": "$tag_interface - $col - This Month", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "none" - ], - "type": "fill" - } - ], - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "bytes_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [], - "type": "non_negative_difference" - }, - { - "params": [ - "Bytes_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "bytes_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [], - "type": "non_negative_difference" - }, - { - "params": [ - "Bytes_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - }, - { - "condition": "AND", - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - } - ] - } - ], - "timeFrom": "now/M", - "timeShift": null, - "title": "LAN $LAN_Interfaces", - "type": "stat" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "$dataSource", - "decimals": 2, - "description": "", - "fieldConfig": { - "defaults": { - "custom": {}, - "links": [] - }, - "overrides": [] - }, - "fill": 0, - "fillGradient": 0, - "gridPos": { - "h": 7, - "w": 9, - "x": 15, - "y": 48 - }, - "hiddenSeries": false, - "id": 347, - "legend": { - "alignAsTable": true, - "avg": true, - "current": true, - "hideZero": true, - "max": true, - "min": true, - "rightSide": false, - "show": true, - "sideWidth": null, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "7.4.3", - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "repeatDirection": "v", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "10s" - ], - "type": "time" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "G", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "packets_recv" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"packets_recv\") / count(\"packets_recv\")" - ], - "type": "math" - }, - { - "params": [ - "Packets_Recv" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "packets_sent" - ], - "type": "field" - }, - { - "params": [], - "type": "first" - }, - { - "params": [ - "1s" - ], - "type": "derivative" - }, - { - "params": [ - "* count(\"packets_sent\") / count(\"packets_sent\")" - ], - "type": "math" - }, - { - "params": [ - "Packets_Sent" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "interface", - "operator": "=~", - "value": "/^$LAN_Interfaces$/" - }, - { - "condition": "AND", - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "LAN Throughput - $LAN_Interfaces", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": 2, - "format": "short", - "label": null, - "logBase": 2, - "max": null, - "min": null, - "show": true - }, - { - "decimals": 2, - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } } ], "refresh": "10s", @@ -5326,5 +5454,5 @@ "timezone": "", "title": "pfSense System Dashboard", "uid": "GflT1CsMz", - "version": 130 + "version": 135 } \ No newline at end of file