diff --git a/pfSense-Grafana-Dashboard.json b/pfSense-Grafana-Dashboard.json index bef52fa..cc4c7f3 100644 --- a/pfSense-Grafana-Dashboard.json +++ b/pfSense-Grafana-Dashboard.json @@ -1,64 +1,4 @@ { - "__inputs": [ - { - "name": "DS_INFLUXDB", - "label": "InfluxDB", - "description": "", - "type": "datasource", - "pluginId": "influxdb", - "pluginName": "InfluxDB" - } - ], - "__requires": [ - { - "type": "panel", - "id": "gauge", - "name": "Gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "7.4.3" - }, - { - "type": "panel", - "id": "grafana-worldmap-panel", - "name": "Worldmap Panel", - "version": "0.3.2" - }, - { - "type": "panel", - "id": "graph", - "name": "Graph", - "version": "" - }, - { - "type": "datasource", - "id": "influxdb", - "name": "InfluxDB", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "singlestat", - "name": "Singlestat", - "version": "" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "table", - "name": "Table", - "version": "" - } - ], "annotations": { "list": [ { @@ -75,8 +15,8 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": null, - "iteration": 1619576644342, + "id": 10, + "iteration": 1620242189269, "links": [], "panels": [ { @@ -1604,7 +1544,7 @@ }, { "collapsed": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "InfluxDB-PfSense", "gridPos": { "h": 1, "w": 24, @@ -1941,7 +1881,7 @@ "type": "table" }, { - "datasource": "${DS_INFLUXDB}", + "datasource": "InfluxDB-PfSense", "fieldConfig": { "defaults": { "color": { @@ -2232,7 +2172,7 @@ "valueName": "total" }, { - "datasource": "${DS_INFLUXDB}", + "datasource": "InfluxDB-PfSense", "description": "", "fieldConfig": { "defaults": { @@ -2654,8 +2594,8 @@ "type": "table" }, { - "collapsed": true, - "datasource": "${DS_INFLUXDB}", + "collapsed": false, + "datasource": "InfluxDB-PfSense", "gridPos": { "h": 1, "w": 24, @@ -2663,7 +2603,10 @@ "y": 23 }, "id": 1005, - "panels": [ + "panels": [], + "title": "pfBlocker Details", + "type": "row" + }, { "cacheTimeout": null, "datasource": "$dataSource", @@ -4043,22 +3986,21 @@ } ], "type": "table" - } - ], - "title": "pfBlocker Details", - "type": "row" }, { - "collapsed": true, + "collapsed": false, "datasource": "$dataSource", "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 24 + "y": 42 }, "id": 143, - "panels": [ + "panels": [], + "title": "Network Stats", + "type": "row" + }, { "aliasColors": {}, "bars": false, @@ -4079,7 +4021,7 @@ "h": 8, "w": 11, "x": 0, - "y": 25 + "y": 43 }, "hiddenSeries": false, "id": 4, @@ -4114,7 +4056,7 @@ "steppedLine": false, "targets": [ { - "alias": "$tag_interface", + "alias": "$tag_gateway_name", "groupBy": [ { "params": [ @@ -4124,7 +4066,7 @@ }, { "params": [ - "interface" + "gateway_name" ], "type": "tag" }, @@ -4163,7 +4105,7 @@ }, { "condition": "AND", - "key": "interface", + "key": "gateway_name", "operator": "=~", "value": "/^$Gateway$/" } @@ -4190,6 +4132,7 @@ }, "yaxes": [ { + "$$hashKey": "object:433", "format": "ms", "label": "", "logBase": 10, @@ -4198,6 +4141,7 @@ "show": true }, { + "$$hashKey": "object:434", "decimals": null, "format": "short", "label": null, @@ -4329,7 +4273,7 @@ "h": 8, "w": 13, "x": 11, - "y": 25 + "y": 43 }, "id": 194, "links": [], @@ -4492,7 +4436,7 @@ "h": 8, "w": 11, "x": 0, - "y": 33 + "y": 51 }, "hiddenSeries": false, "id": 487, @@ -4526,7 +4470,7 @@ "steppedLine": false, "targets": [ { - "alias": "$tag_interface", + "alias": "$tag_gateway_name", "groupBy": [ { "params": [ @@ -4536,7 +4480,7 @@ }, { "params": [ - "interface" + "gateway_name" ], "type": "tag" }, @@ -4574,7 +4518,7 @@ }, { "condition": "AND", - "key": "interface", + "key": "gateway_name", "operator": "=~", "value": "/^$Gateway$/" } @@ -4601,6 +4545,7 @@ }, "yaxes": [ { + "$$hashKey": "object:573", "decimals": 0, "format": "percent", "label": "", @@ -4610,6 +4555,7 @@ "show": true }, { + "$$hashKey": "object:574", "decimals": null, "format": "short", "label": null, @@ -4718,7 +4664,7 @@ "h": 8, "w": 13, "x": 11, - "y": 33 + "y": 51 }, "id": 961, "links": [], @@ -4732,7 +4678,7 @@ "groupBy": [ { "params": [ - "interface" + "gateway_name" ], "type": "tag" } @@ -4792,6 +4738,14 @@ ], "type": "field" } + ], + [ + { + "params": [ + "interface" + ], + "type": "field" + } ] ], "tags": [ @@ -4810,8 +4764,20 @@ { "id": "organize", "options": { - "excludeByName": {}, - "indexByName": {}, + "excludeByName": { + "gateway_name": false + }, + "indexByName": { + "Time": 0, + "defaultgw": 6, + "gateway_name": 1, + "gwdescr": 3, + "interface": 2, + "monitor": 5, + "source": 4, + "status": 7, + "substatus": 8 + }, "renameByName": { "Time": "", "defaultgw": "Default GW", @@ -4830,35 +4796,43 @@ "options": { "include": { "names": [ - "Interface", + "Gateway Name", "Gateway Description", "Gateway IP", "Monitor IP", + "Default GW", "Status", "Status Detail", - "Default GW" + "Interface" ] } } } ], "type": "table" - } - ], - "title": "Network Stats", - "type": "row" }, { - "collapsed": true, + "collapsed": false, "datasource": "$dataSource", "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 25 + "y": 59 }, "id": 14, - "panels": [ + "panels": [], + "repeat": "WAN", + "scopedVars": { + "WAN": { + "selected": false, + "text": "igb0", + "value": "igb0" + } + }, + "title": "WAN Interface - $WAN", + "type": "row" + }, { "cacheTimeout": null, "datasource": "$dataSource", @@ -4952,7 +4926,7 @@ "h": 3, "w": 24, "x": 0, - "y": 42 + "y": 60 }, "id": 603, "links": [], @@ -5109,7 +5083,7 @@ "h": 8, "w": 9, "x": 0, - "y": 45 + "y": 63 }, "hiddenSeries": false, "id": 2, @@ -5326,12 +5300,9344 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 8, + "w": 3, + "x": 9, + "y": 63 + }, + "id": 247, + "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": { + "WAN": { + "selected": false, + "text": "igb0", + "value": "igb0" + } + }, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "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": "/^$WAN$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "WAN Traffic - $WAN (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": 8, + "w": 3, + "x": 12, + "y": 63 + }, + "hideTimeOverride": true, + "id": 296, + "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": { + "WAN": { + "selected": false, + "text": "igb0", + "value": "igb0" + } + }, + "targets": [ + { + "alias": "$tag_interface - $col - This Month", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "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": "/^$WAN$/" + } + ] + } + ], + "timeFrom": "now/M", + "timeShift": null, + "title": "WAN $WAN", + "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": 8, + "w": 9, + "x": 15, + "y": 63 + }, + "hiddenSeries": false, + "id": 322, + "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": { + "WAN": { + "selected": false, + "text": "igb0", + "value": "igb0" + } + }, + "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": "/^$WAN$/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + }, + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "drop_in" + ], + "type": "field" + }, + { + "params": [ + "Drop_In" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "drop_out" + ], + "type": "field" + }, + { + "params": [ + "Drop_Out" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "err_in" + ], + "type": "field" + }, + { + "params": [ + "Err_In" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "err_out" + ], + "type": "field" + }, + { + "params": [ + "Err_Out" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "interface", + "operator": "=~", + "value": "/^$WAN$/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "WAN Throughput - $WAN", + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 71 + }, + "id": 1067, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 14, + "scopedVars": { + "WAN": { + "selected": false, + "text": "ovpnc1", + "value": "ovpnc1" + } + }, + "title": "WAN Interface - $WAN", + "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": "red", + "value": 0 + }, + { + "color": "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": 72 + }, + "id": 1068, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 603, + "repeatedByRow": true, + "scopedVars": { + "WAN": { + "selected": false, + "text": "ovpnc1", + "value": "ovpnc1" + } + }, + "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": "/^$WAN$/" + } + ] + } + ], + "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": 8, + "w": 9, + "x": 0, + "y": 75 + }, + "hiddenSeries": false, + "id": 1069, + "legend": { + "alignAsTable": true, + "avg": true, + "current": true, + "max": true, + "min": false, + "rightSide": false, + "show": true, + "sort": "max", + "sortDesc": 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", + "repeatIteration": 1620242189269, + "repeatPanelId": 2, + "repeatedByRow": true, + "scopedVars": { + "WAN": { + "selected": false, + "text": "ovpnc1", + "value": "ovpnc1" + } + }, + "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": "C", + "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": "/^$WAN$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "WAN Traffic - $WAN (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": null, + "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": 8, + "w": 3, + "x": 9, + "y": 75 + }, + "id": 1070, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 247, + "repeatedByRow": true, + "scopedVars": { + "WAN": { + "selected": false, + "text": "ovpnc1", + "value": "ovpnc1" + } + }, + "targets": [ + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "10s" + ], + "type": "time" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "none" + ], + "type": "fill" + } + ], + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "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": "/^$WAN$/" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "WAN Traffic - $WAN (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": 8, + "w": 3, + "x": 12, + "y": 75 + }, + "hideTimeOverride": true, + "id": 1071, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 296, + "repeatedByRow": true, + "scopedVars": { + "WAN": { + "selected": false, + "text": "ovpnc1", + "value": "ovpnc1" + } + }, + "targets": [ + { + "alias": "$tag_interface - $col - This Month", + "groupBy": [ + { + "params": [ + "$__interval" + ], + "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": "/^$WAN$/" + } + ] + } + ], + "timeFrom": "now/M", + "timeShift": null, + "title": "WAN $WAN", + "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": 8, + "w": 9, + "x": 15, + "y": 75 + }, + "hiddenSeries": false, + "id": 1072, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 322, + "repeatedByRow": true, + "scopedVars": { + "WAN": { + "selected": false, + "text": "ovpnc1", + "value": "ovpnc1" + } + }, + "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": "/^$WAN$/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + }, + { + "alias": "$tag_interface - $col", + "groupBy": [ + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "interface" + ], + "type": "tag" + }, + { + "params": [ + "null" + ], + "type": "fill" + } + ], + "hide": false, + "measurement": "net", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "drop_in" + ], + "type": "field" + }, + { + "params": [ + "Drop_In" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "drop_out" + ], + "type": "field" + }, + { + "params": [ + "Drop_Out" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "err_in" + ], + "type": "field" + }, + { + "params": [ + "Err_In" + ], + "type": "alias" + } + ], + [ + { + "params": [ + "err_out" + ], + "type": "field" + }, + { + "params": [ + "Err_Out" + ], + "type": "alias" + } + ] + ], + "tags": [ + { + "key": "interface", + "operator": "=~", + "value": "/^$WAN$/" + }, + { + "condition": "AND", + "key": "host", + "operator": "=~", + "value": "/^$Host$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "WAN Throughput - $WAN", + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 83 + }, + "id": 43, + "panels": [], + "repeat": "LAN_Interfaces", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.10", + "value": "igb1.10" + } + }, + "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": 84 + }, + "id": 604, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.10", + "value": "igb1.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": 87 + }, + "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": "igb1.10", + "value": "igb1.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": 87 + }, + "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": "igb1.10", + "value": "igb1.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": 87 + }, + "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": "igb1.10", + "value": "igb1.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": 87 + }, + "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": "igb1.10", + "value": "igb1.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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 94 + }, + "id": 1073, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.20", + "value": "igb1.20" + } + }, + "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": 95 + }, + "id": 1074, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.20", + "value": "igb1.20" + } + }, + "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": 98 + }, + "hiddenSeries": false, + "id": 1075, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.20", + "value": "igb1.20" + } + }, + "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": 98 + }, + "id": 1076, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.20", + "value": "igb1.20" + } + }, + "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": 98 + }, + "hideTimeOverride": true, + "id": 1077, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.20", + "value": "igb1.20" + } + }, + "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": 98 + }, + "hiddenSeries": false, + "id": 1078, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.20", + "value": "igb1.20" + } + }, + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 105 + }, + "id": 1079, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.30", + "value": "igb1.30" + } + }, + "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": 106 + }, + "id": 1080, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.30", + "value": "igb1.30" + } + }, + "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": 109 + }, + "hiddenSeries": false, + "id": 1081, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.30", + "value": "igb1.30" + } + }, + "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": 109 + }, + "id": 1082, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.30", + "value": "igb1.30" + } + }, + "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": 109 + }, + "hideTimeOverride": true, + "id": 1083, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.30", + "value": "igb1.30" + } + }, + "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": 109 + }, + "hiddenSeries": false, + "id": 1084, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.30", + "value": "igb1.30" + } + }, + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 116 + }, + "id": 1085, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.40", + "value": "igb1.40" + } + }, + "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": 117 + }, + "id": 1086, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.40", + "value": "igb1.40" + } + }, + "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": 120 + }, + "hiddenSeries": false, + "id": 1087, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.40", + "value": "igb1.40" + } + }, + "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": 120 + }, + "id": 1088, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.40", + "value": "igb1.40" + } + }, + "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": 120 + }, + "hideTimeOverride": true, + "id": 1089, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.40", + "value": "igb1.40" + } + }, + "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": 120 + }, + "hiddenSeries": false, + "id": 1090, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.40", + "value": "igb1.40" + } + }, + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 127 + }, + "id": 1091, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.50", + "value": "igb1.50" + } + }, + "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": 128 + }, + "id": 1092, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.50", + "value": "igb1.50" + } + }, + "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": 131 + }, + "hiddenSeries": false, + "id": 1093, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.50", + "value": "igb1.50" + } + }, + "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": 131 + }, + "id": 1094, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.50", + "value": "igb1.50" + } + }, + "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": 131 + }, + "hideTimeOverride": true, + "id": 1095, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.50", + "value": "igb1.50" + } + }, + "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": 131 + }, + "hiddenSeries": false, + "id": 1096, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb1.50", + "value": "igb1.50" + } + }, + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 138 + }, + "id": 1097, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb4", + "value": "igb4" + } + }, + "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": 139 + }, + "id": 1098, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb4", + "value": "igb4" + } + }, + "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": 142 + }, + "hiddenSeries": false, + "id": 1099, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb4", + "value": "igb4" + } + }, + "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": 142 + }, + "id": 1100, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb4", + "value": "igb4" + } + }, + "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": 142 + }, + "hideTimeOverride": true, + "id": 1101, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb4", + "value": "igb4" + } + }, + "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": 142 + }, + "hiddenSeries": false, + "id": 1102, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb4", + "value": "igb4" + } + }, + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 149 + }, + "id": 1103, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5", + "value": "igb5" + } + }, + "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": 150 + }, + "id": 1104, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5", + "value": "igb5" + } + }, + "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": 153 + }, + "hiddenSeries": false, + "id": 1105, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5", + "value": "igb5" + } + }, + "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": 153 + }, + "id": 1106, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5", + "value": "igb5" + } + }, + "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": 153 + }, + "hideTimeOverride": true, + "id": 1107, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5", + "value": "igb5" + } + }, + "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": 153 + }, + "hiddenSeries": false, + "id": 1108, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5", + "value": "igb5" + } + }, + "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 + } + }, + { + "collapsed": false, + "datasource": "$dataSource", + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 160 + }, + "id": 1109, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5.60", + "value": "igb5.60" + } + }, + "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": 161 + }, + "id": 1110, + "links": [], + "options": { + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5.60", + "value": "igb5.60" + } + }, + "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": 164 + }, + "hiddenSeries": false, + "id": 1111, + "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", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "igb5.60", + "value": "igb5.60" + } + }, + "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": 45 + "y": 164 }, - "id": 247, + "id": 1112, "links": [], "options": { "colorMode": "value", @@ -5351,11 +14657,14 @@ "pluginVersion": "7.4.3", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, "scopedVars": { - "WAN": { + "LAN_Interfaces": { "selected": false, - "text": "igb0", - "value": "igb0" + "text": "igb5.60", + "value": "igb5.60" } }, "targets": [ @@ -5384,6 +14693,8 @@ "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": [ @@ -5458,14 +14769,14 @@ "condition": "AND", "key": "interface", "operator": "=~", - "value": "/^$WAN$/" + "value": "/^$LAN_Interfaces$/" } ] } ], "timeFrom": null, "timeShift": null, - "title": "WAN Traffic - $WAN (Bits/sec)", + "title": "LAN Traffic - $LAN_Interfaces (Bits/sec)", "type": "stat" }, { @@ -5498,13 +14809,13 @@ "overrides": [] }, "gridPos": { - "h": 8, + "h": 7, "w": 3, "x": 12, - "y": 45 + "y": 164 }, "hideTimeOverride": true, - "id": 296, + "id": 1113, "links": [], "options": { "colorMode": "value", @@ -5524,11 +14835,14 @@ "pluginVersion": "7.4.3", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, "scopedVars": { - "WAN": { + "LAN_Interfaces": { "selected": false, - "text": "igb0", - "value": "igb0" + "text": "igb5.60", + "value": "igb5.60" } }, "targets": [ @@ -5537,7 +14851,7 @@ "groupBy": [ { "params": [ - "$__interval" + "10s" ], "type": "time" }, @@ -5615,14 +14929,14 @@ "condition": "AND", "key": "interface", "operator": "=~", - "value": "/^$WAN$/" + "value": "/^$LAN_Interfaces$/" } ] } ], "timeFrom": "now/M", "timeShift": null, - "title": "WAN $WAN", + "title": "LAN $LAN_Interfaces", "type": "stat" }, { @@ -5643,13 +14957,13 @@ "fill": 0, "fillGradient": 0, "gridPos": { - "h": 8, + "h": 7, "w": 9, "x": 15, - "y": 45 + "y": 164 }, "hiddenSeries": false, - "id": 322, + "id": 1114, "legend": { "alignAsTable": true, "avg": true, @@ -5677,11 +14991,14 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, "scopedVars": { - "WAN": { + "LAN_Interfaces": { "selected": false, - "text": "igb0", - "value": "igb0" + "text": "igb5.60", + "value": "igb5.60" } }, "seriesOverrides": [], @@ -5782,107 +15099,7 @@ { "key": "interface", "operator": "=~", - "value": "/^$WAN$/" - }, - { - "condition": "AND", - "key": "host", - "operator": "=~", - "value": "/^$Host$/" - } - ] - }, - { - "alias": "$tag_interface - $col", - "groupBy": [ - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "interface" - ], - "type": "tag" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "hide": false, - "measurement": "net", - "orderByTime": "ASC", - "policy": "default", - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "drop_in" - ], - "type": "field" - }, - { - "params": [ - "Drop_In" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "drop_out" - ], - "type": "field" - }, - { - "params": [ - "Drop_Out" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "err_in" - ], - "type": "field" - }, - { - "params": [ - "Err_In" - ], - "type": "alias" - } - ], - [ - { - "params": [ - "err_out" - ], - "type": "field" - }, - { - "params": [ - "Err_Out" - ], - "type": "alias" - } - ] - ], - "tags": [ - { - "key": "interface", - "operator": "=~", - "value": "/^$WAN$/" + "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", @@ -5897,7 +15114,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "WAN Throughput - $WAN", + "title": "LAN Throughput - $LAN_Interfaces", "tooltip": { "shared": true, "sort": 0, @@ -5935,23 +15152,30 @@ "align": false, "alignLevel": null } - } - ], - "repeat": "WAN", - "title": "WAN Interface - $WAN", - "type": "row" }, { - "collapsed": true, + "collapsed": false, "datasource": "$dataSource", "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 27 + "y": 171 + }, + "id": 1115, + "panels": [], + "repeatIteration": 1620242189269, + "repeatPanelId": 43, + "scopedVars": { + "LAN_Interfaces": { + "selected": false, + "text": "ovpns1", + "value": "ovpns1" + } + }, + "title": "LAN Interface - $LAN_Interfaces", + "type": "row" }, - "id": 43, - "panels": [ { "cacheTimeout": null, "datasource": "$dataSource", @@ -6045,20 +15269,23 @@ "h": 3, "w": 24, "x": 0, - "y": 84 + "y": 172 }, - "id": 604, + "id": 1116, "links": [], "options": { "showHeader": true, "sortBy": [] }, "pluginVersion": "7.4.3", + "repeatIteration": 1620242189269, + "repeatPanelId": 604, + "repeatedByRow": true, "scopedVars": { "LAN_Interfaces": { "selected": false, - "text": "igb2.10", - "value": "igb2.10" + "text": "ovpns1", + "value": "ovpns1" } }, "targets": [ @@ -6202,10 +15429,10 @@ "h": 7, "w": 9, "x": 0, - "y": 87 + "y": 175 }, "hiddenSeries": false, - "id": 38, + "id": 1117, "legend": { "alignAsTable": true, "avg": true, @@ -6230,11 +15457,14 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 38, + "repeatedByRow": true, "scopedVars": { "LAN_Interfaces": { "selected": false, - "text": "igb2.10", - "value": "igb2.10" + "text": "ovpns1", + "value": "ovpns1" } }, "seriesOverrides": [], @@ -6423,9 +15653,9 @@ "h": 7, "w": 3, "x": 9, - "y": 87 + "y": 175 }, - "id": 248, + "id": 1118, "links": [], "options": { "colorMode": "value", @@ -6445,11 +15675,14 @@ "pluginVersion": "7.4.3", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 248, + "repeatedByRow": true, "scopedVars": { "LAN_Interfaces": { "selected": false, - "text": "igb2.10", - "value": "igb2.10" + "text": "ovpns1", + "value": "ovpns1" } }, "targets": [ @@ -6597,10 +15830,10 @@ "h": 7, "w": 3, "x": 12, - "y": 87 + "y": 175 }, "hideTimeOverride": true, - "id": 297, + "id": 1119, "links": [], "options": { "colorMode": "value", @@ -6620,11 +15853,14 @@ "pluginVersion": "7.4.3", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 297, + "repeatedByRow": true, "scopedVars": { "LAN_Interfaces": { "selected": false, - "text": "igb2.10", - "value": "igb2.10" + "text": "ovpns1", + "value": "ovpns1" } }, "targets": [ @@ -6742,10 +15978,10 @@ "h": 7, "w": 9, "x": 15, - "y": 87 + "y": 175 }, "hiddenSeries": false, - "id": 347, + "id": 1120, "legend": { "alignAsTable": true, "avg": true, @@ -6773,11 +16009,14 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", + "repeatIteration": 1620242189269, + "repeatPanelId": 347, + "repeatedByRow": true, "scopedVars": { "LAN_Interfaces": { "selected": false, - "text": "igb2.10", - "value": "igb2.10" + "text": "ovpns1", + "value": "ovpns1" } }, "seriesOverrides": [], @@ -6933,11 +16172,6 @@ } } ], - "repeat": "LAN_Interfaces", - "title": "LAN Interface - $LAN_Interfaces", - "type": "row" - } - ], "refresh": "10s", "schemaVersion": 27, "style": "dark", @@ -6950,9 +16184,9 @@ "list": [ { "current": { - "selected": false, - "text": "InfluxDB", - "value": "InfluxDB" + "selected": true, + "text": "InfluxDB-PfSense", + "value": "InfluxDB-PfSense" }, "description": null, "error": null, @@ -6963,6 +16197,7 @@ "name": "dataSource", "options": [], "query": "influxdb", + "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -6970,7 +16205,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "fw.anson.lan", + "value": "fw.anson.lan" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"", "description": null, @@ -6994,7 +16233,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", "description": null, @@ -7018,9 +16261,17 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": true, + "text": [ + "All" + ], + "value": [ + "$__all" + ] + }, "datasource": "$dataSource", - "definition": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", + "definition": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ", "description": null, "error": null, "hide": 0, @@ -7029,7 +16280,7 @@ "multi": true, "name": "Gateway", "options": [], - "query": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", + "query": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -7082,7 +16333,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "description": null, @@ -7106,7 +16361,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE \"host\" =~ /^$Host$/ and cpu !~ /cpu-total/", "description": null, @@ -7130,7 +16389,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"temperature\" WITH KEY = \"sensor\" WHERE \"host\" =~ /^$Host$/", "description": null, @@ -7175,5 +16438,5 @@ "timezone": "", "title": "pfSense System Dashboard", "uid": "GflT1CsMz", - "version": 222 -} + "version": 2 +} \ No newline at end of file diff --git a/plugins/telegraf_pfifgw.php b/plugins/telegraf_pfifgw.php index 296e0ac..9f0cd72 100755 --- a/plugins/telegraf_pfifgw.php +++ b/plugins/telegraf_pfifgw.php @@ -67,9 +67,20 @@ foreach ($iflist as $ifname => $friendly) { $gw_array = return_gateways_array(); $gw_statuses = return_gateways_status(true); +$debug = false; + +if($debug){ + print_r($a_gateways); + print_r($gateways_status); +} + foreach ($gw_array as $gw => $gateway) { - $name = $gw_statuses[$gw]["name"]; + //take the name from the $a_gateways list + $name = $gateway["name"]; + + //$gateways_status is not guarranteed to contain the same number of gateways as $a_gateways + $monitor = $gw_statuses[$gw]["monitorip"]; $source = $gw_statuses[$gw]["srcip"]; $delay = $gw_statuses[$gw]["delay"]; @@ -106,9 +117,10 @@ foreach ($gw_array as $gw => $gateway) { $substatus = "N/A"; } - printf("gateways,host=%s,interface=%s monitor=\"%s\",source=\"%s\",defaultgw=%s,gwdescr=\"%s\",delay=%s,stddev=%s,loss=%s,status=\"%s\",substatus=\"%s\"\n", + printf("gateways,host=%s,interface=%s,gateway_name=%s monitor=\"%s\",source=\"%s\",defaultgw=%s,gwdescr=\"%s\",delay=%s,stddev=%s,loss=%s,status=\"%s\",substatus=\"%s\"\n", $host, $interface, + $name,//name is required as it is possible to have 2 gateways on 1 interface. i.e. WAN_DHCP and WAN_DHCP6 $monitor, $source, $defaultgw,