Added changelog summary

Reorganized a few things.
This commit is contained in:
VictorRobellini 2021-04-27 11:16:32 -04:00 committed by GitHub
parent f0fb19b7dd
commit 12bfca2546
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,37 +24,23 @@
Grafana 7.4.3
Influxdb 1.8.3
## Changelog
This is just a summary, for more details look at the commits.
- This update includes plugins, telegraf config and the dashboard
- Added more pfBlocker information in separate panel to keep things organized.
- Replaced telegraph_gateways.py with telegraph_gateways.php
- Added gateway interface detail table
- If things render weird, drop the following measurements: tail_ip_block_log, gateways, tail_dnsbl_log
## Heads up!
Due to the update in the Gateway plugin, you may need to drop your gateways measurement.
bash-4.4# influx
Connected to http://localhost:8086 version 1.8.3
InfluxDB shell version: 1.8.3
> auth
username: admin
password:
> use pfsense
Using database pfsense
> drop measurement gateways
Due to the update in the Gateway plugin (move from py to php), you may need to drop your gateways measurement.
In the recent commits I updated the telegraf config to use the [Tails Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/tail) in place of the [Logparser Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/logparser) since it's been deprecated.
I renamed many of the columns to reflect [what's being logged by pfBlockerNG-devel](https://github.com/pfsense/FreeBSD-ports/blob/232722ac52edaeede58b551e7e2efb690ce1023d/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/pkg/pfblockerng/pfblockerng.inc#L4597) and fixed some parsing bugs that cause lines to be skipped due to inconsistent log formatting. As a result, the measurements ip_block_log and dnsbl_log have been replaced with tail_ip_block_log and tail_dnsbl_log respectively.
I dropped the old measurements
bash-4.4# influx
Connected to http://localhost:8086 version 1.8.3
InfluxDB shell version: 1.8.3
> auth
username: admin
password:
> use pfsense
Using database pfsense
> drop measurement ip_block_log
> drop measurement dnsbl_log
I dropped the old measurements: ip_block_log, dnsbl_log
If you cannot live without this data, you could use the panels [from this commit](https://github.com/VictorRobellini/pfSense-Dashboard/blob/0df10172506242105891a81f5076019b5a5867b0/pfSense-Grafana-Dashboard.json) and not update the config. Read my note about the Logparser Input Plugin above!
@ -236,6 +222,19 @@ When in doubt, run a few queries to see if the data you are looking for is being
1585272690000000000 pfSense.home 0.02490234375 0.07373046875 0.064453125 4 1 196920 2 days, 6:42
...
How to drop influx measurement
bash-4.4# influx
Connected to http://localhost:8086 version 1.8.3
InfluxDB shell version: 1.8.3
> auth
username: admin
password:
> use pfsense
Using database pfsense
> drop measurement ip_block_log
## [Original Reddit thread](https://www.reddit.com/r/PFSENSE/comments/fsss8r/additional_grafana_dashboard/ "Originial Reddit thread")
I was going to post this in the thread made by [/u/seb6596](https://www.reddit.com/u/seb6596 "/u/seb6596") since this is based on [their dashboard](https://www.reddit.com/r/PFSENSE/comments/fsf7f7/my_pfsense_monitor_dashboard_in_grafana/ "their dashboard"), but I made quite a few changes and wanted to include information that would get lost in the thread.