I put this guide together using information from various other blogs. This is current as of 2018 and using pfSense 2.4.2. For this tutorial, you’ll need your IP or hostname of your influxdb data source and your username and password.
ssh in to pfsense and select option 8 to get a shell
Select option 8 to get a shell.
Edit the telegraf config file:
Make the following changes:
You’ll have to modify the inputs for your own setup. In this example, I’ll be monitoring an OpenVPN tunnel and 3 interfaces: WAN, LAN and backup WAN.
Finally, start telegraf:
You won’t need to restart anything on the pfSense box. If you have any issues, you can look at the log file (/var/log/telegraf.log). In a future blog post I’ll show how to create a data source in Grafana using the influx source and building a basic graph.
I’m mainly graphing bandwidth, but you can graph any of the following: