From 7e60839f2e5d97c506eafffe1fcfb00adf05f4b9 Mon Sep 17 00:00:00 2001 From: tiny6996 Date: Mon, 18 May 2020 22:03:50 -0500 Subject: [PATCH 1/5] switched logparser to tail --- config/additional_config.conf | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/config/additional_config.conf b/config/additional_config.conf index 966afbe..6436118 100644 --- a/config/additional_config.conf +++ b/config/additional_config.conf @@ -6,23 +6,21 @@ ] data_format = "influx" -[[inputs.logparser]] +[[inputs.tail]] files = ["/var/log/pfblockerng/dnsbl.log"] - from_beginning=true - [inputs.logparser.grok] - measurement = "dnsbl_log" - patterns = ["^%{WORD:BlockType}-%{WORD:BlockSubType},%{SYSLOGTIMESTAMP:timestamp:ts-syslog},%{IPORHOST:destination:tag},%{IPORHOST:source:tag},%{GREEDYDATA:call},%{WORD:BlockMethod},%{WORD:BlockList},%{IPORHOST:tld:tag},%{WORD:DefinedList:tag},%{GREEDYDATA:hitormiss}"] - timezone = "Local" - [inputs.logparser.tags] - value = "1" + name_suffix = "_dnsbl" + data_format = "csv" + csv_delimiter = "," + csv_tag_columns = ["domain"] + csv_column_names = ["request-type","time","domain","src-ip","random-field","filter-type","category","lookup-domain","block-list","plus-minus"] -[[inputs.logparser]] - files = ["/var/log/pfblockerng/ip_block.log"] - from_beginning=true - [inputs.logparser.grok] - measurement = "ip_block_log" - patterns = ["^%{SYSLOGTIMESTAMP:timestamp:ts-syslog},%{NUMBER:TrackerID},%{GREEDYDATA:Interface},%{WORD:InterfaceName},%{WORD:action},%{NUMBER:IPVersion},%{NUMBER:ProtocolID},%{GREEDYDATA:Protocol},%{IPORHOST:SrcIP:tag},%{IPORHOST:DstIP:tag},%{NUMBER:SrcPort},%{NUMBER:DstPort},%{WORD:Dir},%{WORD:GeoIP:tag},%{GREEDYDATA:AliasName},%{GREEDYDATA:IPEvaluated},%{GREEDYDATA:FeedName:tag},%{HOSTNAME:ResolvedHostname},%{HOSTNAME:ClientHostname},%{GREEDYDATA:ASN},%{GREEDYDATA:DuplicateEventStatus}"] - timezone = "Local" +[[inputs.tail]] + files = ["/var/log/pfblockerng/ip_block.log"] + name_suffix = "_ipblock" + data_format = "csv" + csv_delimiter = "," + csv_tag_columns = ["country-code","block-list"] + csv_column_names = ["when","id","interface","network","action","code","sub-code","protocol","src-ip","dest-ip","src-port","dest-port","direction","country-code","block-list","subnet","block-list-again","dest-domain","src-domain","uhhh","plus-minus"] #[[inputs.unbound]] # server = "127.0.0.1:953" From ffae9394523b4685af32a3dca454723c920a0165 Mon Sep 17 00:00:00 2001 From: tiny6996 Date: Mon, 18 May 2020 22:05:54 -0500 Subject: [PATCH 2/5] set wan interface as variable and changed names for pfblocker --- pfSense-Grafana-Dashboard.json | 3032 +++++++++++++++++++++++--------- 1 file changed, 2239 insertions(+), 793 deletions(-) diff --git a/pfSense-Grafana-Dashboard.json b/pfSense-Grafana-Dashboard.json index 1812e4b..7a49887 100755 --- a/pfSense-Grafana-Dashboard.json +++ b/pfSense-Grafana-Dashboard.json @@ -1,68 +1,7 @@ { - "__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": "6.7.2" - }, - { - "type": "panel", - "id": "grafana-piechart-panel", - "name": "Pie Chart", - "version": "1.4.0" - }, - { - "type": "panel", - "id": "grafana-worldmap-panel", - "name": "Worldmap Panel", - "version": "0.2.1" - }, - { - "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": "table", - "name": "Table", - "version": "" - } - ], "annotations": { "list": [ { - "$$hashKey": "object:327", "builtIn": 1, "datasource": "-- Grafana --", "enable": true, @@ -76,13 +15,13 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": null, - "iteration": 1588523576991, + "id": 7, + "iteration": 1589857465930, "links": [], "panels": [ { "collapsed": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, @@ -127,12 +66,10 @@ "mappingType": 1, "mappingTypes": [ { - "$$hashKey": "object:971", "name": "value to text", "value": 1 }, { - "$$hashKey": "object:972", "name": "range to text", "value": 2 } @@ -195,7 +132,6 @@ "valueFontSize": "80%", "valueMaps": [ { - "$$hashKey": "object:974", "op": "=", "text": "N/A", "value": "null" @@ -204,7 +140,7 @@ "valueName": "current" }, { - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "gridPos": { "h": 6, "w": 2, @@ -248,7 +184,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "6.7.2", + "pluginVersion": "6.7.3", "targets": [ { "alias": "CPU Total", @@ -312,11 +248,158 @@ "type": "gauge" }, { - "datasource": "${DS_INFLUXDB}", + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "pfsense", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 6, + "x": 4, + "y": 1 + }, + "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 + } + }, + { + "datasource": "pfsense", "gridPos": { "h": 6, "w": 2, - "x": 4, + "x": 10, "y": 1 }, "id": 10, @@ -356,7 +439,7 @@ "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "6.7.2", + "pluginVersion": "6.7.3", "targets": [ { "alias": "Load", @@ -404,328 +487,21 @@ ], "timeFrom": null, "timeShift": null, - "title": "System Load", + "title": "", "type": "gauge" }, - { - "datasource": "${DS_INFLUXDB}", - "gridPos": { - "h": 6, - "w": 2, - "x": 6, - "y": 1 - }, - "id": 12, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 75 - }, - { - "color": "red", - "value": 85 - } - ] - }, - "title": "Ram", - "unit": "percent" - }, - "overrides": [], - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.7.2", - "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": "", - "gridPos": { - "h": 6, - "w": 4, - "x": 8, - "y": 1 - }, - "id": 223, - "links": [], - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "nullValueMode": "connected", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 60 - }, - { - "color": "#d44a3a", - "value": 85 - } - ] - }, - "title": "${__series.name}", - "unit": "percent" - }, - "overrides": [], - "values": false - }, - "orientation": "horizontal", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.7.2", - "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": "${DS_INFLUXDB}", - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 5, - "x": 12, - "y": 1 - }, - "id": 220, - "pageSize": null, - "showHeader": true, - "sort": { - "col": 6, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:838", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:839", - "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" - }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, - "w": 7, - "x": 17, + "w": 6, + "x": 12, "y": 1 }, "hiddenSeries": false, @@ -872,12 +648,10 @@ "mappingType": 1, "mappingTypes": [ { - "$$hashKey": "object:345", "name": "value to text", "value": 1 }, { - "$$hashKey": "object:346", "name": "range to text", "value": 2 } @@ -938,7 +712,6 @@ "valueFontSize": "50%", "valueMaps": [ { - "$$hashKey": "object:348", "op": "=", "text": "N/A", "value": "null" @@ -947,219 +720,80 @@ "valueName": "current" }, { - "columns": [], - "datasource": "${DS_INFLUXDB}", - "fontSize": "100%", - "gridPos": { - "h": 3, - "w": 5, - "x": 12, - "y": 4 - }, - "id": 219, - "pageSize": null, - "showHeader": true, - "sort": { - "col": 6, - "desc": false - }, - "styles": [ - { - "$$hashKey": "object:838", - "alias": "Time", - "align": "auto", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "hidden" - }, - { - "$$hashKey": "object:839", - "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" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "${DS_INFLUXDB}", - "fill": 1, - "fillGradient": 0, + "cacheTimeout": null, + "datasource": "$dataSource", + "description": "", "gridPos": { "h": 6, - "w": 8, + "w": 2, "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", + "id": 47, + "links": [], "options": { - "dataLinks": [] + "fieldOptions": { + "calcs": [ + "lastNotNull" + ], + "defaults": { + "mappings": [], + "nullValueMode": "connected", + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "#299c46", + "value": null + }, + { + "color": "rgba(237, 129, 40, 0.89)", + "value": 50 + }, + { + "color": "#d44a3a", + "value": 80 + } + ] + }, + "title": "${__series.name}", + "unit": "percent" + }, + "overrides": [], + "values": false + }, + "orientation": "horizontal", + "showThresholdLabels": false, + "showThresholdMarkers": true }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", + "pluginVersion": "6.7.3", "repeat": null, "repeatDirection": "h", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, "targets": [ { - "alias": "$tag_cpu", + "alias": "$tag_device", "groupBy": [ { "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "cpu" + "device" ], "type": "tag" - }, - { - "params": [ - "none" - ], - "type": "fill" } ], - "measurement": "cpu", + "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": [ - "usage_idle" + "used_percent" ], "type": "field" - }, - { - "params": [], - "type": "mean" - }, - { - "params": [ - "* -1 + 100" - ], - "type": "math" } ] ], @@ -1171,68 +805,126 @@ }, { "condition": "AND", - "key": "cpu", - "operator": "=~", - "value": "/^$CPU$/" + "key": "path", + "operator": "=", + "value": "/var/run" } ] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "CPU", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "title": "Disk Utilization", + "type": "gauge" + }, + { + "datasource": "pfsense", + "gridPos": { + "h": 6, + "w": 2, + "x": 2, + "y": 7 }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "$$hashKey": "object:15942", - "format": "percent", - "label": null, - "logBase": 1, - "max": "100", - "min": "0", - "show": true + "id": 12, + "options": { + "fieldOptions": { + "calcs": [ + "last" + ], + "defaults": { + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "#EAB839", + "value": 75 + }, + { + "color": "red", + "value": 85 + } + ] + }, + "title": "Ram", + "unit": "percent" + }, + "overrides": [], + "values": false }, + "orientation": "auto", + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "6.7.3", + "targets": [ { - "$$hashKey": "object:15943", - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "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$/" + } + ] } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "timeFrom": null, + "timeShift": null, + "title": "Memory Utilization", + "type": "gauge" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 6, - "x": 8, + "x": 4, "y": 7 }, "hiddenSeries": false, @@ -1243,7 +935,7 @@ "current": true, "max": false, "min": false, - "rightSide": true, + "rightSide": false, "show": true, "total": false, "values": true @@ -1327,7 +1019,6 @@ }, "yaxes": [ { - "$$hashKey": "object:473", "format": "percent", "label": null, "logBase": 1, @@ -1336,7 +1027,6 @@ "show": true }, { - "$$hashKey": "object:474", "format": "short", "label": null, "logBase": 1, @@ -1355,13 +1045,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, - "w": 10, - "x": 14, + "w": 8, + "x": 10, "y": 7 }, "hiddenSeries": false, @@ -1468,7 +1158,6 @@ }, "yaxes": [ { - "$$hashKey": "object:11067", "format": "celsius", "label": null, "logBase": 1, @@ -1477,7 +1166,6 @@ "show": true }, { - "$$hashKey": "object:11068", "format": "short", "label": null, "logBase": 1, @@ -1493,7 +1181,7 @@ }, { "collapsed": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, @@ -1544,7 +1232,7 @@ }, "targets": [ { - "alias": "$tag_GeoIP", + "alias": "[[tag_country-code]]", "groupBy": [ { "params": [ @@ -1554,12 +1242,12 @@ }, { "params": [ - "GeoIP" + "country-code" ], "type": "tag" } ], - "measurement": "ip_block_log", + "measurement": "tail_ipblock", "orderByTime": "ASC", "policy": "default", "query": "SELECT count(\"action\") FROM \"ip_block_log\" WHERE $timeFilter GROUP BY \"GeoIP\"", @@ -1570,7 +1258,7 @@ [ { "params": [ - "action" + "code" ], "type": "field" }, @@ -1607,7 +1295,7 @@ "rgba(237, 129, 40, 0.89)", "#d44a3a" ], - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "format": "locale", "gauge": { "maxValue": 100, @@ -1628,12 +1316,10 @@ "mappingType": 1, "mappingTypes": [ { - "$$hashKey": "object:1171", "name": "value to text", "value": 1 }, { - "$$hashKey": "object:1172", "name": "range to text", "value": 2 } @@ -1664,7 +1350,7 @@ "targets": [ { "groupBy": [], - "measurement": "dnsbl_log", + "measurement": "tail_dnsbl", "orderByTime": "ASC", "policy": "default", "query": "SELECT count(\"hitormiss\") FROM \"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter", @@ -1675,7 +1361,7 @@ [ { "params": [ - "hitormiss" + "filter-type" ], "type": "field" }, @@ -1702,7 +1388,6 @@ "valueFontSize": "80%", "valueMaps": [ { - "$$hashKey": "object:1174", "op": "=", "text": "N/A", "value": "null" @@ -1718,98 +1403,16 @@ "label": "Others", "threshold": 0 }, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "decimals": null, "fontSize": "80%", "format": "locale", "gridPos": { "h": 9, - "w": 5, + "w": 8, "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": "dnsbl_log", - "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": "${DS_INFLUXDB}", - "decimals": null, - "fontSize": "80%", - "format": "locale", - "gridPos": { - "h": 9, - "w": 9, - "x": 15, - "y": 14 - }, "id": 160, "interval": null, "legend": { @@ -1829,16 +1432,16 @@ "strokeWidth": ".5", "targets": [ { - "alias": "[[tag_destination]]", + "alias": "[[tag_domain]]", "groupBy": [ { "params": [ - "destination" + "domain" ], "type": "tag" } ], - "measurement": "dnsbl_log", + "measurement": "tail_dnsbl", "orderByTime": "ASC", "policy": "autogen", "query": "SELECT count(\"hitormiss\") FROM \"autogen\".\"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter GROUP BY \"destination\"", @@ -1849,7 +1452,7 @@ [ { "params": [ - "hitormiss" + "block-list" ], "type": "field" }, @@ -1883,7 +1486,7 @@ "rgba(237, 129, 40, 0.89)", "#d44a3a" ], - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "decimals": 0, "format": "locale", "gauge": { @@ -1905,12 +1508,10 @@ "mappingType": 1, "mappingTypes": [ { - "$$hashKey": "object:194", "name": "value to text", "value": 1 }, { - "$$hashKey": "object:195", "name": "range to text", "value": 2 } @@ -1924,7 +1525,6 @@ "prefixFontSize": "50%", "rangeMaps": [ { - "$$hashKey": "object:225", "from": "null", "text": "N/A", "to": "null" @@ -1942,7 +1542,7 @@ "targets": [ { "groupBy": [], - "measurement": "ip_block_log", + "measurement": "tail_ipblock", "orderByTime": "ASC", "policy": "default", "query": "SELECT count(\"hitormiss\") FROM \"dnsbl_log\" WHERE (\"host\" =~ /^$Host$/) AND $timeFilter", @@ -1980,7 +1580,6 @@ "valueFontSize": "80%", "valueMaps": [ { - "$$hashKey": "object:197", "op": "=", "text": "N/A", "value": "null" @@ -1990,7 +1589,7 @@ }, { "collapsed": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, @@ -2007,13 +1606,13 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "description": "", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, - "w": 15, + "w": 9, "x": 0, "y": 24 }, @@ -2025,7 +1624,7 @@ "current": true, "max": true, "min": true, - "rightSide": true, + "rightSide": false, "show": true, "sideWidth": null, "total": false, @@ -2124,16 +1723,14 @@ }, "yaxes": [ { - "$$hashKey": "object:304", "format": "µs", "label": "", - "logBase": 2, + "logBase": 1, "max": null, "min": null, "show": true }, { - "$$hashKey": "object:305", "format": "short", "label": null, "logBase": 1, @@ -2150,13 +1747,13 @@ { "cacheTimeout": null, "columns": [], - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "description": "", "fontSize": "100%", "gridPos": { "h": 8, "w": 9, - "x": 15, + "x": 9, "y": 24 }, "id": 194, @@ -2166,12 +1763,11 @@ "scroll": true, "showHeader": true, "sort": { - "col": 2, + "col": 1, "desc": false }, "styles": [ { - "$$hashKey": "object:7480", "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", @@ -2180,7 +1776,6 @@ "type": "hidden" }, { - "$$hashKey": "object:7481", "alias": "", "align": "auto", "colorMode": "value", @@ -2201,24 +1796,20 @@ "unit": "short", "valueMaps": [ { - "$$hashKey": "object:7515", "text": "DOWN", "value": "0" }, { - "$$hashKey": "object:7516", "text": "UP", "value": "1" }, { - "$$hashKey": "object:7517", "text": "UNKNOWN", "value": "2" } ] }, { - "$$hashKey": "object:470", "alias": "Interface", "align": "auto", "colorMode": null, @@ -2326,7 +1917,7 @@ }, { "collapsed": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, @@ -2336,6 +1927,13 @@ "id": 14, "panels": [], "repeat": "WAN", + "scopedVars": { + "WAN": { + "selected": true, + "text": "vtnet1", + "value": "vtnet1" + } + }, "title": "WAN - $WAN", "type": "row" }, @@ -2344,12 +1942,12 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, - "w": 12, + "w": 9, "x": 0, "y": 33 }, @@ -2376,6 +1974,13 @@ "pointradius": 2, "points": false, "renderer": "flot", + "scopedVars": { + "WAN": { + "selected": true, + "text": "vtnet1", + "value": "vtnet1" + } + }, "seriesOverrides": [], "spaceLength": 10, "stack": true, @@ -2523,7 +2128,6 @@ }, "yaxes": [ { - "$$hashKey": "object:842", "format": "bps", "label": "", "logBase": 2, @@ -2532,7 +2136,6 @@ "show": true }, { - "$$hashKey": "object:843", "format": "short", "label": null, "logBase": 1, @@ -2557,8 +2160,8 @@ "fillGradient": 0, "gridPos": { "h": 8, - "w": 12, - "x": 12, + "w": 9, + "x": 9, "y": 33 }, "hiddenSeries": false, @@ -2587,6 +2190,13 @@ "pointradius": 5, "points": false, "renderer": "flot", + "scopedVars": { + "WAN": { + "selected": true, + "text": "vtnet1", + "value": "vtnet1" + } + }, "seriesOverrides": [], "spaceLength": 10, "stack": false, @@ -2748,7 +2358,7 @@ }, { "params": [ - "1s" + "10s" ], "type": "derivative" } @@ -2788,7 +2398,7 @@ }, { "params": [ - "1s" + "10s" ], "type": "derivative" } @@ -2829,7 +2439,6 @@ }, "yaxes": [ { - "$$hashKey": "object:1433", "format": "short", "label": null, "logBase": 2, @@ -2838,7 +2447,6 @@ "show": true }, { - "$$hashKey": "object:1434", "format": "short", "label": null, "logBase": 1, @@ -2854,7 +2462,7 @@ }, { "collapsed": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "gridPos": { "h": 1, "w": 24, @@ -2871,12 +2479,12 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "${DS_INFLUXDB}", + "datasource": "pfsense", "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, - "w": 12, + "w": 9, "x": 0, "y": 42 }, @@ -2905,6 +2513,13 @@ "renderer": "flot", "repeat": "LAN_Interfaces", "repeatDirection": "v", + "scopedVars": { + "LAN_Interfaces": { + "selected": true, + "text": "ovpns1", + "value": "ovpns1" + } + }, "seriesOverrides": [], "spaceLength": 10, "stack": false, @@ -3070,7 +2685,6 @@ }, "yaxes": [ { - "$$hashKey": "object:1802", "format": "bps", "label": "", "logBase": 2, @@ -3079,7 +2693,6 @@ "show": true }, { - "$$hashKey": "object:1803", "format": "short", "label": null, "logBase": 1, @@ -3104,8 +2717,8 @@ "fillGradient": 0, "gridPos": { "h": 7, - "w": 12, - "x": 12, + "w": 9, + "x": 9, "y": 42 }, "hiddenSeries": false, @@ -3136,6 +2749,13 @@ "renderer": "flot", "repeat": "LAN_Interfaces", "repeatDirection": "v", + "scopedVars": { + "LAN_Interfaces": { + "selected": true, + "text": "ovpns1", + "value": "ovpns1" + } + }, "seriesOverrides": [], "spaceLength": 10, "stack": false, @@ -3332,7 +2952,7 @@ }, { "params": [ - "1s" + "10s" ], "type": "derivative" } @@ -3379,7 +2999,1780 @@ }, { "params": [ - "1s" + "10s" + ], + "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", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 0, + "y": 49 + }, + "hiddenSeries": false, + "id": 208, + "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": 1589857465930, + "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": "", + "fill": 0, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 9, + "y": 49 + }, + "hiddenSeries": false, + "id": 211, + "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": 1589857465930, + "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": [ + "10s" + ], + "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": [ + "10s" + ], + "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", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 0, + "y": 56 + }, + "hiddenSeries": false, + "id": 209, + "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": 1589857465930, + "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": "", + "fill": 0, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 9, + "y": 56 + }, + "hiddenSeries": false, + "id": 212, + "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": 1589857465930, + "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": [ + "10s" + ], + "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": [ + "10s" + ], + "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", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 0, + "y": 63 + }, + "hiddenSeries": false, + "id": 210, + "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": 1589857465930, + "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": "", + "fill": 0, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 9, + "x": 9, + "y": 63 + }, + "hiddenSeries": false, + "id": 213, + "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": 1589857465930, + "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": [ + "10s" + ], + "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": [ + "10s" ], "type": "derivative" } @@ -3420,7 +4813,6 @@ }, "yaxes": [ { - "$$hashKey": "object:1249", "format": "short", "label": null, "logBase": 2, @@ -3429,7 +4821,6 @@ "show": true }, { - "$$hashKey": "object:1250", "format": "short", "label": null, "logBase": 1, @@ -3444,7 +4835,7 @@ } } ], - "refresh": "30s", + "refresh": false, "schemaVersion": 22, "style": "dark", "tags": [ @@ -3457,8 +4848,8 @@ { "current": { "selected": false, - "text": "InfluxDB", - "value": "InfluxDB" + "text": "pfsense", + "value": "pfsense" }, "hide": 0, "includeAll": false, @@ -3474,7 +4865,10 @@ }, { "allValue": null, - "current": {}, + "current": { + "text": "rose.local.mathiasp.me", + "value": "rose.local.mathiasp.me" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"", "hide": 0, @@ -3497,9 +4891,13 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", - "definition": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", + "definition": "SHOW TAG VALUES FROM \"diskio\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/", "hide": 0, "includeAll": true, "index": -1, @@ -3507,7 +4905,7 @@ "multi": false, "name": "Disk", "options": [], - "query": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", + "query": "SHOW TAG VALUES FROM \"diskio\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -3520,7 +4918,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, @@ -3544,39 +4946,71 @@ { "allValue": null, "current": { - "selected": false, - "tags": [], - "text": "All", - "value": [ - "$__all" - ] + "text": "vtnet1", + "value": "vtnet1" }, + "datasource": "pfsense", + "definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, + "index": -1, "label": null, "multi": true, "name": "WAN", "options": [ { - "$$hashKey": "object:755", - "selected": true, + "selected": false, "text": "All", "value": "$__all" }, { - "$$hashKey": "object:756", "selected": false, - "text": "igb0", - "value": "igb0" + "text": "ovpns1", + "value": "ovpns1" + }, + { + "selected": false, + "text": "vtnet0", + "value": "vtnet0" + }, + { + "selected": false, + "text": "vtnet0.420", + "value": "vtnet0.420" + }, + { + "selected": false, + "text": "vtnet0.69", + "value": "vtnet0.69" + }, + { + "selected": true, + "text": "vtnet1", + "value": "vtnet1" } ], - "query": "igb0", + "query": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", + "refresh": 0, + "regex": "", "skipUrlSync": false, - "type": "custom" + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false }, { "allValue": null, - "current": {}, + "current": { + "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, @@ -3599,7 +5033,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/", "hide": 0, @@ -3622,7 +5060,11 @@ }, { "allValue": null, - "current": {}, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"interface\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, @@ -3645,7 +5087,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$/", "hide": 0, @@ -3669,8 +5115,8 @@ ] }, "time": { - "from": "now-24h", - "to": "now" + "from": "2020-03-26T16:39:00.264Z", + "to": "2020-05-29T16:39:00.264Z" }, "timepicker": { "refresh_intervals": [ @@ -3692,5 +5138,5 @@ "variables": { "list": [] }, - "version": 53 -} \ No newline at end of file + "version": 13 +} From 2fd0e8fa4f23f376fa2a8b4832aee90367f42127 Mon Sep 17 00:00:00 2001 From: tiny6996 Date: Tue, 19 May 2020 23:24:36 -0500 Subject: [PATCH 3/5] changed name scheme --- config/additional_config.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/additional_config.conf b/config/additional_config.conf index 6436118..7531d05 100644 --- a/config/additional_config.conf +++ b/config/additional_config.conf @@ -11,16 +11,16 @@ name_suffix = "_dnsbl" data_format = "csv" csv_delimiter = "," - csv_tag_columns = ["domain"] - csv_column_names = ["request-type","time","domain","src-ip","random-field","filter-type","category","lookup-domain","block-list","plus-minus"] + csv_tag_columns = ["destination","source","tld"] + csv_column_names = ["BlockType","timestamp","destination","source","call","BlockMethod","BlockList","tld","DefinedList","hitormiss"] [[inputs.tail]] files = ["/var/log/pfblockerng/ip_block.log"] name_suffix = "_ipblock" data_format = "csv" csv_delimiter = "," - csv_tag_columns = ["country-code","block-list"] - csv_column_names = ["when","id","interface","network","action","code","sub-code","protocol","src-ip","dest-ip","src-port","dest-port","direction","country-code","block-list","subnet","block-list-again","dest-domain","src-domain","uhhh","plus-minus"] + csv_tag_columns = ["GeoIP","FeedName","SrcIP","DstIP"] + csv_column_names = ["timestamp","TrackerID","Interface","InterfaceName","action","IPVersion","ProtocolID","Protocol","SrcIP","DstIP","SrcPort","DstPort","Dir","GeoIP","AliasName","IPEvaluated","FeedName","ResolvedHostname","ClientHostname","ASN","DuplicateEventStatus"] #[[inputs.unbound]] # server = "127.0.0.1:953" From 765bc45c494d55ab62b5ca971fac864b7015c6e7 Mon Sep 17 00:00:00 2001 From: tiny6996 Date: Tue, 19 May 2020 23:31:24 -0500 Subject: [PATCH 4/5] updated fields to match tail names --- pfSense-Grafana-Dashboard.json | 1966 +++++++++++++++++++------------- 1 file changed, 1189 insertions(+), 777 deletions(-) diff --git a/pfSense-Grafana-Dashboard.json b/pfSense-Grafana-Dashboard.json index 7a49887..3a99859 100755 --- a/pfSense-Grafana-Dashboard.json +++ b/pfSense-Grafana-Dashboard.json @@ -16,7 +16,7 @@ "gnetId": null, "graphTooltip": 0, "id": 7, - "iteration": 1589857465930, + "iteration": 1589949008186, "links": [], "panels": [ { @@ -45,6 +45,12 @@ "datasource": "$dataSource", "decimals": null, "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "format": "none", "gauge": { "maxValue": 100, @@ -141,6 +147,34 @@ }, { "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, @@ -149,42 +183,17 @@ }, "id": 8, "options": { - "fieldOptions": { + "orientation": "auto", + "reduceOptions": { "calcs": [ "last" ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 70 - }, - { - "color": "red", - "value": 85 - } - ] - }, - "title": "CPU", - "unit": "percent" - }, - "overrides": [], "values": false }, - "orientation": "auto", "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "6.7.3", + "pluginVersion": "7.0.0", "targets": [ { "alias": "CPU Total", @@ -247,21 +256,814 @@ "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": 6, - "x": 4, + "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, @@ -394,537 +1196,24 @@ "alignLevel": null } }, - { - "datasource": "pfsense", - "gridPos": { - "h": 6, - "w": 2, - "x": 10, - "y": 1 - }, - "id": 10, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "decimals": 2, - "mappings": [], - "max": 2.5, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 1 - }, - { - "color": "red", - "value": 1.5 - } - ] - }, - "title": "Load" - }, - "overrides": [], - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.7.3", - "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": "", - "type": "gauge" - }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 6, - "x": 12, - "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, - "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" - }, - { - "cacheTimeout": null, - "datasource": "$dataSource", - "description": "", - "gridPos": { - "h": 6, - "w": 2, - "x": 0, - "y": 7 - }, - "id": 47, - "links": [], - "options": { - "fieldOptions": { - "calcs": [ - "lastNotNull" - ], - "defaults": { - "mappings": [], - "nullValueMode": "connected", - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#299c46", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 50 - }, - { - "color": "#d44a3a", - "value": 80 - } - ] - }, - "title": "${__series.name}", - "unit": "percent" - }, - "overrides": [], - "values": false - }, - "orientation": "horizontal", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.7.3", - "repeat": null, - "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": "path", - "operator": "=", - "value": "/var/run" - } - ] - } - ], - "title": "Disk Utilization", - "type": "gauge" - }, - { - "datasource": "pfsense", - "gridPos": { - "h": 6, - "w": 2, - "x": 2, - "y": 7 - }, - "id": 12, - "options": { - "fieldOptions": { - "calcs": [ - "last" - ], - "defaults": { - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "#EAB839", - "value": 75 - }, - { - "color": "red", - "value": 85 - } - ] - }, - "title": "Ram", - "unit": "percent" - }, - "overrides": [], - "values": false - }, - "orientation": "auto", - "showThresholdLabels": false, - "showThresholdMarkers": true - }, - "pluginVersion": "6.7.3", - "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" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "pfsense", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 6, - "x": 4, + "x": 8, "y": 7 }, "hiddenSeries": false, @@ -935,7 +1224,7 @@ "current": true, "max": false, "min": false, - "rightSide": false, + "rightSide": true, "show": true, "total": false, "values": true @@ -1046,12 +1335,18 @@ "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, - "w": 8, - "x": 10, + "w": 10, + "x": 14, "y": 7 }, "hiddenSeries": false, @@ -1205,6 +1500,12 @@ "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, @@ -1232,7 +1533,7 @@ }, "targets": [ { - "alias": "[[tag_country-code]]", + "alias": "$tag_GeoIP", "groupBy": [ { "params": [ @@ -1242,7 +1543,7 @@ }, { "params": [ - "country-code" + "GeoIP" ], "type": "tag" } @@ -1258,7 +1559,7 @@ [ { "params": [ - "code" + "action" ], "type": "field" }, @@ -1288,21 +1589,36 @@ }, { "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], "datasource": "pfsense", - "format": "locale", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true + "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, @@ -1313,40 +1629,25 @@ "id": 27, "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" + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ] + }, + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "values": false } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false, - "ymax": null, - "ymin": null }, - "tableColumn": "", + "pluginVersion": "7.0.0", "targets": [ { "groupBy": [], @@ -1361,7 +1662,7 @@ [ { "params": [ - "filter-type" + "hitormiss" ], "type": "field" }, @@ -1380,20 +1681,10 @@ ] } ], - "thresholds": "", "timeFrom": null, "timeShift": null, "title": "pfBlocker - DNS - Total Domains Blocked", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "stat" }, { "aliasColors": {}, @@ -1405,14 +1696,108 @@ }, "datasource": "pfsense", "decimals": null, + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fontSize": "80%", "format": "locale", "gridPos": { "h": 9, - "w": 8, + "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": { @@ -1432,11 +1817,11 @@ "strokeWidth": ".5", "targets": [ { - "alias": "[[tag_domain]]", + "alias": "[[tag_destination]]", "groupBy": [ { "params": [ - "domain" + "destination" ], "type": "tag" } @@ -1452,7 +1837,7 @@ [ { "params": [ - "block-list" + "hitormiss" ], "type": "field" }, @@ -1479,22 +1864,37 @@ }, { "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], "datasource": "pfsense", - "decimals": 0, - "format": "locale", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true + "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, @@ -1505,40 +1905,25 @@ "id": 162, "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" + "options": { + "colorMode": "value", + "fieldOptions": { + "calcs": [ + "lastNotNull" + ] + }, + "graphMode": "area", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "mean" + ], + "values": false } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true, - "ymax": null, - "ymin": null }, - "tableColumn": "", + "pluginVersion": "7.0.0", "targets": [ { "groupBy": [], @@ -1572,20 +1957,10 @@ ] } ], - "thresholds": "", "timeFrom": null, "timeShift": null, "title": "pfBlocker - IP - Total IPs Blocked", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" + "type": "stat" }, { "collapsed": false, @@ -1608,11 +1983,17 @@ "dashes": false, "datasource": "pfsense", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, - "w": 9, + "w": 15, "x": 0, "y": 24 }, @@ -1624,7 +2005,7 @@ "current": true, "max": true, "min": true, - "rightSide": false, + "rightSide": true, "show": true, "sideWidth": null, "total": false, @@ -1725,7 +2106,7 @@ { "format": "µs", "label": "", - "logBase": 1, + "logBase": 2, "max": null, "min": null, "show": true @@ -1749,11 +2130,17 @@ "columns": [], "datasource": "pfsense", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fontSize": "100%", "gridPos": { "h": 8, "w": 9, - "x": 9, + "x": 15, "y": 24 }, "id": 194, @@ -1763,7 +2150,7 @@ "scroll": true, "showHeader": true, "sort": { - "col": 1, + "col": 2, "desc": false }, "styles": [ @@ -1913,7 +2300,7 @@ "timeShift": null, "title": "Interface summary", "transform": "table", - "type": "table" + "type": "table-old" }, { "collapsed": false, @@ -1943,11 +2330,17 @@ "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, - "w": 9, + "w": 12, "x": 0, "y": 33 }, @@ -2156,12 +2549,18 @@ "dashes": false, "datasource": "$dataSource", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 8, - "w": 9, - "x": 9, + "w": 12, + "x": 12, "y": 33 }, "hiddenSeries": false, @@ -2358,7 +2757,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -2398,7 +2797,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -2480,11 +2879,17 @@ "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, + "w": 12, "x": 0, "y": 42 }, @@ -2713,12 +3118,18 @@ "dashes": false, "datasource": "$dataSource", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, - "x": 9, + "w": 12, + "x": 12, "y": 42 }, "hiddenSeries": false, @@ -2952,7 +3363,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -2999,7 +3410,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -3067,16 +3478,22 @@ "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, + "w": 12, "x": 0, "y": 49 }, "hiddenSeries": false, - "id": 208, + "id": 235, "legend": { "alignAsTable": true, "avg": true, @@ -3100,7 +3517,7 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1589857465930, + "repeatIteration": 1589949008186, "repeatPanelId": 38, "scopedVars": { "LAN_Interfaces": { @@ -3302,16 +3719,22 @@ "dashes": false, "datasource": "$dataSource", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, - "x": 9, + "w": 12, + "x": 12, "y": 49 }, "hiddenSeries": false, - "id": 211, + "id": 238, "legend": { "alignAsTable": true, "avg": true, @@ -3338,7 +3761,7 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1589857465930, + "repeatIteration": 1589949008186, "repeatPanelId": 39, "scopedVars": { "LAN_Interfaces": { @@ -3543,7 +3966,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -3590,7 +4013,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -3658,16 +4081,22 @@ "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, + "w": 12, "x": 0, "y": 56 }, "hiddenSeries": false, - "id": 209, + "id": 236, "legend": { "alignAsTable": true, "avg": true, @@ -3691,7 +4120,7 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1589857465930, + "repeatIteration": 1589949008186, "repeatPanelId": 38, "scopedVars": { "LAN_Interfaces": { @@ -3893,16 +4322,22 @@ "dashes": false, "datasource": "$dataSource", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, - "x": 9, + "w": 12, + "x": 12, "y": 56 }, "hiddenSeries": false, - "id": 212, + "id": 239, "legend": { "alignAsTable": true, "avg": true, @@ -3929,7 +4364,7 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1589857465930, + "repeatIteration": 1589949008186, "repeatPanelId": 39, "scopedVars": { "LAN_Interfaces": { @@ -4134,7 +4569,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -4181,7 +4616,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -4249,16 +4684,22 @@ "dashLength": 10, "dashes": false, "datasource": "pfsense", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, + "w": 12, "x": 0, "y": 63 }, "hiddenSeries": false, - "id": 210, + "id": 237, "legend": { "alignAsTable": true, "avg": true, @@ -4282,7 +4723,7 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1589857465930, + "repeatIteration": 1589949008186, "repeatPanelId": 38, "scopedVars": { "LAN_Interfaces": { @@ -4484,16 +4925,22 @@ "dashes": false, "datasource": "$dataSource", "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, "fill": 0, "fillGradient": 0, "gridPos": { "h": 7, - "w": 9, - "x": 9, + "w": 12, + "x": 12, "y": 63 }, "hiddenSeries": false, - "id": 213, + "id": 240, "legend": { "alignAsTable": true, "avg": true, @@ -4520,7 +4967,7 @@ "renderer": "flot", "repeat": null, "repeatDirection": "v", - "repeatIteration": 1589857465930, + "repeatIteration": 1589949008186, "repeatPanelId": 39, "scopedVars": { "LAN_Interfaces": { @@ -4725,7 +5172,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -4772,7 +5219,7 @@ }, { "params": [ - "10s" + "1s" ], "type": "derivative" } @@ -4835,8 +5282,8 @@ } } ], - "refresh": false, - "schemaVersion": 22, + "refresh": "30m", + "schemaVersion": 25, "style": "dark", "tags": [ "pfsense", @@ -4858,6 +5305,7 @@ "name": "dataSource", "options": [], "query": "influxdb", + "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -4866,6 +5314,7 @@ { "allValue": null, "current": { + "selected": false, "text": "rose.local.mathiasp.me", "value": "rose.local.mathiasp.me" }, @@ -4873,7 +5322,6 @@ "definition": "SHOW TAG VALUES FROM \"pf\" WITH KEY = \"host\"", "hide": 0, "includeAll": false, - "index": -1, "label": "pfSense", "multi": false, "name": "Host", @@ -4897,15 +5345,14 @@ "value": "$__all" }, "datasource": "$dataSource", - "definition": "SHOW TAG VALUES FROM \"diskio\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/", + "definition": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": false, "name": "Disk", "options": [], - "query": "SHOW TAG VALUES FROM \"diskio\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/", + "query": "SHOW TAG VALUES FROM \"disk\" WITH KEY = \"device\" WHERE \"host\" =~ /^$Host$/", "refresh": 1, "regex": "", "skipUrlSync": false, @@ -4919,15 +5366,16 @@ { "allValue": null, "current": { - "selected": false, + "selected": true, "text": "All", - "value": "$__all" + "value": [ + "$__all" + ] }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"gateways\" WITH KEY = \"gateway_name\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": true, "name": "Gateway", @@ -4946,51 +5394,20 @@ { "allValue": null, "current": { + "selected": false, "text": "vtnet1", "value": "vtnet1" }, - "datasource": "pfsense", + "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, - "includeAll": true, - "index": -1, + "includeAll": false, "label": null, - "multi": true, + "multi": false, "name": "WAN", - "options": [ - { - "selected": false, - "text": "All", - "value": "$__all" - }, - { - "selected": false, - "text": "ovpns1", - "value": "ovpns1" - }, - { - "selected": false, - "text": "vtnet0", - "value": "vtnet0" - }, - { - "selected": false, - "text": "vtnet0.420", - "value": "vtnet0.420" - }, - { - "selected": false, - "text": "vtnet0.69", - "value": "vtnet0.69" - }, - { - "selected": true, - "text": "vtnet1", - "value": "vtnet1" - } - ], + "options": [], "query": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", - "refresh": 0, + "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, @@ -5003,6 +5420,7 @@ { "allValue": null, "current": { + "selected": true, "text": "ovpns1 + vtnet0 + vtnet0.420 + vtnet0.69", "value": [ "ovpns1", @@ -5015,7 +5433,6 @@ "definition": "SHOW TAG VALUES FROM \"net\" WITH KEY = \"interface\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": true, "name": "LAN_Interfaces", @@ -5042,7 +5459,6 @@ "definition": "SHOW TAG VALUES FROM \"cpu\" WITH KEY = \"cpu\" WHERE \"host\" =~ /^$Host$/ and cpu !~ /cpu-total/", "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": true, "name": "CPU", @@ -5061,15 +5477,16 @@ { "allValue": null, "current": { - "selected": false, + "selected": true, "text": "All", - "value": "$__all" + "value": [ + "$__all" + ] }, "datasource": "$dataSource", "definition": "SHOW TAG VALUES FROM \"interface\" WITH KEY = \"name\" WHERE \"host\" =~ /^$Host$/ ", "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": true, "name": "Interfaces", @@ -5096,7 +5513,6 @@ "definition": "SHOW TAG VALUES FROM \"temperature\" WITH KEY = \"sensor\" WHERE \"host\" =~ /^$Host$/", "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": true, "name": "Sensor", @@ -5115,12 +5531,11 @@ ] }, "time": { - "from": "2020-03-26T16:39:00.264Z", - "to": "2020-05-29T16:39:00.264Z" + "from": "now-15m", + "to": "now" }, "timepicker": { "refresh_intervals": [ - "5s", "10s", "30s", "1m", @@ -5135,8 +5550,5 @@ "timezone": "", "title": "pfSense System Dashboard", "uid": "t_qMZwrWk", - "variables": { - "list": [] - }, - "version": 13 + "version": 20 } From a9b93df78a870e5168d7fe47fe78ae58b74bd7bd Mon Sep 17 00:00:00 2001 From: tiny6996 Date: Tue, 19 May 2020 23:32:26 -0500 Subject: [PATCH 5/5] fixed spelling --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b0e58d1..740f0ed 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ After writing this up, I realize I need to change this variable name, it's just ### Telegraf [Telegraf Config](config/additional_config.conf) -In the [/config](config/additional_config.conf) directory you will find all of the additional telegraf config. In pfSense, under Services -> Teltegraf, at the bottom of the page with the teeny tiny text box is where you paste in the included config. +In the [/config](config/additional_config.conf) directory you will find all of the additional telegraf config. In pfSense, under Services -> Telegraf, at the bottom of the page with the teeny tiny text box is where you paste in the included config. I also included the config for Unbound DNS and it's commented out. I'm not currently using it, but it's fully functional, just uncomment if you want to use it.