{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": 7, "iteration": 1589949008186, "links": [], "panels": [ { "collapsed": false, "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 16, "panels": [], "title": "Hardware", "type": "row" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "$dataSource", "decimals": null, "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 1 }, "hideTimeOverride": true, "id": 49, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "20%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "alias": "", "groupBy": [], "measurement": "system", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"n_users\" FROM \"system\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "n_users" ], "type": "field" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "thresholds": ".7,1.5", "timeFrom": "30s", "title": "Active Users", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {}, "displayName": "CPU", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 70 }, { "color": "red", "value": 85 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 6, "w": 2, "x": 2, "y": 1 }, "id": 8, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.0.0", "targets": [ { "alias": "CPU Total", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "autogen", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "usage_idle" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ " * -1 + 100" ], "type": "math" } ] ], "tags": [ { "key": "cpu", "operator": "=", "value": "cpu-total" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "CPU Total", "type": "gauge" }, { "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {}, "decimals": 2, "displayName": "Load", "mappings": [], "max": 2.5, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 1 }, { "color": "red", "value": 1.5 } ] } }, "overrides": [] }, "gridPos": { "h": 6, "w": 2, "x": 4, "y": 1 }, "id": 10, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.0.0", "targets": [ { "alias": "Load", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "system", "orderByTime": "ASC", "policy": "autogen", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "load1" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "System Load", "type": "gauge" }, { "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {}, "displayName": "Ram", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 75 }, { "color": "red", "value": 85 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 6, "w": 2, "x": 6, "y": 1 }, "id": 12, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.0.0", "targets": [ { "alias": "Ram", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "mem", "orderByTime": "ASC", "policy": "autogen", "query": "SELECT mean(\"value\") FROM \"measurement\" WHERE $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "used_percent" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "Memory Utilization", "type": "gauge" }, { "cacheTimeout": null, "datasource": "$dataSource", "description": "", "fieldConfig": { "defaults": { "custom": {}, "displayName": "${__series.name}", "mappings": [], "nullValueMode": "connected", "thresholds": { "mode": "absolute", "steps": [ { "color": "#299c46", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 60 }, { "color": "#d44a3a", "value": 85 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 6, "w": 4, "x": 8, "y": 1 }, "id": 223, "links": [], "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "7.0.0", "repeatDirection": "h", "targets": [ { "alias": "$tag_device", "groupBy": [ { "params": [ "device" ], "type": "tag" } ], "measurement": "disk", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"used_percent\" FROM \"disk\" WHERE (\"host\" =~ /^$Host$/ AND \"path\" = '/var/run' AND \"device\" =~ /^$Disk$/) AND $timeFilter GROUP BY \"device\"", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "used_percent" ], "type": "field" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "device", "operator": "!=", "value": "devfs" } ] } ], "title": "Disk Utilization", "type": "gauge" }, { "columns": [], "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "100%", "gridPos": { "h": 3, "w": 5, "x": 12, "y": 1 }, "id": 220, "pageSize": null, "showHeader": true, "sort": { "col": 6, "desc": false }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "hidden" }, { "alias": "", "align": "right", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 0, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "locale" } ], "targets": [ { "groupBy": [], "measurement": "pf", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "match" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Match" ], "type": "alias" } ], [ { "params": [ "state-mismatch" ], "type": "field" }, { "params": [ "State Mismatch" ], "type": "alias" } ], [ { "params": [ "state-insert" ], "type": "field" }, { "params": [ "State Insert" ], "type": "alias" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "PF Information", "transform": "table", "type": "table-old" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 7, "x": 17, "y": 1 }, "hiddenSeries": false, "id": 18, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "Load", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "system", "orderByTime": "ASC", "policy": "autogen", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "load1" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Load", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 1, "format": "none", "label": "", "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "#299c46", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "$dataSource", "decimals": null, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { "h": 3, "w": 2, "x": 0, "y": 4 }, "hideTimeOverride": true, "id": 45, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "alias": "Load 15m", "groupBy": [], "measurement": "system", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "uptime_format" ], "type": "field" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "thresholds": ".7,1.5", "timeFrom": "30s", "title": "Uptime", "type": "singlestat", "valueFontSize": "50%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "columns": [], "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "100%", "gridPos": { "h": 3, "w": 5, "x": 12, "y": 4 }, "id": 219, "pageSize": null, "showHeader": true, "sort": { "col": 6, "desc": false }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "hidden" }, { "alias": "", "align": "right", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 0, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "groupBy": [], "measurement": "processes", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "running" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Running" ], "type": "alias" } ], [ { "params": [ "idle" ], "type": "field" } ], [ { "params": [ "sleeping" ], "type": "field" } ], [ { "params": [ "wait" ], "type": "field" } ], [ { "params": [ "blocked" ], "type": "field" } ], [ { "params": [ "zombies" ], "type": "field" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "Process Information", "transform": "table", "type": "table-old" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 8, "x": 0, "y": 7 }, "hiddenSeries": false, "id": 6, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "h", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_cpu", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "cpu" ], "type": "tag" }, { "params": [ "none" ], "type": "fill" } ], "measurement": "cpu", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "usage_idle" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "* -1 + 100" ], "type": "math" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "cpu", "operator": "=~", "value": "/^$CPU$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "label": null, "logBase": 1, "max": "100", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 6, "x": 8, "y": 7 }, "hiddenSeries": false, "id": 17, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "Ram", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "mem", "orderByTime": "ASC", "policy": "autogen", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "used_percent" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Ram", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "percent", "label": null, "logBase": 1, "max": "100", "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 10, "x": 14, "y": 7 }, "hiddenSeries": false, "id": 103, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_sensor", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "sensor" ], "type": "tag" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "temperature", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "degrees" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "sensor", "operator": "=~", "value": "/^$Sensor$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Temperature Sensors", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "celsius", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "collapsed": false, "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 13 }, "id": 41, "panels": [], "title": "Systems", "type": "row" }, { "circleMaxSize": 30, "circleMinSize": 2, "colors": [ "#FF9830", "#FF9830", "#C4162A" ], "datasource": "$dataSource", "decimals": 0, "description": "https://www.reddit.com/r/pfBlockerNG/comments/bu0ms0/pfblockerngtelegrafinfluxdb_ip_block_list/", "esMetric": "Count", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "gridPos": { "h": 9, "w": 7, "x": 0, "y": 14 }, "hideEmpty": false, "hideZero": false, "id": 207, "initialZoom": 1, "locationData": "countries", "mapCenter": "(0°, 0°)", "mapCenterLatitude": 0, "mapCenterLongitude": 0, "maxDataPoints": 1, "mouseWheelZoom": true, "showLegend": false, "stickyLabels": false, "tableQueryOptions": { "geohashField": "geohash", "latitudeField": "latitude", "longitudeField": "longitude", "metricField": "metric", "queryType": "geohash" }, "targets": [ { "alias": "$tag_GeoIP", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "GeoIP" ], "type": "tag" } ], "measurement": "tail_ipblock", "orderByTime": "ASC", "policy": "default", "query": "SELECT count(\"action\") FROM \"ip_block_log\" WHERE $timeFilter GROUP BY \"GeoIP\"", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "action" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "thresholds": "1,5", "timeFrom": null, "timeShift": null, "title": "pfBlocker - IP", "type": "grafana-worldmap-panel", "unitPlural": "", "unitSingle": "", "valueName": "total" }, { "cacheTimeout": null, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {}, "mappings": [ { "id": 0, "op": "=", "text": "N/A", "type": 1, "value": "null" } ], "nullValueMode": "connected", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 7, "y": 14 }, "id": 27, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "fieldOptions": { "calcs": [ "lastNotNull" ] }, "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "values": false } }, "pluginVersion": "7.0.0", "targets": [ { "groupBy": [], "measurement": "tail_dnsbl", "orderByTime": "ASC", "policy": "default", "query": "SELECT count(\"hitormiss\") FROM \"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "hitormiss" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "pfBlocker - DNS - Total Domains Blocked", "type": "stat" }, { "aliasColors": {}, "breakPoint": "50%", "cacheTimeout": null, "combine": { "label": "Others", "threshold": 0 }, "datasource": "pfsense", "decimals": null, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "80%", "format": "locale", "gridPos": { "h": 9, "w": 5, "x": 10, "y": 14 }, "id": 234, "interval": null, "legend": { "percentage": true, "percentageDecimals": 2, "show": true, "sideWidth": null, "sort": "total", "sortDesc": true, "values": true }, "legendType": "Right side", "links": [], "maxDataPoints": 3, "nullPointMode": "connected", "pieType": "pie", "strokeWidth": ".5", "targets": [ { "alias": "[[tag_source]]", "groupBy": [ { "params": [ "source" ], "type": "tag" } ], "measurement": "tail_dnsbl", "orderByTime": "ASC", "policy": "autogen", "query": "SELECT count(\"hitormiss\") FROM \"autogen\".\"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"destination\"", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "hitormiss" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "pfBlocker - DNS - Internal hosts - Blocked Queries", "type": "grafana-piechart-panel", "valueName": "total" }, { "aliasColors": {}, "breakPoint": "50%", "cacheTimeout": null, "combine": { "label": "Others", "threshold": 0 }, "datasource": "pfsense", "decimals": null, "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "80%", "format": "locale", "gridPos": { "h": 9, "w": 9, "x": 15, "y": 14 }, "id": 160, "interval": null, "legend": { "percentage": true, "percentageDecimals": 2, "show": true, "sideWidth": null, "sort": "total", "sortDesc": true, "values": true }, "legendType": "Right side", "links": [], "maxDataPoints": 3, "nullPointMode": "connected", "pieType": "pie", "strokeWidth": ".5", "targets": [ { "alias": "[[tag_destination]]", "groupBy": [ { "params": [ "destination" ], "type": "tag" } ], "measurement": "tail_dnsbl", "orderByTime": "ASC", "policy": "autogen", "query": "SELECT count(\"hitormiss\") FROM \"autogen\".\"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"destination\"", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "hitormiss" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "pfBlocker - DNS", "type": "grafana-piechart-panel", "valueName": "total" }, { "cacheTimeout": null, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [ { "id": 0, "op": "=", "text": "N/A", "type": 1, "value": "null" } ], "nullValueMode": "connected", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 3, "w": 3, "x": 7, "y": 17 }, "id": 162, "interval": null, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "fieldOptions": { "calcs": [ "lastNotNull" ] }, "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "values": false } }, "pluginVersion": "7.0.0", "targets": [ { "groupBy": [], "measurement": "tail_ipblock", "orderByTime": "ASC", "policy": "default", "query": "SELECT count(\"hitormiss\") FROM \"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "action" ], "type": "field" }, { "params": [], "type": "count" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "pfBlocker - IP - Total IPs Blocked", "type": "stat" }, { "collapsed": false, "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "id": 143, "panels": [], "title": "Network Stats", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 15, "x": 0, "y": 24 }, "hiddenSeries": false, "id": 4, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": true, "show": true, "sideWidth": null, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "h", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_gateway_name", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "gateway_name" ], "type": "tag" }, { "params": [ "linear" ], "type": "fill" } ], "measurement": "gateways", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "rtt" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "gateway_name", "operator": "=~", "value": "/^$Gateway$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Gateway RTT - $Gateway ", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "µs", "label": "", "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "columns": [], "datasource": "pfsense", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fontSize": "100%", "gridPos": { "h": 8, "w": 9, "x": 15, "y": 24 }, "id": 194, "links": [], "pageSize": null, "pluginVersion": "6.1.6", "scroll": true, "showHeader": true, "sort": { "col": 2, "desc": false }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "link": false, "pattern": "Time", "type": "hidden" }, { "alias": "", "align": "auto", "colorMode": "value", "colors": [ "#FADE2A", "#F2495C", "#73BF69" ], "decimals": 2, "mappingType": 1, "pattern": "Status", "thresholds": [ "0", "1", "2" ], "type": "string", "unit": "short", "valueMaps": [ { "text": "DOWN", "value": "0" }, { "text": "UP", "value": "1" }, { "text": "UNKNOWN", "value": "2" } ] }, { "alias": "Interface", "align": "auto", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "dateFormat": "YYYY-MM-DD HH:mm:ss", "decimals": 2, "mappingType": 1, "pattern": "name", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "alias": "", "groupBy": [ { "params": [ "name" ], "type": "tag" } ], "limit": "1", "measurement": "interface", "orderByTime": "ASC", "policy": "autogen", "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "status" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "Status" ], "type": "alias" } ], [ { "params": [ "friendlyname" ], "type": "field" }, { "params": [ "pfSense Label" ], "type": "alias" } ], [ { "params": [ "ip_address" ], "type": "field" }, { "params": [ "IP Address" ], "type": "alias" } ], [ { "params": [ "mac_address" ], "type": "field" }, { "params": [ "Physical Address" ], "type": "alias" } ] ], "tags": [] } ], "timeFrom": null, "timeShift": null, "title": "Interface summary", "transform": "table", "type": "table-old" }, { "collapsed": false, "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 32 }, "id": 14, "panels": [], "repeat": "WAN", "scopedVars": { "WAN": { "selected": true, "text": "vtnet1", "value": "vtnet1" } }, "title": "WAN - $WAN", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 33 }, "hiddenSeries": false, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "scopedVars": { "WAN": { "selected": true, "text": "vtnet1", "value": "vtnet1" } }, "seriesOverrides": [], "spaceLength": 10, "stack": true, "steppedLine": false, "targets": [ { "alias": "WAN Traffic Recv", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_recv" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "interface", "operator": "=~", "value": "/^$WAN$/" } ] }, { "alias": "WAN Traffic Sent", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_sent\"), 1s) FROM \"net\" WHERE (\"host\" =~ /^$Host$/ AND \"interface\" =~ /^$WAN$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_sent" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "interface", "operator": "=~", "value": "/^$WAN$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "WAN Traffic - $WAN", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": "", "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "$dataSource", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 33 }, "hiddenSeries": false, "id": 37, "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": { "dataLinks": [] }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "scopedVars": { "WAN": { "selected": true, "text": "vtnet1", "value": "vtnet1" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "Drop In", "groupBy": [], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$Interface$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "Drop Out", "groupBy": [], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$Interface$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "Err In", "groupBy": [], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "err_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$Interface$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "Err Out", "groupBy": [], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "err_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$Interface$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "Pckts Recv", "groupBy": [], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_recv" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$WAN$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "Pckts Sent", "groupBy": [], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_sent\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "H", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_sent" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "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": [ { "format": "short", "label": null, "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "collapsed": false, "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 41 }, "id": 43, "panels": [], "title": "Lan Interfaces", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 42 }, "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": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "repeat": "LAN_Interfaces", "repeatDirection": "v", "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "ovpns1", "value": "ovpns1" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - LAN Traffic Recv", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_recv" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" } ] }, { "alias": "$tag_interface - LAN Traffic Sent", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_sent\"), 1s) FROM \"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_sent" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "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", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": "", "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "$dataSource", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 42 }, "hiddenSeries": false, "id": 39, "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": { "dataLinks": [] }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": "LAN_Interfaces", "repeatDirection": "v", "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "ovpns1", "value": "ovpns1" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - Drop In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Drop Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "err_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "err_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Recv", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_recv" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Sent", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_sent\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "H", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_sent" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "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": [ { "format": "short", "label": null, "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 49 }, "hiddenSeries": false, "id": 235, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "v", "repeatIteration": 1589949008186, "repeatPanelId": 38, "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "vtnet0", "value": "vtnet0" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - LAN Traffic Recv", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_recv" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" } ] }, { "alias": "$tag_interface - LAN Traffic Sent", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_sent\"), 1s) FROM \"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_sent" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "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", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": "", "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "$dataSource", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 49 }, "hiddenSeries": false, "id": 238, "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": { "dataLinks": [] }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "v", "repeatIteration": 1589949008186, "repeatPanelId": 39, "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "vtnet0", "value": "vtnet0" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - Drop In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Drop Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "err_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "err_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Recv", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_recv" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Sent", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_sent\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "H", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_sent" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "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": [ { "format": "short", "label": null, "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 56 }, "hiddenSeries": false, "id": 236, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "v", "repeatIteration": 1589949008186, "repeatPanelId": 38, "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "vtnet0.420", "value": "vtnet0.420" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - LAN Traffic Recv", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_recv" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" } ] }, { "alias": "$tag_interface - LAN Traffic Sent", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_sent\"), 1s) FROM \"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_sent" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "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", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": "", "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "$dataSource", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 56 }, "hiddenSeries": false, "id": 239, "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": { "dataLinks": [] }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "v", "repeatIteration": 1589949008186, "repeatPanelId": 39, "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "vtnet0.420", "value": "vtnet0.420" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - Drop In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Drop Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "err_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "err_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Recv", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_recv" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Sent", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_sent\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "H", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_sent" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "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": [ { "format": "short", "label": null, "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 63 }, "hiddenSeries": false, "id": 237, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "connected", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "v", "repeatIteration": 1589949008186, "repeatPanelId": 38, "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "vtnet0.69", "value": "vtnet0.69" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - LAN Traffic Recv", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_recv\"), 1s) *-1 FROM \"autogen\".\"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_recv" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "tags": [ { "key": "host", "operator": "=~", "value": "/^$Host$/" }, { "condition": "AND", "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" } ] }, { "alias": "$tag_interface - LAN Traffic Sent", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "interface" ], "type": "tag" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT derivative(mean(\"bytes_sent\"), 1s) FROM \"net\" WHERE (\"host\" = 'pfSense-home-master.home' AND \"interface\" = 'vtnet0') AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "bytes_sent" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1s" ], "type": "derivative" }, { "params": [ "*8" ], "type": "math" } ] ], "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", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": "", "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "$dataSource", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 63 }, "hiddenSeries": false, "id": 240, "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": { "dataLinks": [] }, "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "repeatDirection": "v", "repeatIteration": 1589949008186, "repeatPanelId": 39, "scopedVars": { "LAN_Interfaces": { "selected": true, "text": "vtnet0.69", "value": "vtnet0.69" } }, "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "$tag_interface - Drop In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Drop Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"drop_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "drop_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err In", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_in\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "err_in" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Err Out", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"err_out\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "err_out" ], "type": "field" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Recv", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_recv\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "G", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_recv" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "tags": [ { "key": "interface", "operator": "=~", "value": "/^$LAN_Interfaces$/" }, { "condition": "AND", "key": "host", "operator": "=~", "value": "/^$Host$/" } ] }, { "alias": "$tag_interface - Pckts Sent", "groupBy": [ { "params": [ "interface" ], "type": "tag" } ], "measurement": "net", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"packets_sent\") FROM \"net\" WHERE (\"interface\" =~ /^$Interface$/ AND \"host\" =~ /^$Host$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "H", "resultFormat": "time_series", "select": [ [ { "params": [ "packets_sent" ], "type": "field" }, { "params": [ "1s" ], "type": "derivative" } ] ], "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": [ { "format": "short", "label": null, "logBase": 2, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } } ], "refresh": "30m", "schemaVersion": 25, "style": "dark", "tags": [ "pfsense", "pfblocker", "telegraf" ], "templating": { "list": [ { "current": { "selected": false, "text": "pfsense", "value": "pfsense" }, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "dataSource", "options": [], "query": "influxdb", "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "allValue": null, "current": { "selected": false, "text": "rose.local.mathiasp.me", "value": "rose.local.mathiasp.me" }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"", "hide": 0, "includeAll": false, "label": "pfSense", "multi": false, "name": "Host", "options": [], "query": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", "hide": 0, "includeAll": true, "label": null, "multi": false, "name": "Disk", "options": [], "query": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "All", "value": [ "$__all" ] }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "Gateway", "options": [], "query": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "vtnet1", "value": "vtnet1" }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "WAN", "options": [], "query": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "ovpns1 + vtnet0 + vtnet0.420 + vtnet0.69", "value": [ "ovpns1", "vtnet0", "vtnet0.420", "vtnet0.69" ] }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "LAN_Interfaces", "options": [], "query": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "refresh": 1, "regex": "/^(?!igb0$|igb1|igb3|igb2$)/", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "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/", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "CPU", "options": [], "query": "SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE \"host\" =~ /^$Host$/ and cpu !~ /cpu-total/", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "All", "value": [ "$__all" ] }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"interface\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "Interfaces", "options": [], "query": "SHOW TAG VALUES FROM \"interface\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/ ", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"temperature\" WITH KEY = \"sensor\" WHERE \"host\" =~ /^$Host$/", "hide": 0, "includeAll": true, "label": null, "multi": true, "name": "Sensor", "options": [], "query": "SHOW TAG VALUES FROM \"temperature\" WITH KEY = \"sensor\" WHERE \"host\" =~ /^$Host$/", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-15m", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "", "title": "pfSense System Dashboard", "uid": "t_qMZwrWk", "version": 20 }